Process Interface
6.5.2
Assignments for PROFIBUS DP and PROFINET IO-relevant
Interfaces for the Processing Unit
Control byte
Bit No.
Corresponds to Signal
0
DISA
1
SEL0
2
SEL1
3
SEL2
4
SEL3
5
TRN
6
TRG
7
RES
Note
The SEL0, SEL1, SEL2, SEL3, TRN and RES signals only take effect when
DISA=1.
Status byte
Bit No. Corresponds 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 Selecting Modes.
6-12
Function
Disable: Disable manual control panel input, code selection and train,
error acknowledgment, start of the processing unit
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-2 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-2 in Stop
•
1 = SIMATIC VS 130-2C in Run
Evaluation result: Code was localized and decoded
Evaluation result: Code matches learned code
Code was not legible.
Reserved
Reserved
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
A5E00475759-01