All BASIC commands
Section 4-2
144
/i
/i
/i
/i
Bit
Description (MECHATROLINK-II)
0
Alarm
1
Warning
2
Ready
3
Servo on
4
Power on
5
Machine Lock
6
Home Position
7
At Position/Speed
8
Output Completed
9
Torque Limit
10
Latch Completed
11
In Range/Speed Limit
For Flexible Axis axes, this parameter holds the status of registration
and auxiliary inputs, as well as registration selection. The explanation of
each bit is given in the second table below. (Note: Only bits relevant to
Flexible axis are listed.)
Bit
Description (Flexible Axis)
0
MARK
1
MARKB
2
REG 0 selected current value
3
REG 1 selected current value
5
REG 0 current value
6
REG 1 current value
Arguments
N/A
Example
PRINT DRIVE_STATUS AXIS(4)
This command will print the current value of
DRIVE_STATUS
for
axis(4).
Example
BASE(3)
ATYPE = 44
IF (DRIVE_STATUS AND 32)= 32 THEN
PRINT "REG 0 input is ON for axis(3)"
ENDIF
See also
AXIS
,
MARK
,
MARKB
,
REGIST
.
Содержание 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...