![background image](http://html1.mh-extra.com/html/omron/r88a-mcw151-drt-e/r88a-mcw151-drt-e_operation-manual_742243130.webp)
115
Command, function and parameter description
Section 6-3
Example:
IF ABS(VR(0)) > 100 THEN PRINT "VR(0) Outside
±
100"
6-3-16
ACCEL
Type:
Axis parameter
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 including zero.
See also:
AXIS, DECEL, UNITS
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)
6-3-17
ACOS
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 will be between 0 and
PI. Input values outside the range will return zero.
Arguments:
expression
Any valid BASIC expression.
Example:
>> PRINT ACOS(-1)
3.1416
6-3-18
ADD_DAC
Type:
Motion Control Command
Description:
The ADD_DAC command can provide dual feedback control by allowing a
secondary encoder (axis 1) to be used on the servo axis (axis 0). The com-
mand allows the output of 2 servo loops to be summed to determine the
speed reference to the servo driver.
This command is typically used in applications such as a roll-feed where a
secondary encoder would be required to compensate for slippage.
For using ADD_DAC it is necessary for the two axes with physical feedback to
link to a common axis on which the required moves are executed. Typically
this would be achieved by running the moves on one of the two axes and
using ADDAX or CONNECT to produce a matching demand position (DPOS)
for both axes. The servo loop gains need to be set for both axes. The servo
M E
E
Axis 0
Axis 1