ModbusTCPProtocolUnitId Property |
The ModbusTCP Unit identifier,
From Modbus.org: Unit Identifier –
This field is used for intra-system routing purpose. It is typically
used to communicate to a MODBUS+ or a MODBUS serial line slave through a
gateway between an Ethernet TCP-IP network and a MODBUS serial line.This field is
set by the MODBUS Client in the request and must be returned with the same value in
the response by the server.
For our purposes: always 0xff
Namespace:
Brainboxes.IO
Assembly:
Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
Syntaxpublic int UnitId { get; }
Public ReadOnly Property UnitId As Integer
Get
member UnitId : int with get
Property Value
Type:
Int32
See Also