EasyManua.ls Logo

Kollmorgen AKD Basic

Kollmorgen AKD Basic
506 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...
AKD BASIC User Guide | 6 AKD BASIC Parameters, Operators, Statements
6.1.5 Const
General Information
Type Statement
Description
Declares symbolic constants to be used instead of
numeric values.
Units N/A
Range N/A
Default
Value
N/A
Data Type N/A
Start Ver-
sion
TBD
Description
Declares symbolic constants to be used instead of numeric values. Using the CONST State-
ment can make your program much more readable and self-documenting.
Unlike variables, CONSTANTS can assume only one value in a program.
Example
Const SLEW_SPEED = 2500
Const WORK_SPEED = 100
MOVE.RUNSPEED = SLEW_SPEED : MOVE.GOVEL
Pause (0.5)
MOVE.RUNSPEED = WORK_SPEED : MOVE.GOVEL
Related Topics
Alias
Kollmorgen | March 30, 2012 102

Table of Contents

Related product manuals