点击或拖拽改变大小

ModbusTcpServerStationDataIsolation 属性

获取或设置是否启动站点数据隔离功能,默认为 False,也即虚拟服务器模拟一个站点服务器,客户端使用正确的站号才能通信。 当设置为 True 时,虚拟服务器模式256个站点,无论客户端使用的什么站点,都能读取或是写入对应站点里去。服务器同时也可以访问任意站点自身的数据。
Get or set whether to enable the site data isolation function, the default is False, that is, the virtual server simulates a site server, and the client can communicate with the correct site number. When set to True, 256 sites in virtual server mode, no matter what site the client uses, can read or write to the corresponding site.The server can also access any site's own data.

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

属性值

类型:Boolean
备注
当启动站号隔离之后,服务器访问自身的站号2的数据,地址写为 s=2;100
参见