点击或拖拽改变大小

ModbusTcpNetStation 属性

获取或者重新修改服务器的默认站号信息,当然,你可以再读写的时候动态指定,参见备注
Get or modify the default station number information of the server. Of course, you can specify it dynamically when reading and writing, see note

命名空间:  HslCommunication.ModBus
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public byte Station { get; set; }

属性值

类型:Byte

实现

IModbusStation
备注
当你调用 ReadCoil("100") 时,对应的站号就是本属性的值,当你调用 ReadCoil("s=2;100") 时,就忽略本属性的值,读写寄存器的时候同理
参见