beautypg.com

A - using variables, Appendix a, Using variables – Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 273

background image

AĆ1

Appendix A

Using Variables

All operations performed in AutoMax programs use symbolic names (variables) to

represent storage locations for inputs, outputs, and other data. You use these variables

to reference ladder instruction input and output parameters.
With the Editor you name variables just as you do in the Variable Configurator. Variable

names can be a maximum of 16 characters. The valid characters are AćZ, aćz, 0ć9, and

_ (underscore). Names must begin with a letter.
The type of variable you choose depends upon the type of operation to be performed.

Variables are either:

D simple

stores a single piece of data
The data can be Boolean, integer, or double

integer.

D array

stores a collection of data of the same data type
The data can be Boolean, integer, or double

integer.

D data structure

stores both Boolean and double integer data
Data structures are used for Timer and Counter

data types.
You can use preĆdefined keywords to help you

specify the individual timer and counter

elements.