Omron 2D CODE READER User Manual page 103

2d code reader
Table of Contents

Advertisement

Appendix
Sample Programming for CJ-series PLC Using a Software Trigger
With the following programming, the V400-F will start reading when the Read Start Bit
(CIO 0.00) turns ON. The reading results will be stored in DM200 to DM220.
A200.11
First
Cycle Flag
0.00
Read
Start Bit
A392.05
W0.00
Work bit
Send
Ready
Flag
A392.06
Reception
Completed
Flag
This programming example assumes that the read data is 20 digits or less.
V400-F050/250/350
102
User's Manual
MOV(021)
Stores SEND command (GL ('474C'))
#474C
in DM000.
D0
DIFU(013)
Turns ON W0.00 when CIO 0.00 turns
ON.
W0.00
TXD(236)
Sends the SEND command stored in
DM000 if the Send Ready Flag is OFF
D0
(i.e., ready to send) when W0.00 turns
#0000
ON.
#0002
@BSET(071)
Clears the data from DM200 to DM220.
(A392.06 automatically turns ON when
#0000
data is sent from the V400-F. )
D200
D220
RXD(235)
Stores the data sent from the V400-F
starting from DM200.
D200
#0000
A393
END(001)

Advertisement

Table of Contents
loading

This manual is also suitable for:

V400-fV400-f050V400-f250V400-f350

Table of Contents