Manual: Example Programs
Some sample programs. Note I’ve spaced out and added comments for readability.
Program 1
We want the table to rotate 180 degrees, wait for the operator, then rotate back in the opposite direction and repeat.
1> Speed 5 2> Loop Forever 3> Direction CW 4> Go to 0.00 5> Wait Operator 6> Direction CCW 7> Go To 180.00 8> Wait Operator 9> End Loop 10> End |
; Set speed = 5 ; Loop forever ; clockwise rotation ; go to 0.00 ; wait for operator to press [G] ; counter clockwise rotation ; go to 180 degrees ; wait for operator to press [G] ; back to line 2 ; end program |
A slightly shorter version of the above using Direction Flip:
1> Speed 5 |
Program 2
We want to drill 10 holes equally spaced around a circle, such that every other hole is 3mm and the remainder are 5mm. So we divide by 5, drill and step. Then move 1/10th and divide by 5 again drill and step.
Example using move by degrees.
1> Speed 3 |
; set speed to 3 |
Example using move by division.
1> Speed 3 |
; |
Example showing that move by angle changes the angle a division is at.
1> Speed 3 2> Direction CW 3> Set Divs 5 4> Loop 2 5> Loop 5 6> Wait Operator 7> Move By Div 1 8> End Loop 9> Move By 36.00 10> End Loop 11> End |
; ; ; 5 divs ; ; ; ; 1/5th ; ; move 36 degrees (shifts all divs by 1/10th) ; ; |
Program 3
We want to move the table to five positions in turn and repeat, waiting for the operator after each one.
1> Speed 3 |