beautypg.com

Ocean Optics XYZ Mapping Tables User Manual

Page 22

background image

3: Operating Instructions

14

000-10000-130-02-1209

Request Commands (Cont’d)

Command

Description

Example

GAST

Get actual status (4 Bits)

Bit 0: 1 limit switch 2 at high level

0 limit switch 2 at low level

Bit 1: 1 limit switch 3 at high level

0 limit switch 3 at low level

Bit 2: 1 positive values -> right rotation

0 positive values -> left rotation

Bit 3: 1 power on homing sequence is running

0 power on homing sequence has ended

GAST

-> 1100

GSCS

Get special configuration set (8 Bits)

Bit 0: 1 Power on homing sequence is active

0 Power on homing sequence is inactive

Bit 1: 1 Fault pin is an input

0 Fault pin is an output

Bit 2: 1 Pulse output at fault pin (Bit 1=0)

0 Error signal at fault pin (Bit 1=0)

Bit 3: 1 Fault pin is direction of rotation input (Bit 1=1)

Fault pin is digital output (Bit 1=0)

0 Fault pin is limit switch input 2 (Bit 1=1)

Fault pin is not digital output (Bit 1=0)

Bit 4: 1 Rising edge at limit switch 2

0 Falling edge at limit switch 2

Bit 5: 1 Rising edge at limit switch 3

0 Falling edge at limit switch 3

Bit 6: 1 Program sequence is active

0 Program sequence is inactive

Bit 7: 1 Automatic answer8ing is active

0 Automatic answering is inactive

GSCS

-> 00000001