10.3
Control over the "DI/DO" I/O interface
10.3
You will find the connector pin assignment of the I/O interface in the section
specifications
Control byte
Bit no.
0
1
2
3
4
5
6
7
Note
• The SEL0, SEL1, SEL2, and SEL3 signals are effective only when DISA=1.
• The RES signal (bit no. 7) is effective regardless of the DISA signal (bit no. 0).
Status byte
Bit no.
0
1
2
3
4
5
Vision Sensor SIMATIC VS120
Operating Instructions, Edition 02/2006, A5E00757507-01
Port assignment of the processing unit
in
Signal
Function
DISA
Disable: Disable manual keypad input, model selection via digital I/O
SEL0
Select 0: Model selection bit 0
SEL1
Select 1: Model selection bit 1
SEL2
Select 2: Model selection bit 2
SEL3
Select 3: Model selection bit 3
-
Not assigned
TRG
Trigger: Image recording and start of processing
RES
Reset: Reset error on positive-going edge
Signal
Function
IN_OP
In operation:
0 = error message is displayed
•
1 = SIMATIC VS120 functional, no errors
•
TRD
Trained:
0 = Model/model set cannot be run
•
1 = Model/model set can be run
•
RDY
Ready:
0 = Device startup or SIMATIC VS120 in Stop
•
1 = SIMATIC VS120 in processing mode (Run)
•
OK
Model was recognized:
1 = OK during debounce pulse time
•
-
Not assigned
N_OK
Model was not recognized
1 = N_OK during debounce pulse time
Process interfacing over an automation system (PLC, PC)
10.3 Control over the "DI/DO" I/O interface
.
Technical
LEDs
Group error
SF on
•
SF off
•
TRAINED
READY
OK
-
N_OK
10-7