Omron SYSMAC CJ Operation Manual page 156

Sysmac cj-series programmable controller motion control unit
Hide thumbs Also See for SYSMAC CJ:
Table of Contents

Advertisement

All BASIC commands
144
/i
Bit
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
/i
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.)
/i
Bit
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
/i
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.
Description (MECHATROLINK-II)
Description (Flexible Axis)
Section 4-2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj1w-mch72

Table of Contents