点击或拖拽改变大小

ModbusTcpServerUseModbusRtuOverTcp 属性

获取或设置当前的TCP服务器是否使用modbus-rtu报文进行通信,如果设置为 True,那么客户端需要使用 ModbusRtuOverTcp
Get or set whether the current TCP server uses modbus-rtu messages for communication. If it is set to True, then the client needs to use ModbusRtuOverTcp

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

属性值

类型:Boolean
备注
需要注意的是,本属性设置为False时,客户端使用ModbusTcpNet,否则,使用ModbusRtuOverTcp,不能混合使用
参见