
Process interfacing via an automation system (PLC, PC)
10.6 Control via TCP/IP and RS-232
SIMATIC MV420 / SIMATIC MV440
310
Operating Instructions, 04/2013, A5E02371045-06
10.6.11
Writing a trigger-synchronized match string (XMATCH)
Note
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.
Note
GS1 start symbol "]d2" is optional
For match strings used for the match option "GS1", the GS1 start symbol "]d2" is optional.
Character string
To send an XMATCH command, the string "XMATCH" must be sent as the header followed
by the XMATCH user data.
Summary of Contents for SIMATIC MV420
Page 2: ......
Page 418: ...Glossary SIMATIC MV420 SIMATIC MV440 416 Operating Instructions 04 2013 A5E02371045 06 ...
Page 423: ......