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.
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.