点击或拖拽改变大小

YokogawaLinkTcpWrite 方法 (String, Byte)

写入原始的byte数组数据到指定的地址,返回是否写入成功
Write the original byte array data to the specified address, and return whether the write was successful

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

参数

address
类型:SystemString
起始地址
value
类型:SystemByte
写入值

返回值

类型:OperateResult
是否写入成功

实现

IReadWriteNetWrite(String, Byte)
备注
写入的线圈地址支持Y,I,E,M,T,C,L,寄存器地址支持D,B,F,R,V,Z,W,TN,CN,举例:D100;也可以携带CPU进行访问,举例:cpu=2;D100
如果想要写入特殊模块的数据,需要使用 Special: 开头标记,举例:Special:unit=0;slot=1;100
The read coil address supports Y, I, E, M, T, C, L, and the register address supports D, B, F, R, V, Z, W, TN, CN, for example: D100; it can also be carried CPU access, for example: cpu=2;D100. If you want to read the data of a special module, you need to use the Special: beginning tag, for example: Special:unit=0;slot=1;100
参见