2000 Series Universal Cylindrical Grinder Programming Manual
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
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
Cycle States
| 0 | Idle |
| 1 | Positioning |
| 2 | Spark-out |
| 3 | Finished |
| 4 | Free Pass |
| 100 | Grinding |
| 101 | Positioning |
| 102 | Spark-out |
| 103 | Finished |
| 104 | Free Pass |
| 105 | Moving to Grind Position |
| 106 | Gap Control Grinding |
| 200 | Dressing |
| 201 | Positioning |
| 202 | Spark-out |
| 203 | Finished |
| 204 | Free Pass |
| 205 | Moving to Dress Position |
| 206 | Returning from Dress Position |
| 207 | Gap Control Dressing |
Cycle Types
| 251 | Dress Taper Face 1 |
| 252 | Dress Taper Face 2 |
| 253 | Dress CIRCUM and Taper Face 1 |
| 254 | Dress CIRCUM and Taper Face 2 |
| 255 | Dress CIRCUM, Taper and Faces |
| 260 | Dress Circumference |
| 261 | Dress Face 1 |
| 262 | Dress Face 2 |
| 263 | Dress Circumference and Face 1 |
| 264 | Dress Circumference and Face 2 |
| 265 | Dress Circumference and Both Faces |
| 268 | Roll Dress |
| 269 | Profile Dress |
| 296 | Dress for Taper Grind |
| 271 | Approach Swing Position 1 |
| 272 | Approach Swing Position 2 |
| 273 | Approach Oscillating Position |
| 274 | Multiple Plunge Grind |
| 275 | Profile Grind |
| 276 | Approach Plunge Position |
| 280 | End of Grind Cycle |
| 281 | Infeed in the Swing Position 1 |
| 282 | Infeed in the Swing Position 2 |
| 283 | Oscillation Infeed |
| 284 | Infeeds in both Swing Positions |
| 285 | Shoulder Grind in Swing Position 1 |
| 286 | Shoulder Grind in Swing Position 2 |
| 287 | Plunge Infeed Grind |
| 288 | Handwheel Infeed |
| 289 | Relieve |
| 295 | Shoulder Plunge Grind |
| 297 | Taper Grind |
Wheel Head Memory
| Pound Variable | Description |
| #9000 | Diameter |
| #9001 | Effective Width |
| #9002 | Overhang |
| #9003 | Minimum Diameter |
| #9004 | Minimum Width |
| #9005 | Working Angle |
| #9006 | Corner Radius Left |
| #9007 | Relief Angle Left |
| #9008 | Relief Height Left |
| #9009 | Corner Radius Right |
| #9010 | Relief Angle Right |
| #9011 | Relief Height Right |
| #9012 | Phase Height Left |
| #9013 | Phase Height Right |
| #9014 | Max Wheel RPM |
| #9015 | Wheel SFM |
| #9016 | Wheel RPM |
| #9017 | Dresser Diamond Type |
| #9018 | X Position Diamond 1 |
| #9019 | Z Position Diamond 1 |
| #9020 | X Position Diamond 2 |
| #9021 | Z Position Diamond 2 |
| #9022 | X Position Diamond 3 |
| #9023 | Z Position Diamond 3 |
| #9024 | Tip Raduis Diamond 1 |
| #9025 | Tip Raduis Diamond 2 |
| #9026 | Tip Raduis Diamond 3 |
| #9027 | Infeed Angle |
| #9028 | Feed Factor 1 |
| #9029 | Feed Factor 2 |
| #9030 | Xsw Safety Position |
| #9031 | Zs Safety Position |
| #9032 | Xsd Safety Position |
| #9033 | Deta X Safety Clearance |
| #9034 | Deta ZL Safety Clearance |
| #9035 | Deta ZR Safety Clearance |
| #9036 | X Return Clearance |
| #9037 | Z Return Clearance |
| #9040 | Current Commanded RPM |
| #9041 | Wheel Dressing SFM |
| #9042 | Rotary Dresser Roll Diameter |
| #9043 | Rotary Dresser SFM |
| #9044 | Rotary Dresser RPM |
| #9045 | Current Rotary Dresser Rpm |
| #9046 | X Dresser Offset (Optional) |
| #9047 | Rotary Dresser Maximum RPM |
| #9048 | Wheel Speed Mode |
| #9049 | Rotary Dresser Surface Feet Per Min Mode |
| #9050 | Rotary Dresser Direction (0 = FWD,1 = REV) |
| #9051 | Teach New Wheel Dresser Offset 1 |
| #9052 | Teach New Wheel Dresser Offset 2 |
| #9060 | Wheel Type |
| #9080 | Current Cycle State |
| #9081 | Current Cycle Type |
| #9082 | Current Cycle Passes Remaining |
| #9083 | Parts Per Dress Cycle |
| #9084 | Parts Since Last Dress Cycle |
| #9085 | Part Count On Last Dress Cycle |
| #9086 | Parts Per Dress Cycle Enabled |
| #9100 | Work Head Diameter |
Warranty Information
MachMotion warranty policy is subject to change. Updated information is available at our website:
https://machmotion.com/warranty
The MachMotion Team
http://www.machmotion.com
14518 County Road 7240, Newburg, MO 65550
(573) 368-7399 • Fax (573) 341-2672
