'***************************************************************************
'Galil Motion Control Sample DMC Code
'***************************************************************************
'Description:
'Electronic Gearing example
'***************************************************************************
#main
  GA B,,B     ;'B is master for X and Z
  GR 5,,-2.5  ;'X ratio = 5, Z ratio = -2.5
  PR ,10000   ;'B distance
  SP ,10000   ;'B speed
  AC ,250000  ;'B acceleration
  DC ,250000  ;'B deceleration
  BG B        ;'begin motion
EN            ;'end program