electech84
Member
I'm working on a project that involves updating messages on a Linx printer via ControlLogix. I'm sending and receiving data via sockets and can successfully update the printer messages. The issue is that the read Socket MSG is parsing the first 4 bytes off my message and hiding them somewhere.
A normal response from the printer should look like this: $1B$06$00$00$1E$1B$03$D9. (See below for code breakdown.) What I have is $1E$1B$03$D9. Any help would be appreciated.
Code breakdown:
1B 06: ESC, ACK
00: No printer errors
00: No command errors
1E: Command ID (Load MSG)
1B 03: ESC, ETX
D9: Checksum
My ACD file
https://drive.google.com/file/d/1hnZ8BYlbphYF6bzjXDdtNsZPKTrKg9Pp/view?usp=sharing
A normal response from the printer should look like this: $1B$06$00$00$1E$1B$03$D9. (See below for code breakdown.) What I have is $1E$1B$03$D9. Any help would be appreciated.
Code breakdown:
1B 06: ESC, ACK
00: No printer errors
00: No command errors
1E: Command ID (Load MSG)
1B 03: ESC, ETX
D9: Checksum
My ACD file
https://drive.google.com/file/d/1hnZ8BYlbphYF6bzjXDdtNsZPKTrKg9Pp/view?usp=sharing