User guide
Chapter 5. Custom Profiling
151
GRINDING PROGRAM
(continued)
SD600 ; Total distance moves after this SD point = 100000 steps
SD(VAR1) ; Loop 100 times for Part 1, 200 times for Part 2
SD500 ; Move 500 steps/update (Grinding section A)
SD500000000 ; End loop
SD700 ; Begin traverse to grind point B
SD900
SD1100
SD1400
SD1700
SD2000
SD2200
SD400000012 ; Loop 12 times (distance = 30000 steps)
SD2500 ; Move 2500 steps/update
SD500000000 ; End loop
SD2200 ; Decelerate to grind section B
SD2000
SD1700
SD1400
SD1100
SD900
SD700
SD(VAR1) ; Loop 100 times for Part 1, 200 times for Part 2
SD500 ; Move 500 steps/update (Grinding section B)
SD500000000 ; End loop
SD700 ; Begin traverse to grind point C
SD900
SD1100
SD1400
SD1700
SD2000
SD2200
SD400000012 ; Loop 12 times (distance = 30000 steps)
SD2500 ; Move 2500 steps/update
SD500000000 ; End loop
SD2200 ; Decelerate to grind section C
SD2000
SD1700
SD1400
SD1100
SD900
SD700
SD(VAR1) ; Loop 100 times for Part 1, 200 times for Part 2
SD500 ; Move 500 steps/update (Grinding section C)
SD500000000 ; End loop
SD200000000 ; Turn off output 1 to stop the grinding wheel
SD250 ; Decelerate to a stop over two updates
SD0
SD700000000 ; Exit streaming mode
WAIT(MOV=b0) ; Wait for motion to stop
END ; End definition of program grind
;
; *********************************************************
; * To initiate the program, execute the "main" command *
; *********************************************************










