Appendix d – Rockwell Automation 57C610 Enhanced Basic Language, AutoMax User Manual
Page 139

DĆ1
Appendix D
BASIC Language Statements and
Functions Supported in UDC
Control Block Tasks
The following BASIC statements are supported in UDC Control Block tasks:
CLR_ERRLOG
COMMON
END
FORĆNEXT
GOSUB
GOTO
IFĆTHENĆELSE
INCLUDE
LET
LOCAL
ON ERROR
REM OR !
RESUME
RETURN
SET_MAGNITUDE
The following BASIC functions are supported in UDC Control Block tasks:
ABS
ATAN
BCD_IN%
BCD_OUT%
COS
EXP
LN
ROTATEL%
ROTATER%
SHIFTL%
SHIFTR%
SIN
SQRT
TAN
TST_ERRLOG@
WRITE_TUNE
The following expressions are supported in UDC Control Block tasks:
+
Addition, Unary+
-
Subtraction, Unary-
*
Multiplication
/
Division
**
Exponentiation
AND
Logical AND"
OR
Logical OR"
XOR
Logical exclusiveĆOR"
NOTUnary boolean operator performs a boolean complement
=
Equal to
<
Less than
>
Greater than
<=
Less than or equal to
>=
Greater than or equal to
<>
Not equal to
><
Not equal to