Rockwell Automation 57C610 Enhanced Basic Language, AutoMax User Manual
Page 3

I
Table of Contents
1.0 Introduction
1Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 Compatibility with Earlier Versions
1Ć1
. . . . . . . . . . . . . . . . . . . . . . . . .
1.2 Additional Information
1Ć2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3 Related Hardware and Software
1Ć2
. . . . . . . . . . . . . . . . . . . . . . . . . . .
2.0 Programming For AutoMax Systems
2Ć1
. . . . . . . . . . . . . . . . . . . . . . . . .
2.1 Configuration
2Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Version 3.0 and Later Systems
2Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Version 2.1 and Earlier Systems
2Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 AutoMax Application Tasks
2Ć2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Universal Drive Controller Application Tasks
2Ć3
. . . . . . . . . . . . . . . . .
3.0 Structure Of An AutoMax Enhanced BASIC Program
3Ć1
. . . . . . . . . .
3.1 Line Format
3Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 MultiĆStatement Lines
3Ć2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 MultiĆLine Statements
3Ć3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.0 Variables and Constants
4Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1 Variables
4Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.1 Simple Variables
4Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.1.1 Single Integer Variables
4Ć2
. . . . . . . . . . . . . . . . . . . . . .
4.1.1.2 Double Integer Variables (Long Integers)
4Ć3
. . . . . . .
4.1.1.3 Real Variables
4Ć3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.1.4 Boolean Variables
4Ć4
. . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.1.5 String Variables
4Ć4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.2 Subscripted Variables (Arrays)
4Ć4
. . . . . . . . . . . . . . . . . . . . . . .
4.1.3 Variable Control Types
4Ć6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.4 PreĆdefined Common Memory Variables
4Ć8
. . . . . . . . . . . . . .
4.2 Constants
4Ć8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.1 Integer Constants
4Ć8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.2 Hexadecimal Constants
4Ć9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.3 Real Constants
4Ć10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.4 String Constants
4Ć10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.5 Boolean Constants
4Ć11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.0 Expressions
5Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1 Arithmetic Expressions
5Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2 String Expressions
5Ć3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3 Boolean Expressions
5Ć4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4 Relational Expressions
5Ć6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5 Mixed Mode (Integers and Reals) Arithmetic
5Ć7
. . . . . . . . . . . . . . . . .
6.0 AutoMax Enhanced Basic Statement Types
6Ć1
. . . . . . . . . . . . . . . . . . .
6.1 Defining Variable Control
6Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.1.1 LOCAL Statement
6Ć1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.1.2 COMMON Statement
6Ć3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.2 Program Documentation
6Ć4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.3 Variable Assignment (LET/SET_MAGNITUDE)
6Ć6
. . . . . . . . . . . . . . .
6.4 Transferring Program Control
6Ć7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .