
Process interfacing via an automation system (PLC, PC)
9.4 Control with FB 79
SIMATIC MV500
Operating Instructions, 03/2021, C79000-G8976-C494-05
195
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#)
ERROR
Description
0000 0000
0
No error
0000 0001
0
New job inactive as long as old job is active.
0000 0002
0
Job cannot be canceled.
0001 0001
1
Invalid job number ("COMMAND" parameter).
0001 0002
1
The job cannot be processed in the current state of the optical reader.
0001 0003
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.
0001 0004
1
Send/receive user data interface not available or incomplete
0001 0005
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.
0001 0006
1
Invalid program number ("PARAM1" parameter). Program numbers 1 to 14 (save pro-
gram) and 0 to 15 (change program) are permitted.
0001 0007
1
Job canceled by user.
0001 0008
1
Saving a program is not possible because the control of the optical reader may have
been taken over by the WBM.
0001 0009
1
Illegal receive area. Only data blocks and the "BYTE" data type are permitted.
0001 8092
1
The receive area does not exist.
0001 8323
1
The receive area is too short.
0001 8325
1
Illegal data area.
0001 8330
1
The receive area is write-protected.
0002 0003
1
The selected program number is not saved.
0002 0004
1
Program cannot be saved. Position the code within the image or improve the image
quality.
0002 0005
1
Job canceled by the optical reader.
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.
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 ...