点击或拖拽改变大小

MelsecA3CNetOverTcpWrite 方法 (String, Byte)

批量写入PLC的数据,以字为单位,也就是说最少2个字节信息,支持X,Y,M,S,D,T,C,具体的地址范围需要根据PLC型号来确认
The data written to the PLC in batches is in units of words, that is, at least 2 bytes of information. It supports X, Y, M, S, D, T, and C. The specific address range needs to be confirmed according to the PLC model.

命名空间:  HslCommunication.Profinet.Melsec
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public override OperateResult Write(
	string address,
	byte[] value
)

参数

address
类型:SystemString
地址信息
value
类型:SystemByte
数据值

返回值

类型:OperateResult
是否写入成功

实现

IReadWriteNetWrite(String, Byte)
IReadWriteNetWrite(String, Byte)
参见