Process interfacing via an automation system (PLC, PC)
9.3 Control with Ident profile
SIMATIC MV500
Operating Instructions, 03/2021, C79000-G8976-C494-05
157
9.3.2.1
Status display of the optical reader
Note
Startup of the optical reader with Ident profile
You need to perform the following steps after the power "ON" when starting up the optical
reader while using the Ident profile (with or without a communication module):
1.
Set a startup flag in OB100 of the controller.
2.
Repeat the initialization ("init_run" or "INIT" command) until the initialization receives a
positive acknowledgment.
3.
To generate an error in the automation system, also monitor the maximum wait time for
positive acknowledgment of the initialization and expected status bit values (only necessary
if there is initialization without program selection).
The status bits "IN_OP" (in operation) and "RDY" (ready) of the optical reader indicate whether
the device has a group error, is in processing mode or is in STOP mode:
Table 9- 7
States of the optical reader
RDY (ready)
IN_OP (in operation)
Description
X
0
Group error
1
1
Processing mode
0
1
Stop or adjustment mode
Depending on the state of the optical reader, different MV commands are permissible (see
section "Preconditions for the commands (Page 169)") or an acknowledgment of an error (see
section "Group error (Page 170)") is required before the next MV command can be issued.
When there is a group error, this error must be acknowledged before further operation is
possible. The acknowledgment mechanism is explained in the section ""PHYSICAL WRITE"
commands / MV command interface (Page 158)".
The status display is only valid after successful initialization. The "INIT" bit must be set for this.
Table 9- 8
Output parameters of the Ident profile
Bit
Description
UIN0
Corresponds to "IN_OP" bit of the optical reader
UIN1
Corresponds to "RDY" bit of the optical reader
UIN2
These two bits are interpreted as an 'unsigned' value (bit 2 is the less significant
bit) that represents the number of available decoded codes. If the value = 3,
three or more decoded codes are available.
UIN3
Summary of Contents for SIMATIC MV500
Page 10: ...Preface SIMATIC MV500 10 Operating Instructions 03 2021 C79000 G8976 C494 05 ...
Page 16: ......
Page 28: ......
Page 32: ......
Page 92: ......
Page 114: ......
Page 148: ......
Page 244: ......
Page 254: ......
Page 260: ......
Page 292: ......
Page 294: ...Service Support SIMATIC MV500 294 Operating Instructions 03 2021 C79000 G8976 C494 05 ...