2000 Series Universal Cylindrical Grinder Programming Manual
{{@672}}
Introduction
This manual lists all the internal macros and memory used on the Cylindrical Grinder. This manual is intended for MachMotion certified developers.
Internal Subs
O9500 Set Dressing Flag for Return Clearance
D Return Clearance axis selection
Description
Define the axis that will apply the dress return clearance at the end of the grind cycle. This is used when doing a rough grind, dress, and finish grind. When the wheel returns from the dress it will apply the return clearance. G280 will clear the dressing fags.
Examples
Apply X Return Clearance
G65 P9500 D0
Apply Z Return Clearance
G65 P9500 D1
Apply X and Z Return Clearance
G65 P9500 D2
O9501 Reset Dressing Flag for Return Clearance
Description
Set all the dressing flags to nil.
Examples
Reset Dressing Flag
G65 P9501
O9502 Rapid from Safety to Xsw then to Part
Description
Rapid from the safe position to Xsw and then to the part using the Dressing Flags to apply the Return Clearance before approaching the part.
Examples
Rapid to part
G65 P9502
O9510 Rapid to Safety position from Part
Description
Rapid to X to Xsw, then Z to Zs, then X to Xsd positions.
Examples
Rapid from part to safe
G65 P9510
O9511 Rapid to Xsd Safety position from Dresser
Description
Rapid to X to Xsd safety position.
Examples
Rapid from dresser to safe
G65 P9511
O9512 Rapid from Safety to Dresser Clear Position
D Diamond Number (1,2,3)
R Roll Dresser Mode
Description
Rapid from safety to dresser X and Z clear positions. The D word defines which diamond to use. The R word will move the Z to the diamond position instead of Z clearance.
Examples
Rapid from safety to diamond 1
G65 P9512 D1
Rapid from safety to diamond 2
G65 P9512 D2
Rapid from safety to diamond 3
G65 P9512 D3
Rapid from safety to diamond 1 roll/crush dresser mode
G65 P9512 D1 R1
O9518 Update Wheel Diameter
I Amount to subtract off the wheel diameter
Description
Reduces the diameter of the wheel in memory.
Examples
Update wheel diameter after dressing
G65 P9518 I-0.001
O9519 Update Wheel Width
I Amount to subtract off the wheel width
Description
Reduces the width of the wheel in memory.
Examples
Update wheel width after dressing
G65 P9519 I-0.001
O9520 Collision Detection (Not currently used)
O9521 Wheel Diameter Check
Description
Checks to see if the wheel is below the minimum diameter after dressing. If the wheel diameter is below the minimum diameter a Macro Alarm is created.
Examples
Wheel Diameter Check
G65 P9521
O9522 Wheel Width Check
Description
Checks to see if the wheel is below the minimum width after dressing. If the wheel width is below the minimum width a Macro Alarm is created.
Examples
Wheel Width Check
G65 P9522
O9523 Change Cycle Type
T Cycle type number
Description
Changes the cycle type number to update the screen status indicator.
Examples
Change cycle type to Multiple Plunge Grind
G65 P9523 T274
O9524 Change Cycle State
S Cycle state number
Description
Changes the cycle state number to update the screen status indicator.
Examples
Change cycle state to Grinding Free Pass
G65 P9524 S104
O9525 Sparkout Dwell
H Sparkout Time (sec)
Description
Changes the state to Sparkout and then dwells and then restores the state back.
Examples
Sparkout 2 seconds
G65 P9525 H2.0
O9526 Activate Diamond Tool Offsets
D Diamond selection (1,2,3)
Description
Copy the current tool X and Y offsets over to the diamond tool offsets (91, 92, 93) and then activate the diamond offset. This macro is called at the beginning of the dress cycle.
Examples
Activate diamond offsets for diamond 1
G65 P9526 D1
O9527 Restore Tool Offsets
Description
Restore the tool offsets back to before the dress cycle was called.
Examples
Restore the tool offsets
G65 P9527
O9528 Update Remaining Number Of Passes
E Remaining Passes
Description
Update the remaining passes normally used for dress passes.
Examples
Update the remaining passes to 3.
G65 P9528 E3
O9529 Grinding Modals
Description
This macro call is at the beginning of each grinding cycle.
Examples
Set GCode Modals
G65 P9529
O9530 Dressing Modals
Description
This macro call is at the beginning of each dress cycle.
Examples
Set GCode Modals
G65 P9530
O9531 End Dressing Modals
Description
This macro call is at the end of each dress cycle.
Examples
Set GCode Modals
G65 P9531
O9532 Update Parts Per Dress Logic
Description
Update the parts per dress counters, and set a flag if a dress cycle needs to be called.
Examples
Update counters
G65 P9532
O9533 Reset Parts Per Dress Counters
M Force Dress Cycle
Description
Update the parts per dress counter
Examples
Reset parts per dress counters
G65 P9533
O9540 Gap Control
X X Finish Diameter
Z Z Finish Position
Q Sensor Code
M Don't Modify X or Z G271 Start Positions
Description
If Gap Control is enabled make a probe move until the probe input is triggered. End the macro and set the X or Z start position for the grind cycle.
Examples
Call the gap control for a cylindrical grind cycle
G65 P9540 X2 Q91
O9548 Store Angle Of Grind Cycle
A Angle of grind cycle
Description
Stores the angle of the current grind cycle so it can be use in G289 Relieve cycle.
Grinding angles:
X+ (90)
Z- (180) Z+ (0)
X- (270)
Examples
G65 P9548 A270 (X- Grind Direction)
{{@677}}