点击或拖拽改变大小

FujiSPBHelperWrite 方法

重载列表
  名称说明
公共方法静态成员Write(IReadWriteDevice, Byte, String, Boolean)
写入一个Bool值到一个地址里,地址可以是线圈地址,也可以是寄存器地址,例如:M100, D10.12,地址可以携带站号信息,例如:s=2;D10.12
Write a Bool value to an address. The address can be a coil address or a register address, for example: M100, D10.12. The address can carry station number information, for example: s=2;D10.12
公共方法静态成员Write(IReadWriteDevice, Byte, String, Byte)
批量写入PLC的数据,以字为单位,也就是说最少2个字节信息,支持读取X,Y,L,M,D,TN,CN,TC,CC,R具体的地址范围需要根据PLC型号来确认,地址可以携带站号信息,例如:s=2;D100
The data written to the PLC in batches, in units of words, that is, a minimum of 2 bytes of information. It supports reading X, Y, L, M, D, TN, CN, TC, CC, and R. The specific address range needs to be based on PLC model to confirm, The address can carry station number information, for example: s=2;D100
Top
参见