Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1120

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Network Instructions
S:
S+1:
S+2:
S+3:
C:
C+1:
C+2:
C+3:
D00000
0
0
0
A
D00001
0
0
9
5
D00002
0
0
0
1
D00003
0
0
6
5
D00200
0
0
0
2
D00201
8
6
1
2
D00202
0
0
0
0
D00203
0
0
0
0
D:
D00100
0
D+1:
D00101
0
7
6
D 0 0 1 0 1
0
1
Explicit message command format
0E
95
01
65
Instance ID
Class ID
Service Code
Destination node address
CS1W-DRM21 DeviceNet Unit
(CPU Bus Unit with unit number 2)
EGATR(721)
CPU
instruction
Unit
Unit address 12 hex (because
the unit number is 2)
Explicit
Slave (I/O Terminal)
message
with node address 10
Slave's node address = 10 = 0A hex
Class ID = 95 hex
Instance ID = 01 hex
Attribute ID = 65 hex
Set 2 words = 0002 hex since there are 2 words in D to D+1.
Byte order = 8 hex (from rightmost byte), communications port = 6
hex (port 6), and the DeviceNet Unit's unit address = 12 hex
Response monitoring time = 0000 hex (2 s)
Explicit format type = 0000 hex (DeviceNet format)
D contains 0 hex for the 1 byte of data returned to the rightmost byte
0
0
1
of D+1.
The Slave's general status is returned to bits 00 to 07.
0
4
8
(The data is stored in bits 00 to 07 because the byte order setting in
C+1 bits 12 to 15 was set to 8 hex (from rightmost byte).
5
4
3
2
1
0
0
0
1
0
0
0
Basic Unit's I/O Power Status Flag
Expansion Unit's I/O Power Status Flag
Low Network Power Voltage Flag
Unit Maintenance Flag
Sensor Disconnected Flag
Sensor Power Shorted Flag
Operation Time Over Flag
Connected Device Maintenance Flag
Section 3-25
Attribute ID
General
status
1081

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents