EasyManua.ls Logo

Control Techniques UD70

Control Techniques UD70
154 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...
UD70
Issue code: 70nu2
DPL programming 4-19
There are two parts to an alias, as follows:
Name
parameter
The name parameter specifies the name to be defined. This
can be any combination of letters, digits and underscore
characters. Spaces are not permissible.
Value
parameter
The value parameter can be used to specify any constant
value or parameter number.
Example
This example demonstrates use of the $DEFINE directive to assign
names to parameter numbers (#3.02 and #1.21) and to a value (500).
$define MAX_SPEED 500
$define SPEED #3.02
$define SPEED_DEMAND #1.21
BACKGROUND{
top:
IF SPEED < MAX_SPEED THEN
SPEED_DEMAND = SPEED_DEMAND + 1
ENDIF
GOTO top:
}

Table of Contents

Other manuals for Control Techniques UD70

Related product manuals