OmronFinsNetHelperWrite 方法 (IOmronFins, 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 中) 版本:12.2.0.0 (12.2.0.0)
语法 public static OperateResult Write(
IOmronFins omron,
string address,
byte[] value
)
Public Shared Function Write (
omron As IOmronFins,
address As String,
value As Byte()
) As OperateResult
public:
static OperateResult^ Write(
IOmronFins^ omron,
String^ address,
array<unsigned char>^ value
)
static member Write :
omron : IOmronFins *
address : string *
value : byte[] -> OperateResult
参数
- omron
- 类型:HslCommunication.Profinet.Omron.HelperIOmronFins
PLC设备的连接对象 - address
- 类型:SystemString
初始地址 - value
- 类型:SystemByte
原始的字节数据
返回值
类型:
OperateResult结果
参见