All BASIC commands
4-2-16 #
4-2-17 ABS
4-2-18 ACC
/i
Type
Special character
Syntax
#
Description
The # symbol is used to specify a communications channel to be used
for serial input/output commands.
Note: Communications Channels greater than 3 will only be used when
running the Trajexia Studio software.
Arguments
N/A
Example
PRINT #5, "Communication port 1"
See also
N/A
/i
Type
Mathematical function
Syntax
ABS(expression)
Description
The ABS function returns the absolute value of an expression.
Arguments
•
expression
Any valid BASIC expression.
Example
IF ABS(A) > 100 THEN PRINT "A is outside range -100 ... 100"
See also
N/A
/i
Type
Axis command
Syntax
ACC(rate)
Description
Sets the acceleration and deceleration at the same time.
This command gives a quick method to set both ACCEL and DECEL.
Acceleration and deceleration rates are recommended to be set with the
ACCEL and DECEL axis parameters.
Arguments
•
rate
The acceleration/deceleration rate in units/s
units with the UNITS axis parameter.
Example
ACC(100)
Sets ACCEL and DECEL to 100 units/s
See also
ACCEL, DECEL, UNITS
Section 4-2
2
. You can define the
2
.
89