Siemens SIMATIC VS120 Operating Instructions Manual page 148

Image processing systems vision sensor
Table of Contents

Advertisement

Process interfacing over an automation system (PLC, PC)
10.6 Sample programs
Legend:
Parameters used
RESET_BUTTON
LASER-
PROXIMITY_SWITCH
P#DB10.
DBX1.0
BYTE 245
VS120:IN_OP
PROCESS_RELEASE
RESULT_OK
RESULT_NOT_OK
DATA_VALID
ERROR_ALERT
Including FB1 in a STEP 7 program
In the supplied STEP 7 program, the FC1 function contains an example for outputting the
result data.
Process interfacing
The SIMATIC VS120 processing unit is connected over PROFIBUS DP or PROFINET IO to
a programmable controller. If a photoelectric barrier or a proximity switch is used for
triggering, the trigger signals must be read by a digital input module. The received data is
stored in data block DB10 in bytes 1 to 245.
10-22
Parameters of FB1
Meaning
RESET
Reset button to acknowledge errors
TRG
Light barrier for triggering
RECV
Receive range for the result values
IN_OP
SIMATIC VS120 functional, no errors
RDY
SIMATIC VS120 in processing mode (Run)
OK
Model was recognized
N_OK
Object was not recognized
NDR
Receive new data
ERROR
An error has occurred.
Operating Instructions, Edition 02/2006, A5E00757507-01
Vision Sensor SIMATIC VS120

Advertisement

Table of Contents
loading

Table of Contents