Omron CQM1H-SCB41 operation manual Data Continuous Read Interrupt V520 Sequence No

Models: CQM1H-SCB41

1 421
Download 421 pages 6 Kb
Page 319
Image 319

V500/V520 Bar Code Reader Protocol

Appendix J

 

 

 

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

+0

 

Number of send data words

 

 

 

send data

+1

 

 

 

 

 

 

 

 

Send data byte length

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+2

 

 

Send data

 

 

 

 

 

 

 

 

 

 

 

 

+3

 

 

Send data

 

 

 

 

 

 

 

 

 

 

 

 

~

 

~

 

 

 

 

 

 

 

 

 

+127

 

 

Send data

 

 

 

 

+128

 

 

Send data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Offset

Contents (data format)

 

 

Data

 

 

 

 

 

 

 

 

 

 

 

+0

Number of send data words

 

 

0003 to 0129

 

 

 

 

(4 digits BCD)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+1

Send data byte length

 

 

0001 to 0254

 

 

 

 

(4 digits BCD)

 

 

The byte length of the send data excluding STX and

 

 

 

 

 

 

 

ETX.

 

 

 

 

 

 

 

 

 

 

 

+2 to

Send data (ASCII)

 

 

Inscribe send data up to 254 bytes (max.) by ASCII.

 

 

 

+128

 

 

 

 

 

 

 

 

 

 

 

 

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.

315

Page 319
Image 319
Omron CQM1H-SCB41 operation manual Data Continuous Read Interrupt V520 Sequence No, General-purpose Command 1 Sequence No