Formatting instruction
%i
%x[<1..12>]
[:<1 ... 150>]
%d
%n{0|1|2|3}
%[B]z
SIMATIC MV500
Operating Manual, 05/2019, C79000-G8976-C495-02
Meaning
UPC-A
UPC-E
Postnet
PHARMACODE
PHARMACODE 180°
GS1 DataBar Omnidi-
rectional
GS1 DataBar Limited
GS1 DataBar Expand-
ed
GS1 DataBar Stacked
Code 32
Current trigger ID. This binary value has a length of 2 bytes (little endian).
Match string of the specified code of the specified step.
If the first index is omitted (%x[:<1..150>]), the match strings (that are available and
•
match the second index) of all steps are output.
If the second index is omitted (%x[<1..12>]), all match strings belonging to the corre-
•
sponding step are output. The second index is only useful for code read steps that oper-
ate in multicode mode.
Examples
%x: All match strings from all steps
•
%x3: All match strings from the 3rd step
•
%x2:2 The match string of the 2nd code in the 2nd step
•
%x:3 The match string of the 3rd code from each step.
•
Note
If (one of) the referenced match strings is/are not configured (for example, no match config-
ured in the corresponding step), no format error is triggered.
Device ID
Statistical values
n0: Number of processing procedures completed
•
n1: Number of OK processing procedures
•
n2: Number of N_OK processing procedures
•
n3: Number of successfully matched processing procedures
•
Each of these binary values has a length of 4 bytes (little endian).
Number of codes found. Output as text or when using "%Bz" as a binary value with a length
of 1 byte.
Note
This formatting instruction always has the value 1 in the format text.
29
30
32
33
39
34
35
36
37
38
Application
5.1 Program
81