Omron CQM1H-SCB41 Operation Manual page 333

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

Advertisement

V500/V520 Bar Code Reader Protocol
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
addition 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.
Send Data Word Allocation (2nd Operand of PMCR)
First word of
send data
Receive Data Storage Word Allocation (3rd Operand of PMCR)
Receive data
storage words
Note Shown below is the receive data frame format. The reception data without ACK, STX, and ETX is stored.
ACK
318
+0
Number of send data words
+1
Send data byte length
Send data
+2
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
(3 digits BCD)
+2 to
Send data (ASCII)
+128
+0
Number of receive data words
Receive data
+1
Receive data
+2
~
Receive data
+126
Receive data
+127
Offset
Contents (data format)
+0
Number of receive data words
(4 digits BCD)
+1 to
Receive data (ASCII)
+127
Receive data (253 bytes max.)
STX
~
0003 to 0129
1 to 254
The byte length of the send data
excluding STX and ETX.
Set send data up to 254 bytes (max.)
by ASCII.
~
0001 to 0128
If the receive data exceed 253 bytes,
only 253 bytes are stored.
Appendix J
Data
Data
ETX

Advertisement

Table of Contents
loading

Table of Contents