获取modbus协议自增的消息号,你可以自定义modbus的消息号的规则,详细参见
ModbusTcpNet说明,也可以查找
SoftIncrementCount说明。
Get the message number incremented by the modbus protocol. You can customize the rules of the message number of the modbus. For details, please refer to the description of
ModbusTcpNet, or you can find the description of
SoftIncrementCount
命名空间:
HslCommunication.ModBus
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public SoftIncrementCount MessageId { get; }
Public ReadOnly Property MessageId As SoftIncrementCount
Get
public:
property SoftIncrementCount^ MessageId {
SoftIncrementCount^ get ();
}
member MessageId : SoftIncrementCount with get
属性值
类型:
SoftIncrementCount参见