Process interfacing via an automation system (PLC, PC)
9.4 Control with FB 79
SIMATIC MV500
Operating Instructions, 06/2018, C79000-G8976-C494-01
149
Sequence when resetting the DISA bit ("COMMAND" = W#16#0005)
The block resets the "DISA" bit in the control byte of the optical reader. The "DONE"
parameter then has the value "TRUE" and "ACTIVE" the value "FALSE".
Note
No edge change detected
Because the job completes in one CPU cycle, no edge change can be detected at the
"ACTIVE" parameter. If the "DONE" parameter already has the value "TRUE" from a
previous job, it is also not possible
to detect an edge change.
Sequence of the read jobs ("COMMAND = W#16#0081 ... W#16#008F")
Table 9- 48 Possible values of the "COMMAND" parameter for the read jobs
Output absolute quality characteristics
Output absolute quality characteristics and output result string
Output quality characteristics as classes
Output quality characteristics as classes and output result string
Output quality characteristics as classes and in absolute format
0087 Output quality characteristics as classes and in absolute format and output result
Output code position and result string
Output code position and absolute quality characteristics
Output code position and absolute quality characteristics and output result string
008C Output code position and quality characteristics as classes
Output code position and quality characteristics as classes and output result string
Output code position and quality characteristics as classes and in absolute format
008F Output code position and quality characteristics as classes and in absolute format
The read jobs can only be sent when the optical reader is not in RUN mode (see also the
operating state table following the parameter table).
In contrast to all other jobs, the read jobs are "permanent jobs". This means that the
"ACTIVE" parameter retains the value "TRUE" even after fetching the current read result
and/or the current position and/or the quality characteristics from the optical reader.