CloseClose
CloseClose
Close

Comactlogix

No products

Date, new to old

Featured Best selling Alphabetically, A-Z Alphabetically, Z-A Price, low to high Price, high to low Date, old to new Date, new to old

There are no products in this collection. Keep on shopping.

The programming language for Allen-Bradley CompactLogix control systems is structured text (ST). This programming language allows efficient and flexible programming of control sequences.

ST can be used to program complex mathematical calculations, logical expressions and loops. The syntax is similar to the Pascal programming language.

An example of an ST program in CompactLogix:

PROGRAM MainRoutine
VAR
Counter: INT := 0;
END_VAR

IF Counter < 10 THEN
Counter := Counter + 1;
ELSE
Counter := 0;
END_IF

Note that the syntax for variables, expressions, and statements in ST must be strictly adhered to in order to control the program flow correctly.

ST provides a good way to implement complex control requirements and is especially useful when mathematical calculations or complex logical expressions are required.

Link to the manufacturer

Close