Siemens SIMATIC MV500 Operating Instructions Manual page 195

Hide thumbs Also See for SIMATIC MV500:
Table of Contents

Advertisement

If "ERRCODE" <> DW#16#0000 0000" following an FB call, you will need to call the FB again
with "RESET = TRUE" to reset the error information in the FB.
Note
Acknowledging the error of the optical reader
By calling the FB with "RESET = TRUE", you only acknowledge error displays of the FB. To
acknowledge errors of the optical reader (e.g. "Transmit error"), you must set the "RES" bit of
the control byte.
Table 9- 50
Error information of FB 79
ERRCODE (DW#16#)
0000 0000
0000 0001
0000 0002
0001 0001
0001 0002
0001 0003
0001 0004
0001 0005
0001 0006
0001 0007
0001 0008
0001 0009
0001 8092
0001 8323
0001 8325
0001 8330
0002 0003
0002 0004
0002 0005
Note
Error information not included
If you receive error information that differs from that listed above, this originates from SFC 20
"BLKMOV" that is used to enter the result string in the receive area. You will find its error
information in the online help of the system functions/function blocks.
SIMATIC MV500
Operating Instructions, 03/2021, C79000-G8976-C494-05
ERROR
Description
0
No error
0
New job inactive as long as old job is active.
0
Job cannot be canceled.
1
Invalid job number ("COMMAND" parameter).
1
The job cannot be processed in the current state of the optical reader.
1
The FB was called with "RESET = TRUE" during normal operation (not startup and no
error present) or the user data interface is already occupied by a different FB instance.
1
Send/receive user data interface not available or incomplete
1
The selected program number does not correspond to that specified on the FB be-
cause the control of the optical reader may have been taken over by the WBM.
1
Invalid program number ("PARAM1" parameter). Program numbers 1 to 14 (save pro-
gram) and 0 to 15 (change program) are permitted.
1
Job canceled by user.
1
Saving a program is not possible because the control of the optical reader may have
been taken over by the WBM.
1
Illegal receive area. Only data blocks and the "BYTE" data type are permitted.
1
The receive area does not exist.
1
The receive area is too short.
1
Illegal data area.
1
The receive area is write-protected.
1
The selected program number is not saved.
1
Program cannot be saved. Position the code within the image or improve the image
quality.
1
Job canceled by the optical reader.
Process interfacing via an automation system (PLC, PC)
9.4 Control with FB 79
195

Advertisement

Table of Contents
loading

Table of Contents