All BASIC commands
Section 4-2
151
4-2-96 ERRORMASK
/i
!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 exceeded its limit in all cases. This is done by setting bit 8 of
ERRORMASK
4-2-97 EX
/i
4-2-98 EXP
/i
Type
Axis parameter
Syntax
ERRORMASK
Description
The
ERRORMASK
axis parameter contains a mask value that is
AND
ed bit by bit with the
AXISSTATUS
axis parameter on every servo
cycle to determine if a motion error has occurred. If the result of the
AND operation is not zero, the motion error has occurred.
When a motion error occurs the enable switch (
WDOG
) will be turned
off, the
MOTION_ERROR
parameter will have value different than 0
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.
Arguments
N/A
Example
No example.
See also
AXIS
,
AXISSTATUS
,
MOTION_ERROR
,
WDOG
.
Type
System command
Syntax
EX[(option)]
Description
Resets the controller as if it were being powered up again.
There are two types of reset performed by the
EX
command.
EX
without
the argument, or
EX(0)
does the software reset of the controller.
EX(1)
does the hardware reset of the controller
Arguments
N/A
Example
No example.
See also
N/A
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
See also
N/A
Содержание 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...