- Posts: 27
- Thank you received: 114
Getting started with Linux, LinuxCNC and CNC
- Rick G
- Offline
- Junior Member
-
Less
More
10 years 2 days ago #82253
by Rick G
Often the authors will have error checking built into the sub to keep it from making unwanted moves.
If you have a sub that you wish to use in a different way / direction than it was designed after studying it you may find it is straight forward to edit it to a new sub for your desired outcome.
Rick G
Replied by Rick G on topic Getting started with Linux, LinuxCNC and CNC
In most cases you will need to create or edit an existing subroutine such as one of the OD taper subs to change the direction of cut.But what if I need it to do the opposite - working from right to left, normal right hand tool, to cut from larger od to smaller od? Is it possible, or does one have to work a separate subroutine for it?
Often the authors will have error checking built into the sub to keep it from making unwanted moves.
If you have a sub that you wish to use in a different way / direction than it was designed after studying it you may find it is straight forward to edit it to a new sub for your desired outcome.
Rick G
Please Log in or Create an account to join the conversation.
- sharpshooterser
- Offline
- Senior Member
-
Less
More
- Posts: 63
- Thank you received: 0
9 years 11 months ago #83239
by sharpshooterser
Replied by sharpshooterser on topic Getting started with Linux, LinuxCNC and CNC
I canceled all offsets several times, but still, sometimes it does that. Its measured in in G54 coordinate system, I m running the same code making some part after part, but from time to time it "looses" it, and when I re-start the cycle, the coordinate system goes nuts and change the values. If I m lucky enough, I can stop the cycle, go to MDI, call the correct tool (that was actually used in that time) and everything gets back to normal - the coordinates I mean. Once I wasnt so lucky, the tool hit the chuck (the tailstock hitting isnt as bad...).
Please Log in or Create an account to join the conversation.
- sharpshooterser
- Offline
- Senior Member
-
Less
More
- Posts: 63
- Thank you received: 0
9 years 10 months ago - 9 years 10 months ago #84520
by sharpshooterser
Replied by sharpshooterser on topic Getting started with Linux, LinuxCNC and CNC
Another question - havent found the answer or similar topic - how can I change the machine zero position? I understood that it cant be done through g code, so I presume I would have to change some value in a specific file - why I want to do it - I had to make some hardware fixing, and now machine zero is out of the travel range of the machine, so if I try to go to machine zero my steppers stall on their maximum travel range on the fixture. So I would like to position the cross slide on the middle of the travel on both x and z axis, and to keep that position as machine zero for future reference.
Thanks
edit, reading some more right now, it seems that homing (on a machine that doesnt have homing switches) set the G53 to zero? is that correct?
Thanks
edit, reading some more right now, it seems that homing (on a machine that doesnt have homing switches) set the G53 to zero? is that correct?
Last edit: 9 years 10 months ago by sharpshooterser.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
9 years 10 months ago - 9 years 10 months ago #84521
by Todd Zuercher
Replied by Todd Zuercher on topic Getting started with Linux, LinuxCNC and CNC
With the touch off (work coordinates),
or G10 L2 Pn or G10 L20 Pn.
or G10 L2 Pn or G10 L20 Pn.
Last edit: 9 years 10 months ago by Todd Zuercher.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
9 years 10 months ago #84522
by Todd Zuercher
Replied by Todd Zuercher on topic Getting started with Linux, LinuxCNC and CNC
G53 is for making moves in the machine coordinate system (no offset), So for example that G0 G53 X0 Y0 Z0 will move the machine back to the home position.
Please Log in or Create an account to join the conversation.
- sharpshooterser
- Offline
- Senior Member
-
Less
More
- Posts: 63
- Thank you received: 0
9 years 10 months ago #84523
by sharpshooterser
Replied by sharpshooterser on topic Getting started with Linux, LinuxCNC and CNC
Thank you, if I issue that command (G0 G53 X0 Z0) my lathe tries to go off the hardware capabilities of the machine. I had it dismantled recently due to repair, and the previous configuration and zero are not correct anymore. But after I asked a question, I bumped to a possible solution for me - since I dont have homing switches, I should move the x and z to desired point, do the homing sequence, and then that should be machine zero point for further reference. I shall try this in the morning when I get to shop
Please Log in or Create an account to join the conversation.
Time to create page: 0.137 seconds