beautypg.com

Ocean Optics XYZ Mapping Tables User Manual

Page 21

background image

3: Operating Instructions

000-10000-130-02-1209

13

Request Commands

Command

Description

Example

POS

Get actual position

POS -> 5000

GN

Get actual speed

GN -> 1000

GCL

Get actual current limit

GCL -> 1500

GRC

Get real current

GRC -> 800

TEM

Get temperature of motor housing

TEM -> 35

VER

Get version of controller software

VER ->
Version...

NE

Notify error

In case of an error the host will be signalled

NE1: activate (sends ”r” to the host)

NE0: deactivate

NE1

Async -> r

GST

Get actual status (7 Bits)

Bit 0: 1 position controller active

0 velocity controller active

Bit 1: 1 velocity analog zu PWM

0 velocity given at RS-232

Bit 2: 1 velocity is PWM (Bit 1=1)

0 velocity is analog (Bit 1=1)

Bit 3: 1 drive enabled

0 drive disabled

Bit 4: 1 command position has been reached

0 command position has not been reached yet

Bit 5: 1 positive edge at limit switch is active

0 negative edge at limit switch is active

Bit 6: 1 limit switch set to high level

0 limit switch set to low level

GST

-> 0101011

GFS

Get fault status (4 Bits), 0-no error, 1-error

Bit 0: Overtemperature

Bit 1: Current limit

Bit 2: Undervoltage

Bit 3: Overvoltage

GFS

-> 0000