I am trying to decode a communication snippet between a piece of industrial equipment and it's software. I've been listening in using Sysinternal's "Portmon" and have the following communications:
In Hex:
5A 0F 05 03 71 23 3A 1F 02 01 00 00 00 00 01 F8 8B
5A 0F 05 03 02 01 00 04 00 01 01 1E 1E 05 01 01 04
5A 0F 05 03 02 01 00 04 01 02 08 01 A4 00 00 00 AF
5A 0F 05 03 02 01 00 04 02 00 00 00 C8 02 58 01 90
5A 0F 05 03 02 01 00 04 03 F4 00 00 C8 02 58 01 65
5A 0F 05 03 02 01 00 09 02 42 01 02 02 02 02 02 4F
5A 0F 05 03 02 01 00 04 01 02 08 01 24 00 00 00 2F
5A 0F 05 03 02 01 00 09 02 42 02 0A 0A 0A 0A 0A 44
5A 0F 05 03 71 23 2B 1F 02 63 00 00 00 00 01 F8 F8
I am fairly confident that the last hex byte is the checksum. If one of the data elements is incremented or decremented, this byte does so also. I am trying to figure out what kind of checksum this is, however. I can't seem to get any combination or partial combination of bytes to figure. I've tried 1's and 2's compliment, but no success.
Above are all write snippets. Here are some read snippets:
5A 0C 05 10 20 00 01 08 01 E4 01 F4 82 AE
5A 0C 05 10 20 00 01 08 01 E1 01 0E 82 51
5A 0C 05 10 20 00 01 08 01 C4 00 C8 82 B3
The idle state read ping is:
5A 04 06 10 00 16
Any help would be appreciated.
In Hex:
5A 0F 05 03 71 23 3A 1F 02 01 00 00 00 00 01 F8 8B
5A 0F 05 03 02 01 00 04 00 01 01 1E 1E 05 01 01 04
5A 0F 05 03 02 01 00 04 01 02 08 01 A4 00 00 00 AF
5A 0F 05 03 02 01 00 04 02 00 00 00 C8 02 58 01 90
5A 0F 05 03 02 01 00 04 03 F4 00 00 C8 02 58 01 65
5A 0F 05 03 02 01 00 09 02 42 01 02 02 02 02 02 4F
5A 0F 05 03 02 01 00 04 01 02 08 01 24 00 00 00 2F
5A 0F 05 03 02 01 00 09 02 42 02 0A 0A 0A 0A 0A 44
5A 0F 05 03 71 23 2B 1F 02 63 00 00 00 00 01 F8 F8
I am fairly confident that the last hex byte is the checksum. If one of the data elements is incremented or decremented, this byte does so also. I am trying to figure out what kind of checksum this is, however. I can't seem to get any combination or partial combination of bytes to figure. I've tried 1's and 2's compliment, but no success.
Above are all write snippets. Here are some read snippets:
5A 0C 05 10 20 00 01 08 01 E4 01 F4 82 AE
5A 0C 05 10 20 00 01 08 01 E1 01 0E 82 51
5A 0C 05 10 20 00 01 08 01 C4 00 C8 82 B3
The idle state read ping is:
5A 04 06 10 00 16
Any help would be appreciated.
Comment