
R-77
A Standard System Protocol
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
R-4 V50
0
/V
520 Bar
Code Reader
Pr
otoc
o
l
Re
f
R
-4-3
Protocol
Configur
ation
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 (3rd Operand of PMCR(260))
Receive Data Storage Word Allocation (4th Operand of PMCR(260))
Additional Information
Shown below is the receive data frame format. The reception data without ACK, STX, and ETX is
stored.
General-purpose Command 2 (Sequence No. 366 (Hex 016E))
Offset
Contents (data format)
Data
+0
Number of send data words
(4 digits Hex)
0003 to 00FA (3 to 250 decimal)
+1
Send data byte length
(4 digits Hex)
0001 to 01F0 (1 to 496 decimal)
The byte length of the send data excluding STX and ETX.
+2 to
+128
Send data (ASCII)
Set send data up to 496 bytes (max.) by ASCII.
Offset
Contents (data format)
Data
+0
Number of receive data words
(4 digits Hex)
0001 to 00FA (1 to 250 decimal)
+1 to
+249
Receive data (ASCII)
Up to 498 bytes of ASCII receive data are stored.
Send data
Send data
+0
+1
+2
+3
+248
+249
Number of send data words
First word of
send data
Send data
Send data
Send data byte length
Receive data
Receive data
+0
+1
+2
+248
+249
Number of receive data words
First word of
receive data
Receive data
Receive data
Receive data (498 bytes max.)
ACK
STX
ETX
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...