
R-5
A Standard System Protocol
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
R
-1 R
e
adi
ng Ref
e
rence
Docum
e
nts
Re
f
R
-1-1
Using Stand
ard System
P
rotocols
z
Receive Data Allocation
z
Difference between CS/CJ Series and NJ Series
NJ Offset
Contents (data format)
Data
CS/CJ
Offset
DstDat[0]
Number of receive data words
(4 digits Hex)
0003 to 00FA Hex (3 to 250 decimal)
D+0
DstDat[1]
Response code (4 digits Hex)
The response code will be stored in hexadecimal
form.
D+1
DstDat[2]
on
Receive data (4-digit Hex)
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 on
CS/CJ Series
NJ Series
Names of PLC Series
CS/CJ Series
NJ Series
Serial Communica-
tions Unit/Board
CS1W-SCB21-V1/-SCB41-V1/
-SCU21-V1/-SCU31-V1
CJ1W-SCU21-V1/-SCU31-V1/
-SCU41-V1
CJ1W-SCU22/-SCU32/-SCU42
CJ1W-SCU22/-SCU32/-SCU42
Instruction name
PMCR
ExecPMCR
Sequence No. setting
2nd operand
Input variable: SeqNo
Send data setting
3rd operand or operand S
Input variable: SrcDat
Receive data setting
4th operand or operand D
In-out variable: DstDat
First word of send data S
Input variable: User-defined array variable set in
SrcDat (Example: SendData [0:x])
Send data
S+0, S+1, onward
Input variable: Actual data area in the user-defined
array variable set in SrcDat (Example: SendData [0],
SendData [1], SendData [3], etc.)
First word of receive
data
D
In-out variable: User-defined array variable set in
DstDat (Example: RecvData [0:x])
Receive data
D+0, D+1, onward
In-out variable: Actual data area in the user-defined
array variable set in DstDat (Example: RecvData [0],
RecvData [1], RecvData [2], etc.)
Offset of send data
+0, +1, onward
Input variable: First element, second element, etc., of
the array of the user-defined variable set in SrcDat
Offset of receive data
+0, +1, onward
In-out variable: First element, second element, etc.,
of the array of the user-defined variable set in DstDat
Содержание 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...