点击或拖拽改变大小

ModbusTcpServerStationCheck 属性

获取或设置是否对站号进行检测,当服务器只有一个站号的时候,设置为True表示客户端请求站号和服务器不一致的时候,拒绝返回数据给客户端,反之,始终会返回数据给客户端。
When the server has only one station number, setting True means that when the client requests that the station number is inconsistent with the server, it refuses to return data to the client, and vice versa, it will always return data to the client.

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

属性值

类型:Boolean
参见