![background image](http://html1.mh-extra.com/html/omron/sysmac-cj-series/sysmac-cj-series_operation-manual_743585101.webp)
All BASIC commands
Section 4-2
89
4-2-16 #
/i
4-2-17 ABS
/i
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
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
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
2
. You can define the
units with the
UNITS
axis parameter.
Example
ACC(100)
Sets
ACCEL
and
DECEL
to 100 units/s
2
.
See also
ACCEL
,
DECEL
,
UNITS
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...