Punch Press Gcode

More
08 Jun 2017 08:56 #94281 by AElmasry
Replied by AElmasry on topic Punch Press Gcode

I added your code before my gcode program and it worked very well.
Is this the right way to remap g11, put it's code inside every ngc file?


No, you should be able to put g11.ngc in the config directory, and then g11 is a new G-code.


It's works fine once I changed the file name in my config to g11 instead of G11.

Thanks andypugh :)
It's taken me a while to figure out how to do it till you helped me.

Please Log in or Create an account to join the conversation.

More
08 Jun 2017 09:18 #94283 by andypugh
Replied by andypugh on topic Punch Press Gcode
As a general rule everything in g-code is converted to lower-case before being parsed by the interpreter, so it is generally best to use lower case for the names of subroutines and in external references.
Personally I prefer capitals in the actual G-code, and that it very much OK.

Please Log in or Create an account to join the conversation.

More
08 Jun 2017 11:19 #94287 by AElmasry
Replied by AElmasry on topic Punch Press Gcode

Don't know if this is the answer, but is the machine set for G61.1 mode or the default G64 mode (or G61)?


The machine was on default G64, I tried G61 and re-tuned the motors but still the same problem exists.
I Tried also G61.1 with the same results.
The machine also set to actual position.

Is there anything else I can do?

Please Log in or Create an account to join the conversation.

More
08 Jun 2017 11:33 #94288 by Todd Zuercher
Replied by Todd Zuercher on topic Punch Press Gcode
If it is set to actual position, you are seeing that the machine is within the minimum following error, so it is "in position". If you change the DRO to Commanded Position I think you might not see the problem. (but not correct it)

If you tighten up the minimum following error, so that it is less than what rounding the error up would be, will not let it show up on your DRO, and should fix it. (I think) Assuming that your servos can achieve that kind of resolution.

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum