Omron CJ1W-SCU32 Operation Manual page 338

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

A Standard System Protocol
CS/CJ Series
+0
First word of
Number of send data words
send data
+1
(Undefined)
(Undefined)
+2
+3
Number of send bytes
+4
Send data
on
Receive
+0
Number of receive data words
data storage
+1
Response code
words
+2
Receive data
on
Reading explanations of the standard system protocol
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.
Send Data Allocation
NJ Offset
SrcDat[0]
Number of send data words
(4 digits Hex)
SrcDat[1]
(Undefined)
SrcDat[2]
MRC
(2 digits Hex)
SrcDat[3]
Number of send bytes
(4 digits Hex)
SrcDat[4]
Send data (4-digit Hex)
on
R-4
PMCR
Communications sequence number 600 (0258 Hex)
#0258
S
D
Send Data Word Allocation (3rd Operand)
Offset
S+0
Node No.
SRC
S+1
S+2
S+3
S+4
on
Receive Data Word Allocation (4th Operand)
Offset
D+0
D+1
D+2
on
Contents (data format)
Node No.
(2 digits BCD)
SRC
(2 digits Hex)
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Contents (data format)
Number of send data words
0005 to 00FA Hex (5 to 250 decimal)
(4 digits Hex)
(Undefined)
Node No.
00 to 99
(2 digits BCD)
MRC
SRC
Set the command code for the required service
(2 digits Hex)
(2 digits Hex)
Number of send bytes
Number of data bytes from the next byte after the command code
(4 digits Hex)
(MRC, SRC) until the byte just before the ETX. 0000 to 0492
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.
Contents (data format)
Number of receive data words
0003 to 00FA Hex (3 to 250 decimal)
(4 digits Hex)
Response code (4 digits Hex)
The response code will be stored in hexadecimal
form.
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.
Data
0005 to 00FA Hex (5 to 250 decimal)
00 to 99
Set the command code for the required service
Number of data bytes from the next byte after the
command code (MRC, SRC) until the byte just
before the ETX. 0000 to 0492
The data specified in hexadecimal here will be con-
verted to ASCII and the number of bytes specified
in S+3 will be sent.
Data
Data
CS/CJ
Offset
S+0
S+1
S+2
S+3
S+4 on

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents