Siemens SIMATIC MV550 S Operating Instructions Manual page 143

Table of Contents

Advertisement

Parameter
Declaration
DONE
OUTPUT
ERROR
OUTPUT
ERRCODE
OUTPUT
STATE
OUTPUT
CODE_
OUTPUT
OUT
LENGTH
OUTPUT
SIMATIC MV500
Operating Instructions, 05/2019, C79000-G8976-C494-02
Data type
Address
(instance DB)
BOOL
22.1
BOOL
22.2
DWORD
24.0
WORD
28.0
BYTE
30.0
WORD
32.0
Process interfacing via an automation system (PLC, PC)
Default
Description
FALSE
DONE = TRUE:
Job was completed without errors.
With read jobs ("COMMAND = W#16#0081 ...
008F"), this simply means that the transfer
between the optical reader and FB (CPU) was
error-free.
To find out whether the DMC processing was
successful, you will need to process bits
"READ" (bit 3), "MATCH" (bit 4) and "N_OK"
(bit 5) in the status byte of the optical reader.
FALSE
ERROR = TRUE:
An error has occurred.
DW#16#
Error information:
00000000
DW#16#0000 0000: No error
DW#16#0000 wxyz: Warning
DW#16#0001 wxyz: Internal FB error
DW#16#0002 wxyz: Optical reader error
(see table below for error information)
W#16#0000
Operating state of the optical 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, but the "RDY" bit is not.
W#16#0003: ERROR
The "IN_OP" bit in the status byte is not
set.
B#16#00
Number of the program currently selected by
the optical reader
W#16#0000
Length of the result string in bytes
9.4 Control with FB 79
143

Advertisement

Table of Contents
loading

Table of Contents