FujiSPBServerReadBool 方法 |
名称 | 说明 | |
---|---|---|
ReadBool(String) |
读取单个的Boolean数据信息 (继承自 DeviceCommunication。)Read a single Boolean data message | |
ReadBool(String, UInt16) |
批量读取PLC的Bool数据,以位为单位,支持读取X,Y,L,M,D,TN,CN,TC,CC,R,W,例如 M100, 如果是寄存器地址,可以使用D10.12来访问第10个字的12位,地址可以携带站号信息,例如:s=2;M100 (重写 DeviceCommunicationReadBool(String, UInt16).)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 |