_DCx

_SPx

_TVx

Return deceleration rate for the axis specified by ‘x’ Returns the jog speed for the axis specified by ‘x’

Returns the actual velocity of the axis specified by ‘x’ (averaged over .25 sec)

Examples

Jog in X only

Jog A motor at 50000 count/s. After A motor is at its jog speed, begin jogging C in reverse direction at 25000 count/s.

Instruction

Interpretation

#A

Label

AC 20000,,20000

Specify A,C acceleration of 20000 cts / sec

DC 20000,,20000

Specify A,C deceleration of 20000 cts / sec

JG 50000,,-25000

Specify jog speed and direction for A and C axis

BG A

Begin A motion

AS A

Wait until A is at speed

BG C

Begin C motion

EN

 

Joystick Jogging

The jog speed can also be changed using an analog input such as a joystick. Assume that for a 10 volt input the speed must be 50000 counts/sec.

Instruction

Interpretation

#JOY

Label

JG0

Set in Jog Mode

BGA

Begin motion

#B

Label for loop

vl =@AN[1]

Read analog input

vel=v1*50000/10

Compute speed

JG vel

Change JG speed

JP #B

Loop

DMC-2X00

Chapter 6 Programming Motion y 35

Page 90
Image 90
Galil DMC-2X00 user manual Jog in X only, Joystick Jogging, AS a, #Joy, JG0