Process interfacing via an automation system (PLC, PC)
9.5 Controlling the I/O interface "DI/DQ"
9.5
Controlling the I/O interface "DI/DQ"
Control signals
Note
Range of functions depends on the settings in WBM
Note that the control of the reader via the digital inputs/outputs depends on the settings in
the menu "Settings > Communication > Digital I/O" of the WBM.
Table 9- 51
Name
TRG
The optical reader has two freely assignable digital outputs. The following table provides an
overview of the possible output signals.
Table 9- 52
Name
IN_OP
TRD
RDY
READ
MATCH
N_OK
152
Assignment of control bytes (input signals)
Description
Trigger
Processing starts on a positive edge.
Assignment of status byte (output signals)
Description
In operation
0: Error message is displayed.
•
1: Optical reader functioning, no error
•
Trained
In run:
•
–
0: Selected program is not saved.
–
1: Selected program has been saved.
With Save program (TRN = 1):
•
–
0: Save program active.
–
1: Acknowledgment signal (RDY = 0)
Ready:
0: Startup of the optical reader or optical reader in STOP
•
1: Optical reader in run
•
Processing result
Code was localized and decoded.
Processing result
Code matches the trained code.
Code was not legible.
Operating Instructions, 05/2019, C79000-G8976-C494-02
SIMATIC MV500