[BUG] [marlin-bugfix-2.0] G54 + G92 X0 Y0 Inadvertently Resets ...
-
Uh oh!
There was an error while loading. Please reload this page.
- Notifications You must be signed in to change notification settings
- Fork 19.6k
- Star 17.2k
- Code
- Issues 696
- Pull requests 112
- Actions
- Projects 2
- Security
Uh oh!
There was an error while loading. Please reload this page.
- Insights
Description
Thank you for all your hard work developing and maintaining the Marlin codebase!
You can run this on any Marlin gcode parser to replicate:
[CNC_Coordinate_Systems] needs to be enabled in [configuration_adv.h] to enable G53-G59 coordinate systems:
/** * CNC Coordinate Systems * * Enables G53 and G54-G59.3 commands to select coordinate systems * and G92.1 to reset the workspace to native machine space. * #define CNC_COORDINATE_SYSTEMSEnter the following Gcode commands:
<power cycle device> G21 ; millimeters G90 ; absolute coords G53 ; machine coordinate system M114 ; get position X:0.00 Y:0.00 Z:0.00 E:0.00 Count X:0 Y:0 Z:0 G54 ; switch to (1st) work coordinate system G0 X10 Y10 ; move X:10.00 Y:10.00 Z:0.00 E:0.00 Count X:2000 Y:2000 Z:0 G92 X0 Y0 ; set current position as new origin (similar to G10 L20 P1 X0 Y0) M114 ; get position X:0.00 Y:0.00 Z:0.00 E:0.00 Count X:2000 Y:2000 Z:0 G53 ; switch back to machine coordinates M114 ; get position X:0.00 Y:0.00 Z:0.00 E:0.00 Count X:2000 Y:2000 Z:0Setting an origin in G54 inadvertently also sets it as origin in G53. G53 should not be affected and should display absolute machine coordinates at all times i.e. X:10.00 Y:10.00 at this point.
If we repeat this using G55 we get the following:
<power cycle device> G21 ; millimeters G90 ; absolute coords G53 ; machine coordinate system M114 ; get position X:0.00 Y:0.00 Z:0.00 E:0.00 Count X:0 Y:0 Z:0 G55 ; switch to (2nd) work coordinate system G0 X10 Y10 ; move X:10.00 Y:10.00 Z:0.00 E:0.00 Count X:2000 Y:2000 Z:0 G92 X0 Y0 ; set current position as new origin (similar to G10 L20 P2 X0 Y0) M114 ; get position X:0.00 Y:0.00 Z:0.00 E:0.00 Count X:2000 Y:2000 Z:0 G53 ; switch back to machine coordinates M114 ; get position X:10.00 Y:10.00 Z:0.00 E:0.00 Count X:2000 Y:2000 Z:0Note how Machine Coordinates are not affected by zeroing X and Y in G55 using G92 X0 Y0 and continue to display the true absolute machine coordinates at all times.
Metadata
Metadata
Assignees
No one assignedLabels
No labelsNo labelsType
No typeProjects
No projectsMilestone
No milestoneRelationships
None yetDevelopment
No branches or pull requestsIssue actions
You can’t perform that action at this time.Từ khóa » G54 X0 Y0
-
How Would I "Home" To G54? : R/CNC - Reddit
-
SETTING G54 X0 Y0 DAN Z0 - YouTube
-
Tips From The Pros – How To Successfully Use A G54 Offset
-
CNC Work Offsets G54 To G59 How To Use Them
-
Learn G28 X0. Y0. Z0. G-code - With Examples - Cnc Philosophy
-
Why Do The Every Cnc Machine Have Double Offset Block Of G54(ext ...
-
数控铣床G54 X0 Y0是什么意思? - 百度知道
-
Need Help Posting /g54 X0 Y0 /g55 X0 Y0 - Mastercam - CNC Zone
-
Unit 4: CNC Language And Structure – Manufacturing Processes 4-5
-
Coordinate Systems - LinuxCNC
-
Coordinate Systems - LinuxCNC
-
G92 Set Work Coordinate Systems Shift Value (Group 00)
-
Cracking The Code | Cutting Tool Engineering