![Siemens SIMATIC VS130 Series Скачать руководство пользователя страница 49](http://html.mh-extra.com/html/siemens/simatic-vs130-series/simatic-vs130-series_manual_374431049.webp)
Controlling with a PLC
Vision Sensor VS 130
A5E00199459-01
6-5
The training sequence is described below.
Step
Input
Output
Description
DISA=1
TRN=1
SEL0, SEL1, SEL2, SEL3=0
Disable keyboard operation (training will be via
"DI/DO")
Start training
TRD=0
Training active (previously active code is trained)
1
RDY=0
RDY signal changes to FALSE
Wait at least 200 ms
SEL1=1
TRG=1
Feed object with data matrix code
Train
Trigger signal
2
TRD=1
Selected code has been trained
3
SEL1=0
TRG=0
Reset signals
TRN=0
End training
4
RDY=1
Training is ended
Start Evaluation
Immediately after completion of training, the evaluation is started.
Step
Input
Output
Description
1
If required, you select a code (see above.).
2
READ
MATCH
N_OK
The outputs are set as follows depending on the evaluation result:
Code was localized and decoded.
Code matches learned code.
Code was not legible.