Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
g92-cnc [2017/01/25 18:26]
arthur
g92-cnc [2017/01/25 18:35]
arthur
Line 5: Line 5:
 On a CNC mill, G92 means "set an offset in all coordinate systems"​. On a CNC mill, G92 means "set an offset in all coordinate systems"​.
  
-The machine coordinates are the position of the machine relative to the point at which the [[[endstops]]] are hit.+The machine coordinates are the position of the machine relative to the point at which the [[endstops]] are hit.
  
 This is by opposition to the workspace coordinates,​ which are the coordinates you use to position a job you want to do. This is by opposition to the workspace coordinates,​ which are the coordinates you use to position a job you want to do.
Line 17: Line 17:
 For example, suppose the current point is at X=4 and there is currently no G92 offset active. Then G92 x7 is programmed. This moves all origins -3 in X, which causes the current point to become X=7. This -3 is saved in memory. For example, suppose the current point is at X=4 and there is currently no G92 offset active. Then G92 x7 is programmed. This moves all origins -3 in X, which causes the current point to become X=7. This -3 is saved in memory.
  
-Being in incremental distance ( [[[G91]]] ) mode has no effect on the action of G92.+Being in incremental distance ( [[G91]] ) mode has no effect on the action of G92.
  
 G92 offsets may be already be in effect when the G92 is called. If this is the case, the offset is replaced with a new offset that makes the current point become the specified value. G92 offsets may be already be in effect when the G92 is called. If this is the case, the offset is replaced with a new offset that makes the current point become the specified value.
Line 34: Line 34:
  
 ||~ Parameter ||~ Usage ||~ Example || ||~ Parameter ||~ Usage ||~ Example ||
-|| {{X}} || Offset in the X axis || G92 X10 || +|| <kbd>X</​kbd> ​|| Offset in the X axis || G92 X10 || 
-|| {{Y}} || Offset in the Y axis || G92 Y10 || +|| <kbd>Y</​kbd> ​|| Offset in the Y axis || G92 Y10 || 
-|| {{Z}} || Offset in the Z axis || G92 Z10 || +|| <kbd>Z</​kbd> ​|| Offset in the Z axis || G92 Z10 || 
-|| {{A}} || Offset in the A axis || G92 A10 || +|| <kbd>A</​kbd> ​|| Offset in the A axis || G92 A10 || 
-|| {{B}} || Offset in the B axis || G92 B10 || +|| <kbd>B</​kbd> ​|| Offset in the B axis || G92 B10 || 
-|| {{C}} || Offset in the C axis || G92 C10 ||+|| <kbd>C</​kbd> ​|| Offset in the C axis || G92 C10 ||
  
 === Friend Gcodes === Friend Gcodes
  
-The [[[G92.1]]] Gcode is used to reset the offsets.+The [[G92.1]] Gcode is used to reset the offsets.
  
 === Further reading === Further reading