Gmoccapy G54 Offsets
- electrosteam
- Offline
- Senior Member
-
- Posts: 71
- Thank you received: 5
Cannot make sense of the Documentation against the machine display.
My current job is positioned with its G54 origin having x, y, z values -ve relative to Home.
Parameters #5221, #5222, #5223 are documented as the coordinate system Offsets for G54.
The parameters in the linuxcnc.var file correctly show the G54 origin with -ve values.
But, to set up the machine correctly, I have to swap the signs used with a G10 L2.
When Gmoccapy launches, before homing, the DRO shows the tool position with +ve values.
Then G10 L2 P1 with +ve values loads the DRO with -ve values (CORRECT for this job).
Then conventional Touch-Off and run the job.
Please, is my brained screwed, or is the Documentation misleading ?
John.
Please Log in or Create an account to join the conversation.
- electrosteam
- Offline
- Senior Member
-
- Posts: 71
- Thank you received: 5
The sequence in the OP doesn't work.
The only reliable way I can set the machine up is to MDI a G0 with axes values per the Parameters (with the steppers off).
Still trying,
John.
Please Log in or Create an account to join the conversation.
- electrosteam
- Offline
- Senior Member
-
- Posts: 71
- Thank you received: 5
linuxcnc.var has Parameter #5221 = -238.
Ignoring y and z for this description.
Launch Axis, Display is:
- x238,
- G54 x-238.
This shows G54 x correctly as negative, ( whereas Gmoccapy shows G54 x as positive ).
No amount of Touching-Off, G10 L2, G10 L20, etc, by me gets to the final correct values for a job:
- x0,
- G54 x-238.
It appears G10 L2 and G10 L20 assume machine is actually Homed physically, and no amount of data entry can change that.
For jobs, I turn steppers Off, operate the machine controller to the measured table position, then Touch-Off, energize the steppers, and run the job.
Can anyone provide an alternative procedure to set-up the mill ?
John.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
- Posts: 4305
- Thank you received: 1908
I don't understand what you are doing. Without homing the machine first there is really no point in setting offsets.It appears G10 L2 and G10 L20 assume machine is actually Homed physically, and no amount of data entry can change that.
Please Log in or Create an account to join the conversation.
- electrosteam
- Offline
- Senior Member
-
- Posts: 71
- Thank you received: 5
Once my machine is set-up correctly, I successfully use multiple Offsets to do jobs on the table.
I started this investigation of G10 'assuming' that it was used to set-up the machine without having to physically move it to the Home position.
So far, that assumption has been demonstrated to be false.
What does one do if the machine cannot be physically moved to its Home position ?
For example, a large job mounted prior to machine start-up, or a vice.
Note: I simulate physical table movement at start-up by operating the controls with steppers Off to the position measured by ruler.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 20152
- Thank you received: 6855
Please Log in or Create an account to join the conversation.
- electrosteam
- Offline
- Senior Member
-
- Posts: 71
- Thank you received: 5
My aim was to simply improve my knowledge of some of the more exotic GCode.
As stated, my assumption on what G10 can do is incorrect.
My skill base has, however, improved because I can now use G10 for its intended use of setting up Offsets for multiple jobs.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 20152
- Thank you received: 6855
I was thinking you have some non standard stuff or end result, hence my jumping in.
Thank you.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
- Posts: 4305
- Thank you received: 1908
What does one do if the machine cannot be physically moved to its Home position ?
For example, a large job mounted prior to machine start-up, or a vice.
It is possible to set up 'Immediate Homing' in the INI file:
www.linuxcnc.org/docs/html/config/ini-ho...ml#_immediate_homing
You could then use a probe to jog the machine to the origin of your work piece and issue MDI:
G10 L20 P0 X0 Y0 Z0
or. if you already know the offset between the machine position on startup and the work piece origin (example x:1 y:2 z:3):
G10 L2 P0 X1 Y2 Z3
Note though that without properly homing the machine (ie in reference to the physical limits of travel) you will also need to adjust the joint/axes limits.
Please Log in or Create an account to join the conversation.