Siemens SIMATIC Vision Sensor VS 130-2 Manual page 126

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

Advertisement

Process Interface
Sequence When Outputting the Currently Selected Code
(COMMAND = W#16#0003)
When the job is triggered, the parameters DONE and ERROR change to the value
FALSE. The ACTIVE parameter changes to the value TRUE.
The block then queries the code currently selected on the VS 130-2 and outputs
this in the CODE_OUT parameter.
If the transfer of the code number is free of errors, the ACTIVE parameter changes
to the value FALSE and the DONE parameter changes to the value TRUE.
Note
The following parameters must be set to PROFIBUS DP or PROFINET IO to
process the job:
Output the result string
Port for the DISA, SEL0 to SEL3, TRN, RES, IN_OP, TRD, RDY signals
Sequence When Outputting the Mode of the VS 130-2 (COMMAND = W#16#0004)
The block recognizes the current mode based on the status byte of the VS 130-2
and outputs this in the STATE parameter:
If the IN_OP bit is not set, state 3 (ERROR) is output.
If the IN_OP bit is set, but the RDY bit is not set, state 2 (STOP) is output.
If the IN_OP bit is set and the RDY bit is set, state 1 (RUN) is output.
Following this, the DONE parameter changes to the value TRUE and ACTIVE
changes to the value FALSE.
Note
Since the job is completed in one CPU cycle, no edge change can be detected in
the ACTIVE parameter. If the DONE parameter already has the value TRUE from
a previous job, an edge change can also not be detected in this parameter.
Note
The following parameter must be set to PROFIBUS DP or PROFINET IO to
process the job:
Port for the DISA, SEL0 to SEL3, TRN, RES, IN_OP, TRD, RDY signals
6-28
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
A5E00475759-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic vision sensor vs 130-2vcr

Table of Contents