Assignment Of The Interface Of The Processing Unit With Relevance For Profibus Dp - Siemens SIMATIC VS130 Series Manual

Vision sensor
Table of Contents

Advertisement

6.2.2
Assignment of the Interface of the Processing Unit with
Relevance for PROFIBUS DP
Control Byte
Bit
Correspon
No.
ds to
Signal
0
DISA
1
SEL0
2
SEL1
3
SEL2
4
SEL3
5
TRN
6
TRG
7
RES
Status byte
Bit
Correspon
No.
ds to
Signal
0
IN_OP
1
TRD
2
RDY
3
READ
4
MATCH
5
N_OK
6
-
7
-
Note
Writing the control byte and reading and evaluating the status byte must be
analogous to the time diagrams in Section 6.1.2.
Vision Sensor VS 130
A5E00199459-01
Function
Disable: Disable manual control panel input, model selection and
train over PROFIBUS DP
Select 0: Code selection: bit 0
Select 1: Code selection bit 1 (if TRN=0) / train code (if TRN=1)
Select 2: Code selection: bit 2
Select 3: Code selection bit 3
Train: Train new code
Trigger: An evaluation is started on the positive-going edge
Reset: Reset error
Function
In Operation:
0 = error message is displayed.
1 = SIMATIC VS 130 functional, no errors
Trained:
In Run:
-
0 = selected code has not been trained
-
1 = selected code has been trained
In Training (TRN=1)
-
0 = training active
-
1 = acknowledgment signal (RDY=0)
Ready:
0 = device startup or SIMATIC VS 130 in Stop
1 = SIMATIC VS 130 in Run
Result of evaluation: Code was localized and decoded.
Result of evaluation: Code matches learned code.
Code was not legible.
reserved
reserved
Controlling with a PLC
6-7

Advertisement

Table of Contents
loading

Table of Contents