V500/V520 Bar Code Reader Protocol

 

 

Appendix J

 

 

Send Data Word Allocation (2nd Operand of PMCR)

 

 

 

 

 

 

+0

 

 

 

 

 

 

 

 

 

First word of

 

 

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

 

 

1 to 254

 

 

 

 

 

 

 

(3 digits BCD)

 

 

The byte length of the send data excluding STX and

 

 

 

 

 

 

 

 

 

 

ETX.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+2 to

 

Send data (ASCII)

 

 

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

 

 

 

 

+128

 

 

 

 

 

 

 

 

 

 

 

 

 

Receive Data Storage Word Allocation (3rd Operand of PMCR)

 

 

 

 

 

 

 

 

 

 

 

 

Receive data

+0

 

 

Number of receive data words

 

 

 

 

 

storage words

+1

 

 

 

 

 

 

 

 

 

 

 

 

Receive data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+2

 

 

 

Receive data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

~

 

 

~

 

+126

+127

Receive data

Receive data

Offset

Contents (data format)

Data

 

 

 

+0

Number of receive data

0001 to 0128

 

words (4 digits BCD)

 

 

 

 

+1 to

Receive data (ASCII)

If the receive data exceed 253 bytes, only 253 bytes

+127

 

are stored.

 

 

 

Note Shown below is the receive data frame format. The reception data without ACK, STX, and ETX is stored.

Receive data (253 bytes max.)

STX

ACK

ETX

316

Page 320
Image 320
Omron CQM1H-SCB41 operation manual Appendix J, Receive Data Storage Word Allocation 3rd Operand of Pmcr