ModbusTCPProtocolPrettyPrintModbusADU Method (Byte) |
Take a Modbus Command written in a hex byte array representation and
prettifies it. e.g.
0x006600000006ff0100000010
0066 0000 0006 ff 01 0000 0010
TranID|ProtID|Len|UnitID|Func|DATA
there is a space every 4 characters, and also a space at the 15 char
between the UnitID and the Function code
Namespace:
Brainboxes.IO
Assembly:
Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
Syntaxpublic string PrettyPrintModbusADU(
byte[] adu
)
Public Function PrettyPrintModbusADU (
adu As Byte()
) As String
member PrettyPrintModbusADU :
adu : byte[] -> string
Parameters
- adu
- Type: SystemByte
Application Data Unit as defined by ModbusTCP spec
Return Value
Type:
String[Missing <returns> documentation for "M:Brainboxes.IO.ModbusTCPProtocol.PrettyPrintModbusADU(System.Byte[])"]
See Also