Siemens SIMATIC MV500 Operating Manual page 79

Optical identification
Hide thumbs Also See for SIMATIC MV500:
Table of Contents

Advertisement

Formatting instruction
% [{03|04|B}] p{0|1|2}
%[{04|05}]c
%u
%U[<1..12>]
%L
%l[<1..12>]
SIMATIC MV500
Operating Manual, 05/2019, C79000-G8976-C495-02
Meaning
Integer position of the center point of the code relative to the center point of the image:
0: x coordinate
1: y coordinate
2: Roll angle in °, whereby a turn in the counterclockwise direction counts as positive.
03: Three-digit display
Position value or roll angle are usually represented in three digits (e.g. 017, 230, -90). If
the result requires 4 digits, for example negative values such as at -312, this is increased
to four.
04: Four-digit display
Position value or roll angle are always represented in four digits (e.g. 0087, -543). With-
out this formatting instruction, the output variable (7, 98, -15, 135, -240) is shown.
B: Floating-point number in binary representation (big endian S7 format).
Note:
The coordinates are standardized to the image sizes 800 x 600, 1280 x 1024, 1920 x 1200
or 2592 x 2048.
The time used for the step in ms.
04: Four-digit display
05: Five-digit display
If you have selected the four-digit display or have not specified a number of digits, and the
time used is greater than 9999 ms, 9999 is displayed.
If you have selected the five-digit display and the time used is greater than 99999 ms, 99999
is displayed.
Note: The time required for the processing of the entire program is longer than the total of
the processing time of the individual steps. This is due, for example, to the image acquisition
time.
Least significant byte of the sum of all characters of the result string.
Note:
This binary value can have a value that does not correspond to any printable character, for
example, 0H.
Least significant byte of the sum of all characters of the result of the specified step divided
by the number of characters of the step. If no step is specified, the least significant byte of
the sum of all characters of all steps divided by the number of characters of all steps.
Length of result string for all steps added up.
This binary value has a length of 2 bytes (little endian).
Number of characters in the result string of the specified step.
If no step index is specified, the length of the overall result is used.
This binary value has a length of 2 bytes (little endian).
Application
5.1 Program
79

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents