Siemens SIMATIC Vision Sensor VS 130-2 Manual page 129

Hide thumbs Also See for SIMATIC Vision Sensor VS 130-2:
Table of Contents

Advertisement

Error Information
If an error occurred, ERROR is set to TRUE. The precise cause of the error is then
displayed in ERRCODE. Apart from this, there are also warnings with which
ERROR is set to FALSE. These indicate an error situation that does not lead to the
current job being aborted.
If ERRCODE <> DW#16#0000 0000 following an FB call, call the FB again with
RESET=TRUE to reset the error information in the FB.
Note
By calling the FB with RESET=TRUE, you only acknowledge error displays of the
FB. To acknowledge errors of the VS 130-2 (for example transmit error), set the
RES bit of the control byte (see Assignments for PROFIBUS DP and PROFINET
IO-relevant interfaces for the processing unit or Error messages).
ERRCODE
Error
(DW#16#)
0000 0000
0
0000 0001
0
0000 0002
0
0001 0001
1
0001 0002
1
0001 0003
1
0001 0004
1
0001 0005
1
0001 0006
1
0001 0007
1
0001 0008
1
0001 0009
1
0001 8092
1
0001 8323
1
0001 8325
1
0001 8330
1
0002 0003
1
0002 0004
1
0002 0005
1
Note
If you receive error information other than that above, it originates from SFC 20
"BLKMOV" used for the entry in the result string in the receive area. This error
information can be read in the online help for system functions and function blocks.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
A5E00475759-01
Explanation
No error
New job not effective as long as an old job is active
Job cannot be canceled
Illegal job number (COMMAND parameter)
The job cannot be processed in the current VS 130-2 mode.
During operation (not startup and no error has occurred), the FB was called with
RESET=TRUE or the user data interface is already being used by another FB
instance.
Send/Receive user data interface is not available or does not exist
The code number selected on the processing unit does not correspond to the
code number specified in the FB, possibly because control of the processing
unit has been taken over by the setup support.
Illegal code number (PARAM1 parameter). Code numbers 1 to 14 (training) and
0 to 15 (change codes) are permitted.
Job aborted by user
Code training not possible, possibly because control of the processing unit has
been taken over by the setup support.
Receive area not permitted. Only data blocks and the BYTE data type are
allowed.
The receive area does not exist.
The receive area is too short.
Data area not permitted
The receive area is write-protected.
The selected code number has not been trained.
Code cannot be trained. Position the code within the image or improve the
image quality.
Job aborted by processing unit
Process Interface
6-31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic vision sensor vs 130-2vcr

Table of Contents