Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 948

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

S: First word of send message
15
S
Set the number of bytes of source data from words S+1 on. For
example, set S to 000A hex if there are 5 words of data (S+1 to
S+5). Do not include the 2 bytes in word S itself. Include the
leftmost bytes of S+1 to S+5, which contain 00.
Also, include the number of bytes of Service Data starting at S+6.
(If the first or last word contains just one byte of data, do not
count the empty byte in that word.)
15
12
11
8
7
S+1
0
0
15
12
11
8
7
S+2
0
0
15
12
11
8
7
S+3
0
0
15
12
11
8
7
S+4
0
0
15
12
11
8
7
S+5
0
0
If the Attribute ID is not used, set it to FFFF hex.
(The Attribute ID cannot be set to 0000 hex.)
15
Service Data
S+6
to
S+272
When there is Service Data (data other than the Attribute
ID), the byte-order of this data is specified in bits 12 to 15
of C+1. Up to 534 bytes (267 words) can be set.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
D: First word of received message
0
0
Destination Node Address
(00 to max. node address (hex))
0
Service Code (hex)
0
Class ID (hex)
0
Instance ID (hex)
0
Attribute ID (hex)
0
15
D
Contains the number of bytes of data from words D+1 on.
Does not include the 2 bytes in word D itself.
This value does include the leftmost bytes of D+1 and D+2, which contain 00.
This value also includes the number of bytes of Service Data starting at D+3.
(If the first or last word contains just one byte of data, the empty byte in that
word is not counted.)
15
12
11
8
7
D+1
0
0
Contains the Source node address.
(00 to 3F hex (0 to 63) for DeviceNet))
15
12
11
8
7
D+2
0
0
Contains the service code or error code (hex).
Normal response: Returns the command's Service Code with bit 07 ON.
Error response: Returns 94 hex, regardless of the command's Service Code.
15
D+3
Service Data
to
D+269
Contains the response's service data (data following the service code). The
byte-order of this data is specified in bits 12 to 15 of C+1. Can contain up to
534 bytes (267 words) of data.
3. Instructions
0
0
0
3
0
911

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents