Omron CQM1H-SCB41 Operation Manual page 332

Sysmac cqm1h series serial communications board
Hide thumbs Also See for CQM1H-SCB41:
Table of Contents

Advertisement

V500/V520 Bar Code Reader Protocol
Receive Data Word Allocation (3rd Operand of PMCR)
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)
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 (2nd Operand of PMCR)
None.
Receive Data Word Allocation (3rd Operand of PMCR)
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.
General-purpose Command 1 (Sequence No. 365)
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 (2nd Operand of PMCR)
First word of
send data
Receive Data Word Allocation (3rd Operand of PMCR)
None.
Number of send data words
+0
+1
Send data byte length
+2
Send data
Send data
+3
~
+127
Send data
+128
Send data
Offset
Contents (data format)
+0
Number of send data words
(4 digits BCD)
+1
Send data byte length
(4 digits BCD)
+2 to
Send data (ASCII)
+128
~
0003 to 0129
0001 to 0254
The byte length of the send data
excluding STX and ETX.
Inscribe send data up to 254 bytes
(max.) by ASCII.
Appendix J
Data
317

Advertisement

Table of Contents
loading

Table of Contents