
Rockwell Automation Publication 1440-UM001D-EN-P - September 2016
145
CIP Objects
Appendix B
Services
Relay Object (Class ID 323
H
)
The Relay Object models a relay (actual or virtual). A relay can be activated or
deactivated based on the status of one or more alarms.
Class Attributes
Instances
There is one instance
of the object. Instance 1 is a virtual relay that corresponds
with the Relay status indicator on the module.
Instance Attributes
Table 72 - Overall Measurement Object Services
Service Code
Class/Instance Usage
Name
Description
0E
h
Instance
Get_Attribute_Single
Returns one attribute.
10
h
Instance
Set_Attribute_Single
Sets one attribute.
(1)
(1) Attributes can only be set while the device is in Program mode. See the description of the Device Mode Object for more information.
Table 73 - Relay Object Class Attributes
Attribute
ID
Access Rule
Name
Data Type
Description
Semantics
3
Get
Number of Instances
UINT
Number of Instances in this class.
5
100
Set
Reset All
USINT
Setting this attribute is equivalent to executing
the Class Reset service
Reset All is an attribute that provides a way to perform a
Class level Reset service via the Set_Attribute_Single
service. Setting this attribute to any value is equivalent to
performing the Class level Reset service. Reading the Reset
All attribute always returns zero.
IMPORTANT
Instances 2…5 are not available when the module is configured in the
RSLogix 5000 software.
Table 74 - Relay Object Instance Attributes
Attribute ID
Access Rule
Name
Data Type
Description
Semantics
3
Get
Relay Status
BOOL
The status of the relay.
0 = Off
1 = On
4
Get/Set
Relay Enable
BOOL
Indicates whether this relay object is
enabled.
0 = Disabled
1 = Enabled
5
Get/Set
Latch Enable
BOOL
Indicates whether this relay latches
(requires a reset command to
deactivate).
0 = Nonlatching
1 = Latching
Summary of Contents for 1440-SDM02-01RA
Page 8: ...8 Rockwell Automation Publication 1440 UM001D EN P September 2016 Table of Contents Notes...
Page 10: ...10 Rockwell Automation Publication 1440 UM001D EN P September 2016 Summary of Changes Notes...
Page 12: ...12 Rockwell Automation Publication 1440 UM001D EN P September 2016 Preface Notes...
Page 167: ......