ModbusRtuReadDiscreteAsync 方法 |
名称 | 说明 | |
---|---|---|
ReadDiscreteAsync(String) |
读取输入线圈,需要指定起始地址,如果富文本地址不指定,默认使用的功能码是 0x02 To read the input coil, you need to specify the start address. If the rich text address is not specified, the default function code is 0x02. | |
ReadDiscreteAsync(String, UInt16) |
批量的读取输入点,需要指定起始地址,读取长度,如果富文本地址不指定,默认使用的功能码是 0x02 To read input points in batches, you need to specify the start address and read length. If the rich text address is not specified, the default function code is 0x02 |