
Process interfacing via an automation system (PLC, PC)
10.3 Control with FB 45 and Ident profile
SIMATIC MV420 / SIMATIC MV440
Operating Instructions, 04/2013, A5E02371045-06
251
Match string
Note
Sent match string takes effect immediately
A sent match string takes effect immediately. The sent match string is not synchronized with
the trigger signal or the processing of buffered image acquisition.
•
Therefore, ensure that the match string is sent when no image acquisition is running.
Requirements for matching with OCR
Sending a match string with OCR
Sending a match string is only possible if, in "2. Filter", the source "Filter with match text" or
"Character type at pos." is configured as the string specification.
The match string is then either a defined string or a syntax corresponding to "Character type
at pos.".
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.
Command: Write match string
●
This MV command allows the match string of the program currently loaded (non-
persistent) to be overwritten. Executing this command is possible only when the reader is
in processing mode. If the reader exits processing mode, for example by changing to
STOP mode or to the group error status, the overwritten match string is discarded. This
also applies to a program change.
●
The structure of the command data area is outlined in the following table.
●
The total length of the data to be written is the overall length of the match 3 bytes
for the length and the command identifier ("MOBY_CMD".length or
"PIB_COMMAND".Length = n + 3 ).
●
If it is possible to apply the new match string for the current program, the command will
be acknowledged positively.
If the match string cannot be overwritten, an extra entry is made in the diagnostic 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: ......