Process interfacing via an automation system (PLC, PC)
10.3 Control with FB 45 and Ident profile
SIMATIC MV420 / SIMATIC MV440
256
Operating Instructions, 04/2013, A5E02371045-06
Command: Writing a trigger-synchronized match string (XMATCH)
NOTICE
Availability of XMATCH
The XMATCH function is not available for SIMATIC MV420 SR-B.
Requirements for matching with OCR
Sending a match string with OCR
A match string can only be sent:
●
If the source "Filter with match text" is configured as the string specification for the
corresponding step (OCR type) under "Filter".
●
If the source "Character type at pos." is configured as the string specification for the
corresponding step (OCR type) under "Filter".
The match string is therefore either a defined string or a corresponding "Character type at
pos." syntax.
Identical formatting of the sent match string
The match string that is sent must be identical to the input made in adjustment support.
Permitted non-printable special characters must be sent as one character. A line break (\n)
for example as '\n' (ASCII value 0x0D) and not as '\''n' (ASCII values 0x2F and 0x6E).
Requirement for matching with 1D/2D codes
For 1D/2D codes all match options ("All", "Position", "ID", "GS1") are supported. The match
string that is sent must be formatted so that the information required for the comparison can
be extracted.
Writing command data
The command data to be "written" in the WRITE command contains an XMATCH header
and the XMATCH user data.
●
The command is acknowledged positively if the structure of the header and user data is
correct.
●
The WRITE command must specify the total length of the XMATCH user data + 4,
otherwise a negative response will be sent.
Summary of Contents for SIMATIC MV420
Page 2: ......
Page 418: ...Glossary SIMATIC MV420 SIMATIC MV440 416 Operating Instructions 04 2013 A5E02371045 06 ...
Page 423: ......