点击或拖拽改变大小

FujiSPBOverTcpReadBoolAsync 方法

重载列表
  名称说明
公共方法ReadBoolAsync(String)
异步读取单个的Boolean数据信息
Asynchronously read a single Boolean data message
(继承自 DeviceCommunication。)
公共方法ReadBoolAsync(String, UInt16)
批量读取PLC的Bool数据,以位为单位,支持读取X,Y,L,M,D,TN,CN,TC,CC,R,W,例如 M100, 如果是寄存器地址,可以使用D10.12来访问第10个字的12位,地址可以携带站号信息,例如:s=2;M100
Read PLC's Bool data in batches, in units of bits, support reading X, Y, L, M, D, TN, CN, TC, CC, R, W, such as M100, if it is a register address, you can use D10. 12 to access the 12 bits of the 10th word, the address can carry station number information, for example: s=2;M100
(重写 DeviceCommunicationReadBoolAsync(String, UInt16).)
Top
参见