ModbusRtuOverTcpReadCoil 方法 |
名称 | 说明 | |
---|---|---|
ReadCoil(String) |
读取线圈,需要指定起始地址,如果富文本地址不指定,默认使用的功能码是 0x01 To read the coil, you need to specify the start address. If the rich text address is not specified, the default function code is 0x01. | |
ReadCoil(String, UInt16) |
批量的读取线圈,需要指定起始地址,读取长度,如果富文本地址不指定,默认使用的功能码是 0x01 For batch reading coils, you need to specify the start address and read length. If the rich text address is not specified, the default function code is 0x01. |