ModbusTcpServerReadDiscrete 方法 (String) |
读取地址的离散线圈的通断情况
命名空间:
HslCommunication.ModBus
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public bool ReadDiscrete(
string address
)
Public Function ReadDiscrete (
address As String
) As Boolean
public:
bool ReadDiscrete(
String^ address
)
member ReadDiscrete :
address : string -> bool
参数
- address
- 类型:SystemString
起始地址,示例:"100"
返回值
类型:
BooleanTrue或是
False异常 异常 | 条件 |
---|
IndexOutOfRangeException | |
参见