点击或拖拽改变大小

ModbusTcpServerReadCoil 方法 (String)

读取地址的线圈的通断情况

命名空间:  HslCommunication.ModBus
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public bool ReadCoil(
	string address
)

参数

address
类型:SystemString
起始地址,示例:"100"

返回值

类型:Boolean
True或是False
异常
异常条件
IndexOutOfRangeException
参见