Omron CQM1H-SCB41 Computer Hardware User Manual


 
Appendix JV500/V520 Bar Code Reader Protocol
315
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)
Send data
Send data
+0
+1
+2
+3
+127
+128
Number of send data wordsFirst word of
send data
~ ~
Send data
Send data
Send data byte length
Offset Contents (data format) Data
+0 Number of send data words
(4 digits BCD)
0003 to 0129
+1 Send data byte length
(4 digits BCD)
0001 to 0254
The byte length of the send data excluding STX and
ETX.
+2 to
+128
Send data (ASCII) Inscribe send data up to 254 bytes (max.) by ASCII.
Receive Data Word Allocation (3rd Operand of PMCR)
None.
General-purpose Command 2 (Sequence No. 366)
This general-purpose command is used to send data with a specified data length, and receive back ACK in addi-
tion to other receive data. The frame format of the receive data, however, has to contain STX and ETX. STX and
ETX are automatically attached to the send data.