![background image](http://html1.mh-extra.com/html/omron/sysmac-cj-series/sysmac-cj-series_operation-manual_743585102.webp)
All BASIC commands
Section 4-2
90
4-2-19 ACCEL
/i
4-2-20 ACOS
/i
4-2-21 ADD_DAC
/i
Type
Axis parameter
Syntax
ACCEL = expression
Description
The
ACCEL
axis parameter contains the axis acceleration rate. The
rate is set in units/s
2
. The parameter can have any positive value includ-
ing zero.
Arguments
N/A
Example
BASE(0)
ACCEL = 100 ' Set acceleration rate
PRINT "Acceleration rate: "; ACCEL; " mm/s/s"
ACCEL AXIS(2) = 100 ' Sets acceleration rate for axis (2)
See also
ACCEL
,
DECEL
,
UNITS
Type
Mathematical function
Syntax
ACOS(expression)
Description
The
ACOS
function returns the arc-cosine of the expression. The
expression value must be between -1 and 1. The result in radians is
between 0 and PI. Input values outside the range will return 0.
Arguments
•
expression
Any valid BASIC expression.
Example
>> PRINT ACOS(-1)
3.1416
See also
N/A
Type
Axis command
Syntax
ADD_DAC(axis)
+
_
SERVO = OFF
SERVO = ON
Final speed reference in AXIS(n) =
DAC_OUT AXIS(m) + DAC_OUT AXIS(n)
ADD_DAC(n) AXIS(m):
+
+
AXIS m
Position loop
Demanded
position
Measured
position
Following
error
Speed
command
+
_
SERVO = OFF
SERVO = ON
AXIS n
Position loop
Demanded
position
Measured
position
Following
error
Speed
command
DAC
DAC
Содержание 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...