![Ocean Optics HL-2000-HP-232 Installation And Operation Manual Download Page 20](http://html1.mh-extra.com/html/ocean-optics/hl-2000-hp-232/hl-2000-hp-232_installation-and-operation-manual_3229021020.webp)
A: ASCII Commands
12
000-10000-140-02-1209
Command
Function
Description
Example
HL
Home Limit Action
This command is used to set the action that
occurs when the limit switch is activated. If HL
is set to 0, the motor will continue to run after
switch activation but will send an "h" message
signifying home switch was triggered. If HL is
set to 1, the motor will stop immediately after
switch activation.
HL 1
HN
Hard Notify
If HN is set to 1, it configures the motion
controller to send a serial message "h" once the
external limit switch is triggered.
HN 1
HP
Define External Switch
Polarity
This command defines the activation edge of
the external switch. If HP is 0 a falling edge at
the external limit switch is valid. If HP is 1 a
rising edge occurs actions due to HL, HN and
HA-commands.
HP 0
HS
External Switch Status
This command returns the state of the limit
switch. If the limit switch was active and an HS
request is sent, the controller will return a 1. If
the limit switch was not active since a HL, HN
or HA-command was sent an HS request will
return a 0 to the host.
HS
Commands That Return Data
Command
Function
Description
Example
GV
Get Velocity
Commanded
This command returns the command velocity
sent.
GV
GN
Get Actual Velocity
This command returns the actual velocity.
GN
GI
Get Integral Term
This command returns the Integral gain setting. GI
GCL
Get Current Limit
This command returns the present current limit. GCL
POS
Get Present Position
This command returns the present motor
position.
POS
TEM
Get Temperature
This command returns the present coil
temperature (in °C)
TEM
GAC
Get Acceleration
This command returns acceleration
GAC
GSP
Get Maximum Speed
This command returns Maximum speed setting. GSP