Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 659

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

V500/V520 Bar Code Reader Protocol
Data Continuous Read (Scan) (V520) (Sequence No. 363 (Hex
016B))
This sequence performs the following operations repeatedly: instructs the Bar Code Reader to start reading
and receives the data read by the Bar Code Reader. The scan notification method is used for the receive data.
Send Data Word Allocation (3rd Operand of PMCR(260))
None.
Receive Data Word Allocation (4th Operand of PMCR(260))
The receive data word allocation is similar to that of sequence No. 352 (Data Read).
Note 1. Since this sequence repeats itself within the sequence, once it is executed, it remains in the execution
state until cancelled.
2. Even if execution is cancelled, the bar code still keeps reading. Execute sequence No. 351 (BCR
Read Stop) to end the sequence.
3. The reception wait time is not set for this sequence.
Data Continuous Read (Interrupt) (V520) (Sequence No. 364
(Hex 016C))
This sequence performs the following operations repeatedly: Instructs the Bar Code Reader to start reading
and receives the data read by the Bar Code Reader. The interrupt notification method is used for the receive
data and the interrupt No. is 100.
Send Data Word Allocation (3rd Operand of PMCR(260))
None.
Receive Data Word Allocation (4th Operand of PMCR(260))
The send data word allocation is similar to that of sequence No. 352 (Data Read).
Note 1. Since this sequence repeats itself within the sequence, once it is executed, it remains in the execution
state until cancelled.
2. Even if execution is cancelled, the bar code still keeps reading. Execute sequence No. 351 (BCR
Read Stop) to end the sequence.
3. The reception wait time is not set for this sequence.
4. Sequences No. 361 and No. 364 (Continuous Data Read with Interrupt) are not supported by the
CS1W-SCU@@(-V1) and CJ1W-SCU@@(-V1) Serial Communications Units. A protocol syntax error
will occur is an attempt is made to execute either sequence with a Serial Communications Unit.
General-purpose Command 1 (Sequence No. 365 (Hex 016D))
This general-purpose command is used to send data with a specified data length, and receive back only ACK.
STX and ETX are automatically attached to the send data.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
630
+0
Number of send data words
+1
Send data byte length
+2
Send data
Send data
+3
~
Send data
+248
Send data
+249
~
Appendix M

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents