Specify A Non-Retentive Assignment - 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

Specify a Non-retentive Assignment

The non-retentive assignment is different from the regular assignment described
above in that the tag in a non-retentive assignment is reset to zero each time the
controller does the following:
• Enters the RUN mode.
• Leaves the step of an SFC if you configure the SFC for Automatic reset. (This
applies only if you embed the assignment in the action of the step or use the
action to call a structured text routine via a JSR instruction.)
A non-retentive assignment has this syntax:
tag [:=] expression ;
where:
Component
Tag
[:=]
Expression
;
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Structured Text Programming
Description
Represents the tag that is getting the new value
The tag must be a BOOL, SINT, INT, DINT, or REAL
Is the non-retentive assignment symbol
Represents the new value to assign to the tag
If tag is this data type
BOOL
SINT
INT
DINT
REAL
Ends the assignment
Appendix C
Use this type of expression
BOOL expression
Numeric expression
671

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents