ModbusTCPProtocolPrettyPrintModbusADU(Byte) Method |
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.IOAssembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public string PrettyPrintModbusADU(
byte[] adu
)
Public Function PrettyPrintModbusADU (
adu As Byte()
) As String
member PrettyPrintModbusADU :
adu : byte[] -> string
Parameters
- adu Byte
- Application Data Unit as defined by ModbusTCP spec
Return Value
String[Missing <returns> documentation for "M:Brainboxes.IO.ModbusTCPProtocol.PrettyPrintModbusADU(System.Byte[])"]
See Also