Siemens SIMATIC MV500 Operating Manual page 52

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

Advertisement

Application
5.1 Program
Formatting instruction
% [{03|04|B}] p{0|1|2}
%[{04|05}]c
%u
%U
%l
%V
%R
%v
%E
52
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.
Sum of all characters of the result string divided by the number of characters of the result
string.
Number of characters in the result string.
This binary value has a length of 2 bytes (little endian).
Standard verification report with all valid grades and evaluations that is automatically
adapted to the calibration referenced in the program. All field values (grades and evalua-
tions) are separated by a semicolon. You will find an overview of the fields included in each
verification standard in the table below and in the operating instructions in the section "Veri-
fication result".
Verification report defined in the relevant standard for ISO/IEC 29158, ISO/IEC 15415 or
ISO/IEC 15416. For all other verification standards, the formatting instruction is skipped.
Output of the verification settings. You will find an overview of the contained fields in the
operating instructions in the section "Verification settings".
Textual description of the verification error. If no verification error has occurred, the format-
ting instruction is skipped.
Operating Manual, 05/2019, C79000-G8976-C495-02
SIMATIC MV500

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents