Omron DRT2 SERIES DEVICENET SLAVES - OPERATION MANUAL 04-2008 Operation Manual page 511

Devicenet slaves
Hide thumbs Also See for DRT2 SERIES DEVICENET SLAVES - OPERATION MANUAL 04-2008:
Table of Contents

Advertisement

DeviceNet Explicit Messages
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).
The command data is written in words starting from D01000 in the PLC and the response data is stored in
words starting from D02000.
If the command does not end normally, the end code is stored in D00006 and the send command is re-exe-
cuted.
Command Details
• [CMND S
D
S: D01000
D (first response word): D02000
C: D00000
490
Ladder program
Explicit message
CMND
sent
C
S
D
DeviceNet
Network
DRT2-series
Smart Slave
Input No. 3 is ON
Measured time
C]
Appendix A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Devicenet drt2-id08Devicenet drt2-id08-1Devicenet drt2-id16-1Devicenet drt2-od16Devicenet drt2-od08Devicenet drt2-md16 ... Show all

Table of Contents