Click or drag to resize

ModbusTCPProtocolPrettyPrintModbusADU(String) Method

Take a Modbus Command written in ASCII as a hex representation and prettifies it. e.g. 006600000006ff0100000010 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 14 char between the UnitID and the Function code

Namespace: Brainboxes.IO
Assembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public string PrettyPrintModbusADU(
	string adu
)

Parameters

adu  String
Application Data Unit as defined by ModbusTCP spec, encoded in ASCII as hex

Return Value

String

[Missing <returns> documentation for "M:Brainboxes.IO.ModbusTCPProtocol.PrettyPrintModbusADU(System.String)"]

See Also