Jonny007-MKD
13c03dd807
Changed timer to support EilDll ModbusStructs.cin Removed header from all structs ModbusProtocol.cpp Fixed data length issue (l. 353) More precise info in InspectProtocol() New getter: GetAddrNCount()
24 lines
965 B
Text
24 lines
965 B
Text
Registered Modbus for UDP
|
|
Initializing Defining fields MyProtocolId = 4896.
|
|
InitProtocol.
|
|
CompleteProtocol: Modbus->bitLength = 32, --> Length = 6.
|
|
ParsePacket topProtocolToken->tokenId = 352 byteOffset = 42, byteLength = 12
|
|
Data = 00 01 00 00 00 06 ff 01 00 00 00 02
|
|
--> byteOffset = 50, byteLength = 4
|
|
--> ContentId = 1020001.
|
|
|
|
ParsePacket topProtocolToken->tokenId = 352 byteOffset = 42, byteLength = 10
|
|
Data = 00 01 00 00 00 04 ff 01 01 00
|
|
--> byteOffset = 50, byteLength = 2
|
|
--> ContentId = 1020001.
|
|
|
|
ParsePacket topProtocolToken->tokenId = 352 byteOffset = 42, byteLength = 12
|
|
Data = 00 01 00 00 00 06 ff 01 00 00 00 02
|
|
--> byteOffset = 50, byteLength = 4
|
|
--> ContentId = 1020001.
|
|
|
|
ParsePacket topProtocolToken->tokenId = 352 byteOffset = 42, byteLength = 10
|
|
Data = 00 01 00 00 00 04 ff 01 01 00
|
|
--> byteOffset = 50, byteLength = 2
|
|
--> ContentId = 1020001.
|
|
|