Publication 1756-UM523F-EN-P - December 2006
156 Set Up EtherNet/IP Communication Across Subnets
Get the Redundancy State of Chassis A
If Timer_RedundancyMSGs.DN = 1 (2 seconds are up so execute the MSG instruction again)
And ChasA_GetRedundState_FromENBT.EN = 0 (The MSG instruction is not currently enabled.)
Then
Execute a MSG instruction that gets the redundancy state of Chassis A from the ENBT module in Chassis A. Store the
value in ChasA_RedundancyState (data type = DINT).
Tag Name Description Alias For Data Type
Timer_RedundancyMSGs Periodic trigger for the execution of MSG
instructions. Triggers MSGs every 2s.
TIMER
ChasA_GetRedundState_FromENBT Message instruction that gets the redundancy state
of Chassis A.
MESSAGE
ChasA_RedundancyState Redundancy state of the Chassis A:
2 = PwQS
3 = PwDS
4 = PwNS
DINT
MSG Parameter Value
Message Type CIP Generic
Service Type Get Attribute Single
Service Code e
Class c0
Instance 1
Attribute 4
Source Element