Relay Ladder; Structured Text - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Example:
Follow these steps to reconfigure an I/O module.
1. Set the required member of the configuration tag of the module to the new
value.
2. Send a Module Reconfigure message to the module.
When reconfigure[5] is set, set the high alarm to 60 for the local module in slot 4.
The Module Reconfigure message then sends the new alarm value to the module.
The one shot instruction prevents the rung from sending multiple messages to
the module while the reconfigure[5] is on.
TIP

Relay Ladder

Structured Text

IF reconfigure[5] AND NOT reconfigure[6]THEN
Local:4:C.Ch0Config.HAlarmLimit := 60;
IF NOT change_Halarm.EN THEN
MSG(change_Halarm);
END_IF;
END_IF;
reconfigure[6] := reconfigure[5];
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Input/Output Instructions (MSG, GSV, SSV, IOT)
We recommend that you always include an XIO of the MSG.EN bit as an
in-series MSG rung precondition.
Chapter 4
175

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents