Ocean Optics HL-2000-HP-232 User Manual
Page 21

A: ASCII Commands
000-10000-140-02-201307
13
Command Function
Description
Example
GRC
Get Real Current
This command returns the current being used in
milliamperes
GRC
GST
Get Status
This command returns motion controller status.
Bit Description
Bit 0: 1... Position mode
0... Velocity mode
Bit 1: 1... Speed command is analog input
0... Speed command comes via RS232
Bit 2: 1... Speed command is PWM (SOR 2)
0... Speed command is analog voltage(SOR1)
Bit 3: 1... Amplifier Enabled
0... Amplifier Disabled
Bit 4: 1... In Position
0... Not in Position
Bit 5: 1... Rising edge on external switch is
valid
0... Falling edge on external switch is
valid
Bit 6: 1... External switch now high level
0... External switch now low level
GST
GFS
Get Fault Status
This command returns fault status.
Bit Description
(0 is normal, 1 is Fault present)
0
Over-temperature condition
1
Over-current condition
2
Under-voltage (< 15VDC)
3
Over-voltage (> 28VDC)
GFS