Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
iconfalse
titleCalling Program
//Calling the Macro
//Enable and home the axes. 
//The G16 command defines the coordinate system for G2/G3 motion and the direction of motion in each of the planes (X/Y, Y/Z, Z/X)
//This example programs motion on the X/Y axes. G17 selects the X/Y plane
//VELOCITY ON enables contouring (constant velocity) between G1/G2/G3 moves
 
ENABLE X Y 
HOME X Y 
G16 X Y Z 
G17
VELOCITY ON 

SCOPETRIG
//Place spiral with center at X=0, Y=0, radius=10, speednumber of turns=5 and number of turnsspeed=10
Spiral(0,0,10,5,10)


Info
iconfalse
title2D Plot of Motion

Screen capture of output from example program. Motion starts at angle=0 on the X axis and moves in the clockwise direction (G2) for 5 iterations.


...