S7-200 Checksum calculation.

Fiona

Member
Join Date
Apr 2004
Posts
14
Hi Guys.

I've got to print a barcode from a s7200 plc the last character of the barcode is to be a checksum. (mod 43)

Does anyone have a routine for calculating the checksum?
I'm guessing it will involve some sort of lookup table.

I'm ok with adding the values of the individual characters and subtracting 43 until I have a remainder that I can use to reference an entry in the LUT.

Thanks.
 

Similar Topics

Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
2
Views
42
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
0
Views
26
Hi. I have a 222 CPU. I need to recover the program from the eeprom memory. Is it possible?
Replies
1
Views
99
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
260
HI i would like to know how to get a variable that will store the amount of times a program has been executed. The issue is I have 3 DBs for 1 FB...
Replies
2
Views
83
Back
Top Bottom