点击或拖拽改变大小

OmronFinsNetHelperWrite 方法 (IReadWriteDevice, String, Byte)

向PLC写入数据,数据格式为原始的字节类型,地址格式为"D100","C100","W100","H100","A100"
Write data to PLC, the data format is the original byte type, and the address format is "D100", "C100", "W100", "H100", "A100"

命名空间:  HslCommunication.Profinet.Omron
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public static OperateResult Write(
	IReadWriteDevice omron,
	string address,
	byte[] value
)

参数

omron
类型:HslCommunication.CoreIReadWriteDevice
PLC设备的连接对象
address
类型:SystemString
初始地址
value
类型:SystemByte
原始的字节数据

返回值

类型:OperateResult
结果
参见