I have a scanner that reads barcode GS1-128. The reading is presented in a SIMATIC S7 PLC as one long string in a DB (DB15 in example). I need to break down or decode into individual segments represented by different Application Identifiers (AI). Is there some readymade function block for this? I picture something like this, with example AI 37, number of units extracted from the input string.
It is not possible to use fixed offset values, as the information in the barcodes varies with different products.
It is not possible to use fixed offset values, as the information in the barcodes varies with different products.
Last edited: