Skip to content

Add parameters to G92. #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/pygcode/gcodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ class GCodeAnalogOutputImmediate(GCodeAnalogOutput):
# G28, G28.1 Go/Set Predefined Position
# G30, G30.1 Go/Set Predefined Position
# G53 Move in Machine Coordinates
# G92 Coordinate System Offset
# G92 ABCXYZUVW Coordinate System Offset
# G92.1, G92.2 Reset G92 Offsets
# G92.3 Restore G92 Offsets
# M101 - M199 P Q User Defined Commands
Expand Down Expand Up @@ -1323,6 +1323,7 @@ class GCodeMoveInMachineCoords(GCodeNonModal):

class GCodeCoordSystemOffset(GCodeNonModal):
"""G92: Coordinate System Offset"""
param_letters = set('XYZABCUVW')
word_key = Word('G', 92)
exec_order = 230

Expand Down