Further assume that the Z must move 2" at a linear speed of 2" per second. The required motion is performed by the following instructions:

INSTRUCTION FUNCTION

#A

Label

VM XY

Circular interpolation for XY

VP 160000,160000

Positions

VE

End Vector Motion

VS 200000

Vector Speed

VA 1544000

Vector Acceleration

BGS

Start Motion

AMS

When motion is complete

PR,,-80000

Move Z down

SP,,80000

Z speed

BGZ

Start Z motion

AMZ

Wait for completion of Z motion

CR 80000,270,-360

Circle

VE

 

VS 40000

Feedrate

BGS

Start circular move

AMS

Wait for completion

PR,,80000

Move Z up

BGZ

Start Z move

AMZ

Wait for Z completion

PR -21600

Move X

SP 20000

Speed X

BGX

Start X

AMX

Wait for X completion

PR,,-80000

Lower Z

BGZ

 

AMZ

 

CR 80000,270,-360

Z second circle move

VE

 

VS 40000

 

BGS

 

AMS

 

PR,,80000

Raise Z

BGZ

 

AMZ

 

VP -37600,-16000

Return XY to start

VE

 

VS 200000

 

BGS

 

AMS

 

EN

 

Chapter 7 Application Programming • 144

USER MANUAL

Page 144
Image 144
Galil DMC-13X8 user manual Bgz Amz, Bgs Ams