Skip to main content

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

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

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
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

0Idle
1Positioning
2Spark-out
3Finished
4Free Pass
100Grinding
101Positioning
102Spark-out
103Finished
104Free Pass
105Moving to Grind Position
106Gap Control Grinding
200Dressing
201Positioning
202Spark-out
203Finished
204Free Pass
205Moving to Dress Position
206Returning from Dress Position
207Gap Control Dressing

 

Cycle Types

251Dress Taper Face 1
252Dress Taper Face 2
253Dress CIRCUM and Taper Face 1
254Dress CIRCUM and Taper Face 2
255Dress CIRCUM, Taper and Faces
260Dress Circumference
261Dress Face 1
262Dress Face 2
263Dress Circumference and Face 1
264Dress Circumference and Face 2
265Dress Circumference and Both Faces
268Roll Dress
269Profile Dress
296Dress for Taper Grind
271Approach Swing Position 1
272Approach Swing Position 2
273Approach Oscillating Position
274Multiple Plunge Grind
275Profile Grind
276Approach Plunge Position
280End of Grind Cycle
281Infeed in the Swing Position 1
282Infeed in the Swing Position 2
283Oscillation Infeed
284Infeeds in both Swing Positions
285Shoulder Grind in Swing Position 1
286Shoulder Grind in Swing Position 2
287Plunge Infeed Grind
288Handwheel Infeed
289Relieve
295Shoulder Plunge Grind
297Taper Grind

 

Wheel Head Memory

Pound VariableDescription
#9000Diameter
#9001Effective Width
#9002Overhang
#9003Minimum Diameter
#9004Minimum Width
#9005Working Angle
#9006Corner Radius Left
#9007Relief Angle Left
#9008Relief Height Left
#9009Corner Radius Right
#9010Relief Angle Right
#9011Relief Height Right
#9012Phase Height Left
#9013Phase Height Right
#9014Max Wheel RPM
#9015Wheel SFM
#9016Wheel RPM
#9017Dresser Diamond Type
#9018X Position Diamond 1
#9019Z Position Diamond 1
#9020X Position Diamond 2
#9021Z Position Diamond 2
#9022X Position Diamond 3
#9023Z Position Diamond 3
#9024Tip Raduis Diamond 1
#9025Tip Raduis Diamond 2
#9026Tip Raduis Diamond 3
#9027Infeed Angle
#9028Feed Factor 1
#9029Feed Factor 2
#9030Xsw Safety Position
#9031Zs Safety Position
#9032Xsd Safety Position
#9033Deta X Safety Clearance
#9034Deta ZL Safety Clearance
#9035Deta ZR Safety Clearance
#9036X Return Clearance
#9037Z Return Clearance
#9040Current Commanded RPM
#9041Wheel Dressing SFM
#9042Rotary Dresser Roll Diameter
#9043Rotary Dresser SFM
#9044Rotary Dresser RPM
#9045Current Rotary Dresser Rpm
#9046X Dresser Offset (Optional)
#9047Rotary Dresser Maximum RPM
#9048Wheel Speed Mode
#9049Rotary Dresser Surface Feet Per Min Mode
#9050Rotary Dresser Direction (0 = FWD,1 = REV)
#9051Teach New Wheel Dresser Offset 1
#9052Teach New Wheel Dresser Offset 2
#9060Wheel Type
#9080Current Cycle State
#9081Current Cycle Type
#9082Current Cycle Passes Remaining
#9083Parts Per Dress Cycle
#9084Parts Since Last Dress Cycle
#9085Part Count On Last Dress Cycle
#9086Parts Per Dress Cycle Enabled
#9100Work Head Diameter

 

 

{{@677}}