Status Table





nStatus – function argument

BIT #

RETURN VALUE

0


16 input line condition

1-4
fault/trap/limit information
for axes 1 – 4 respectively

0

1 = position error

0 = no fault

1

1 = RMS current error

0 = no fault

2

1 = integral error

0 = no fault

3

1 = hardware limit +

0 = no fault

4

1 = hardware limit -

0 = no fault

5

1 = software limit +

0 = no fault

6

1 = software limit -

0 = no fault

7

1 = driver fault

0 = no fault

8

1 = feedback device error

0 = no fault

9

1 = global abort active

0 = global abort inactive

10 - 11

unused

12

1 = feedrate > max setting error

0 = no fault

13

1 = velocity error

0 = no fault

14

1 = emergency stop

0 = no fault

15 - 30

unused

31

1 = driver interlock open

0 = no fault

5
returns axis active/in position/plane
Information

0

1 = axis 1 enabled

0 = disabled

1

1 = axis 2 enabled

0 = disabled

2

1 = axis 3 enabled

0 = disabled

3

1 = axis 4 enabled

0 = disabled

4

1 = axis 1 not in position

0 = in position

5

1 = axis 2 not in position

0 = in position

6

1 = axis 3 not in position

0 = in position

7

1 = axis 4 not in position

0 = in position

8

1 = plane 1 comm. busy

0 = comm. OK

9

1 = plane 2 comm. busy

0 = comm. OK

10

1 = plane 3 comm. busy

0 = comm. OK

11

1 = plane 4 comm. busy

0 = comm. OK

12

1 = queue 1 buffer is not empty

0 = empty *

13

1 = queue 2 buffer is not empty

0 = empty *

14

1 = queue 3 buffer is not empty

0 = empty *

15

1 = queue 4 buffer is not empty

0 = empty *

16

1 = plane 1 halted

0 = plane 1 "running"

17

1 = plane 2 halted

0 = plane 2 "running"

18

1 = plane 3 halted

0 = plane 3 "running"

19

1 = plane 4 halted

0 = plane 4 "running"

20

1 = global abort active

21

1 = feedhold active

22

1 = PC Bus Interrupt high

23

1 = not ready for next command

24 - 31

unused

6


returns the current manual feedrate override % (MFO)

7
returns joystick status

0-1

00 = high velocity mode

01 = low velocity mode

1x = absolute positioning mode

2-3

00 = plane 1 active

01 = plane 2 active

1x = block delete active (digitizing mode)

4

1 = joystick interlock open (error)

0 = joystick interlock closed (normal)

5-7

000 = no current horizontal axis defined

001 = axis 1 active

010 = axis 2 active

011 = axis 3 active

100 = axis 4 active

8-10

current vertical axis (0-4)

000 = no current vertical axis defined

001 = axis 1 is the active vertical axis

010 = axis 2 is the active vertical axis

011 = axis 3 is the active vertical axis

100 = axis 4 is the active vertical axis

11

1 = received joystick cancel command

12-13

unused

14

0 = joystick is deactivated

1 = joystick is now active

8


returns the currently active board number (1-6)

9 - 12


returns the number of number of actions remaining in queue for planes 1-4.
This data is meaningless when used with the PLC or QUEUE commands.



* An empty queue means that there are no unprocessed commands. If a plane's queue buffer is marked "not empty", it is processing commands.