EasyManua.ls Logo

Allen-Bradley LOGIX 5000 - Page 550

Allen-Bradley LOGIX 5000
561 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 11
Common Attributes for Advanced Process Control and Drives Instructions
550 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
x is the small incremented variable.
y is the large incremented variable.
z is the total current count that can be used anywhere.
x = x+1;
if x = 100,000;
{
y = y + 100,000;
x = 0;
}
z = y + x;
Or another example:
x = x + some_tiny_number;
if (x >= 100)
{
z = z + 100;
x = x - 100; // there might be a tiny remainder
}

Table of Contents

Other manuals for Allen-Bradley LOGIX 5000

Related product manuals