![background image](http://html1.mh-extra.com/html/omron/cj1w-scu22/cj1w-scu22_operation-manual_742498338.webp)
A Standard System Protocol
R-4
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
The explanations of the standard system protocol below assume use of the protocol with the CS/CJ
Series.
If the NJ Series is used, change the licable items as specified below.
z
Send Data Allocation
CS/CJ Series
Reading explanations of the standard system protocol
NJ Offset
Contents (data format)
Data
CS/CJ
Offset
SrcDat[0]
Number of send data words
(4 digits Hex)
0005 to 00FA Hex (5 to 250 decimal)
S+0
SrcDat[1]
(Undefined)
Node No.
(2 digits BCD)
00 to 99
S+1
SrcDat[2]
MRC
(2 digits Hex)
SRC
(2 digits Hex)
Set the command code for the required service
S+2
SrcDat[3]
Number of send bytes
(4 digits Hex)
Number of data bytes from the next byte after the
command code (MRC, SRC) until the byte just
before the ETX. 0000 to 0492
S+3
SrcDat[4]
on
Send data (4-digit Hex)
The data specified in hexadecimal here will be con-
verted to ASCII and the number of bytes specified
in S+3 will be sent.
S+4 on
Response code
Receive data
Receive
data storage
words
Number of receive data words
+0
+1
+2
PMCR
#0258
S
D
Offset
Contents (data format)
Data
Number of receive data words
(4 digits Hex)
0003 to 00FA Hex (3 to 250 decimal)
D+0
The response code will be stored in hexadecimal
form.
D+1
The data from just after the response code until just before the
ETX will be converted from ASCII to hexadecimal and stored here.
D+2
Response code (4 digits Hex)
Receive data (4-digit Hex)
(Undefined)
Node No.
Number of send bytes
Send data
First word of
send data
Number of send data words
+0
+1
+2
+3
+4
on
on
(Undefined)
SRC
Offset
Contents (data format)
Data
Number of send data words
(4 digits Hex)
0005 to 00FA Hex (5 to 250 decimal)
S+0
(Undefined)
Node No.
(2 digits BCD)
00 to 99
S+1
MRC
(2 digits Hex)
SRC
(2 digits Hex)
Set the command code for the required service
S+2
Number of send bytes
(4 digits Hex)
Number of data bytes from the next byte after the command code
(MRC, SRC) until the byte just before the ETX. 0000 to 0492
S+3
Send data (4-digit Hex)
The data specified in hexadecimal here will be
converted to ASCII and the number of bytes
specified in S+3 will be sent.
S+4
on
on
Communications sequence number 600 (0258 Hex)
Send Data Word Allocation (3rd Operand)
Receive Data Word Allocation (4th Operand)
Содержание 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...