beautypg.com

Ocean Optics XYZ Mapping Tables User Manual

Page 19

background image

3: Operating Instructions

000-10000-130-02-1209

11

Commands for Evaluating Limit Switches and Homing Points (Cont’d)

Command

Description

Example

HB*

Hard blocking

Activates hard blocking for given limit switch

1**: activate

0**: deactivate

HB3

HD*

Hard direction

Sets the direction to be blocked

1**: right rotation blocked

0**: left rotation blocked

HD2

GOHIX

Go hall index

Motor runs to hall zero and sets the position to 0

GOHIX

HS

Hard status

A number 1-3 indicating which limit switches have activated

HS

-> 3

GAHS

Get actual homing status

5 numbers with values between 0 and 3 are sent to the host. Indication the
status of the limit switches

HA value

HL

HN

HB

HD

GAHS

-> 33300

GHSC

Get homing sequence configuration

3 numbers between 0 and 3. Indicating the settings of the homing
sequence

HA

HL

HN

GHSC

-> 220

Commands for Parameters

Command

Description

Example

SP* ***

Load maximum speed

Loads new maximum velocity (rpm) Range 0 to 30000

SP1000

GSP

Get maximum speed

Calls up actual maximum velocity

GSP

-> 1000