Esp_Get_Motor_Onoff_Status(Long *Onoff) - Newport ESP6000 User Manual

Motion controller/driver
Table of Contents

Advertisement

esp_get_motor_onoff_status
Synopsis:
Arguments:
Library Location:
Description:
Returns:
5-60
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Report Motor ON/OFF status
#include "esp6000.h"
int esp_get_motor_onoff_status(long *onoff)
long *onoff
motor ON/OFF status where bits 0 - 5 correspond to axes 1-6
\esp6000.dll
esp_get_motor_onoff_status() reports all axes motor on/off status in binary format
where axis-1 corresponds to bit-0 and axis-6 bit-5. If the corresponding bit is equal to
'0' then the axis is OFF (disabled). If the corresponding bit is equal to '1' then the motor
is ON (enabled).
If motor type not previously defined then the corresponding status bit will equal zero (0).
BIT#
VALUE
0
0
0
1
1
0
1
1
2
0
2
1
3
0
3
1
4
0
4
1
5
0
5
1
6
0
6
1
7
0
7
1
31
0
31
1
ESPOK, ESPERROR
Hint:
NOTE
DEFINITION
axis-1 motor not enabled
axis-1 motor enabled
axis-2 motor not enabled
axis-2 motor enabled
axis-3 motor not enabled
axis-3 motor enabled
axis-4 motor not enabled
axis-4 motor enabled
axis-5 motor not enabled
axis-5 motor enabled
axis-6 motor not enabled
axis-6 motor enabled
reserved
reserved
reserved
reserved
reserved
reserved

Advertisement

Table of Contents
loading

This manual is also suitable for:

Unidrive6000

Table of Contents