Fb 79 "Vs130-2_Control - Siemens SIMATIC Vision Sensor VS 130-2 Manual

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

Advertisement

6.5.5

FB 79 "VS130-2_CONTROL"

Description
With FB 79 "VS130-2_CONTROL", you have a convenient means of
communication with SIMATIC VS 130-2. You simply specify the job and the block
handles communication over the public interfaces described in Integrating the
PROFINET IO Device VS 130-2 in HW Config.
The following bits of the control byte must be processed outside the FB.
TRG (Trigger): Start Processing
RES (Reset): Acknowledgment of an error (see Error Messages)
The FB monitors only the pure data traffic between VS 130-2 and the controller, in
other words, the DONE parameter does not provide any information on the actual
read result. To obtain a good/bad read evaluation, evaluate the following result bits
of the status byte:
READ
MATCH
NOK
The following tasks are possible:
Abort the current job
Select Code
Train a code
Output the result string
Output the position of the code
Output the quality characteristics of the currently read code
Output the number of the currently selected code
Output the current mode of the VS 130-2
Reset the DISA control signal
Whether or not a job can be correctly executed depends on the current mode of the
VS 130-2 and its parameter assignment. Which job is possible in which mode of
the VS 130-2 is explained below.
For almost all tasks, FB79 sets the DISA control signal for the VS 130-2 to TRUE.
This prevents the VS 130-2 from being controlled from the keyboard or an operator
panel at the same time. The exceptions are the four following tasks:
Reset the DISA control signal
Abort the current job. The FB does not change DISA.
Output the number of the currently selected code. The FB does not change
DISA.
Output the current mode of the VS 130-2. The FB does not change DISA.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
A5E00475759-01
Process Interface
6-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic vision sensor vs 130-2vcr

Table of Contents