Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual
Page 15

XIII
Appendix A
Using Variables
AĆ1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.1 Data Types
AĆ3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.1.1 Boolean Variables
AĆ3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.1.2 Integer and Double Integer Variables
AĆ4
. . . . . . . . . . . . . . . . .
A.1.3 Timer Variables
AĆ6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.1.4 Counter Variables
AĆ8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.1.5 Labels
AĆ9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2 Accessing Data Within Variables Via BitĆIndexing and
ElementĆIndexing
AĆ10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.3 Global and Local Variables (Scope)
AĆ11
. . . . . . . . . . . . . . . . . . . . . . . .
A.3.1 Local Variables
AĆ11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.3.2 Global Variables
AĆ12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.4 Arrays
AĆ13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.5 Constants
AĆ15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6 About Initializing Variables
AĆ15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.1 About the No Initialization (No Init.) Method
AĆ16
. . . . . . . . . . . .
A.6.2 About the User Specified Initialization Method
AĆ18
. . . . . . . . .
A.6.3 About the Retained Value Initialization Method
AĆ18
. . . . . . . . .
A.6.4 About Initializing Timer and Counter Variables
AĆ19
. . . . . . . . .
A.6.5 About Initializing Arrays
AĆ19
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.6 Defining the Type of Initialization To Use for a Variable
AĆ20
. .
A.6.7 Defining the Initial Value of a Variable
AĆ21
. . . . . . . . . . . . . . . . .
Appendix B
Using Timer Variables in BASIC Programs
BĆ1
. . . . . . . . . . . . . . . . . . . . . . .
Appendix C
Using Counter Variables in BASIC Programs
CĆ1
. . . . . . . . . . . . . . . . . . . . .