Omron DRT2 Series Operation Manual page 240

Devicenet slaves
Hide thumbs Also See for DRT2 Series:
Table of Contents

Advertisement

DeviceNet Explicit Messages
Explicit
Read
message
/write
Cumulative
Write/
Sets the unit for the
Counter
Read
cumulative counter.
Unit Setting
0: Hour (count hours);
1: Minute (count min-
utes)
Last Main-
Write/
Writes the date of the
tenance
Read
last maintenance in the
Date Set-
Unit.
ting
I/O Com-
Write/
Sets names for each I/O
ment Set-
Read
contact.
ting
Using Explicit Messages
The following example shows how to use explicit messages with Smart Slaves using a CS1W-DRM21
DeviceNet Unit (Master).
Example: Reading the monitor status for the operation time monitor.
Example Conditions DeviceNet Unit node address: 05
Unit number: 0
Unit address: FE Hex (or 10 Hex)
Smart Slave node address: 11
DeviceNet Unit
Measured time
Output No. 3 is
ON
Output No. 3
Input No. 3
Operation
Reads the measured operation time for contact No. 3 of the Smart Slave (the time from when output No. 3
changes to ON until input No. 3 changes to ON).
The data is read using the EXPLICIT MESSAGE SEND command (2801).
Function
Service
code
Write:
10 Hex
Read:
0E Hex
Write:
10 Hex
Read:
0E Hex
Write:
10 Hex
Read:
0E Hex
Ladder program
Explicit message
CMND
sent
C
S
D
DeviceNet
Network
DRT2-series
Smart Slave
Input No. 3 is ON
Measured time
Command
Class
Instance
Attribute
ID
ID
ID
0B Hex 01 to 02
94 Hex
Hex
0B Hex 01 to 02
98 Hex
Hex
0B Hex 01 to 02
99 Hex
Hex
Appendix A
Response
Data size
1 byte
2 bytes
2 bytes
32 characters
32 characters
max.
max.
223

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents