Process interfacing via an automation system (PLC, PC)
10.4 Control with FB79
SIMATIC MV420 / SIMATIC MV440
Operating Instructions, 04/2013, A5E02371045-06
283
Parameter Declaration Data type Address
(instance DB)
Default Description
STATE OUTPUT WORD 28.0 W#16#0000 Operating status of the reader:
• W#16#0000: Status not up to date
• W#16#0001: RUN (processing mode with
output of the result string), in other words,
the IN_OP and RDY bits in the status byte
are set.
• W#16#0002: STOP (including Save
program and Adjustment mode), i.e. the
IN_OP bit in the status byte is set; the
RDY bit, however, is not.
• W#16#0003: ERROR, in other words, the
IN_OP bit in the status byte is not set.
CODE_OUT OUTPUT BYTE 30.0 B#16#00 Number of the program currently selected on
the reader
LENGTH OUTPUT WORD 32.0 W#16#0000 Length of the result string in bytes