![Siemens SIMATIC VS130 Series Скачать руководство пользователя страница 51](http://html.mh-extra.com/html/siemens/simatic-vs130-series/simatic-vs130-series_manual_374431051.webp)
Controlling with a PLC
Vision Sensor VS 130
A5E00199459-01
6-7
6.2.2
Assignment of the Interface of the Processing Unit with
Relevance for PROFIBUS DP
Control Byte
Bit
No.
Correspon
ds to
Signal
Function
0
DISA
Disable: Disable manual control panel input, model selection and
train over PROFIBUS DP
1
SEL0
Select 0: Code selection: bit 0
2
SEL1
Select 1: Code selection bit 1 (if TRN=0) / train code (if TRN=1)
3
SEL2
Select 2: Code selection: bit 2
4
SEL3
Select 3: Code selection bit 3
5
TRN
Train: Train new code
6
TRG
Trigger: An evaluation is started on the positive-going edge
7
RES
Reset: Reset error
Status byte
Bit
No.
Correspon
ds to
Signal
Function
0
IN_OP
In Operation:
•
0 = error message is displayed.
•
1 = SIMATIC VS 130 functional, no errors
1
TRD
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)
2
RDY
Ready:
•
0 = device startup or SIMATIC VS 130 in Stop
•
1 = SIMATIC VS 130 in Run
3
READ
Result of evaluation: Code was localized and decoded.
4
MATCH
Result of evaluation: Code matches learned code.
5
N_OK
Code was not legible.
6
-
reserved
7
-
reserved
Note
Writing the control byte and reading and evaluating the status byte must be
analogous to the time diagrams in Section 6.1.2.