121
Command, function and parameter description
Section 6-3
6-3-29
AXISSTATUS
Type:
Axis Parameter
Description:
The AXISSTATUS axis parameter contains the axis status. The AXISSTA-
TUS axis parameter definition for the three axes are shown in the following
table.
The AXISSTATUS parameter is used for the motion error handling of the unit.
Refer to 8-2 Error Handling for more detailed information on error handling.
Note This parameter is read-only.
See also:
AXIS, ERRORMASK
Example:
IF (AXISSTATUS AND 16)>0 THEN PRINT "In forward limit"
6-3-30
BASE
Type:
Motion Control Command
Syntax:
BASE(
axis_1
[
,axis_2
[
, axis_3
]]
)
BASE
Alternative:
BA(
axis_1
[
, axis_2
[
, axis_3
]]
)
BA
Description:
The BASE command is used to set the default base axis or to set a specified
axis sequence group. All subsequent motion commands and axis parameters
will apply to the base axis or the specified axis group unless the AXIS com-
mand is used to specify a temporary base axis. The base axis is effective until
it is changed again with BASE.
Each BASIC process can have its own axis group and each program can set
its own axis group independently. Use the PROC modifier to access the
parameter for a certain task.
The BASE order grouping can be set by explicitly assigning the order of axes.
This order is used for interpolation purposes in multi-axes linear and circular
moves. The default for the base axis group is (0,1,2) at start-up or when a pro-
gram starts running on a task. The BASE command without any arguments
returns the current base order grouping.
Bit
num
ber
Description
Value
Character
(as used
in Motion
Perfect)
Axis 0
(Servo
Driver)
Axis 1
(Encoder in/
out, virtual)
Axis 2
(Virtual)
0
-
1
-
-
-
-
1
Following Error Warning
2
w
x
-
-
2
Servo Driver Communication Error
4
a
x
-
-
3
Servo Driver Alarm
8
m
x
-
-
4
Forward Limit
16
f
x
x
x
5
Reverse Limit
32
r
x
x
x
6
Datuming
64
d
x
x
x
7
Feed Hold Input
128
h
x
x
x
8
Following Error Limit
256
e
x
-
-
9
Forward Software Limit
512
x
x
x
x
10
Reverse Software Limit
1024
y
x
x
x
11
Cancelling Move
2048
c
x
x
x
12
Encoder Out Overspeed
4096
o
-
x
-