Allen-Bradley Compact GuardLogix 5370 User Manual page 133

Hide thumbs Also See for Compact GuardLogix 5370:
Table of Contents

Advertisement

If an array tag uses indirect addressing to access limits in logic, the following
conditions apply:
• If the array tag has limits that are configured, the extended properties are
applied to any array element that does not explicitly have that particular
extended property configured. For example, if the array tag MyArray has
max configured to 100, any element of the array that does not have Max
configured inherits the value of 100 when being used in logic. However,
it is not visible to you that the value inherited from MyArray is
configured in the tag properties.
• At least one array element must have a limit that is configured for
indirectly referenced array logic to verify. For example, if
MyArray[x].@Max is being used in logic, at least one array element of
MyArray[] must have Max extended property that is configured if
MyArray has not configured Max.
• Under the following circumstances a data type default value is used:
– Array is accessed programmatically with indirect reference.
– Array tag does not have the extended property configured.
– A member of an array does not have the extended property
configured.
For example, for an array of SINT type, when max limit is called in logic
for a member, use the value of 127.
If an array element is directly accessed, the element has to have the extended
property defined. If not, verification fails.
Rockwell Automation Publication 1769-UM022C-EN-P - June 2018
Elements of a Control Application
Chapter 8
133

Advertisement

Table of Contents
loading

Table of Contents