![background image](http://html1.mh-extra.com/html/omron/r88a-mcw151-drt-e/r88a-mcw151-drt-e_operation-manual_742243152.webp)
137
Command, function and parameter description
Section 6-3
Each task has its own ERROR_LINE parameter. Use the PROC modifier to
access the parameter for a certain task. Without PROC the current task will
be assumed. Refer to 8-2 Error Handling for more detailed information on
error handling.
Note This parameter is read-only.
See also:
BASICERROR, PROC, RUN_ERROR
Example:
>> PRINT ERROR_LINE PROC(4)
23.0000
6-3-67
ERRORMASK
Type:
Axis Parameter
Description:
The ERRORMASK axis parameter contains a mask value that is ANDed bit
by bit with the AXISSTATUS axis parameter on every servo cycle to deter-
mine if a motion error has occurred.
When a motion error occurs the enable switch (WDOG) will be turned OFF,
the MOTION_ERROR parameter will have value 1 and the ERROR_AXIS
parameter will contain the number of the first axis to have the error.
Check the AXISVALUES parameter for the status bit allocations. The default
setting of ERRORMASK is 268. Refer to 8-2 Error Handling for more detailed
information on error handling.
!Caution
It is up to the user to define in which cases a motion error is generated. For
safe operation it is strongly recommended to generate a motion error when
the following error has exceed its limit for the servo axis 0 in all cases. This is
done by setting bit 8 of ERRORMASK.
See also:
AXIS, AXISSTATUS, ERROR_AXIS, MOTION_ERROR, WDOG
6-3-68
EXP
Type:
Mathematical Function
Syntax:
EXP(
expression
)
Description:
The EXP function returns the exponential value of the expression.
Arguments:
expression
Any valid BASIC expression.
Example:
>> print exp(1.0)
2.7183
6-3-69
FALSE
Type:
Constant
Description:
The FALSE constant returns the numerical value 0.
Note A constant is read-only.
Example:
test:
res = IN(0) OR IN(2)
IF res = FALSE THEN
PRINT "Inputs are off"
ENDIF
6-3-70
FAST_JOG
Type:
Axis Parameter