'***************************************************************************
'Galil Motion Control Sample DMC Code
'***************************************************************************
'Description:
'Vector Mode example that specifies beginning & end speeds on individual
'segments
'***************************************************************************
#b                        ;'label
CA S                       ;'set coordinate system to S
VM AB                      ;'define plane as XY
VA 500000                 ;'vector acceleration
VD 500000                 ;'vector deceleration
'VS 5000                  ;'vector speed
VP 4000, 0<25000>5000     ;'move AB
CR 500, -90, 180          ;'move BC
VP -1000, 1000<25000>5000 ;'move CD
CR 500, 90, 180           ;'move DE
VP 0,0 <25000             ;'move EA
VE                        ;'indicate end of path
BG S                       ;'start motion sequence
EN                        ;'end program