- Posts: 110
- Thank you received: 0
attempt to divide by zero
I am reassured that the problem does not come from me, I mechanic and computer is not easy for me, that 's why I make my program in gcode, it' s a language that I know.
I will try to find another solution.
I made this machine, a machine to cut the gears and I retrofit a fanuc milling machine.
i find linuxcnc genial, i have a mazak lathe and a cincinati milling machine, but linuxcnc is really the best.
regards
jf
Please Log in to join the conversation.
Please Log in to join the conversation.
linuxcnc.org/docs/2.7/html/remap/remap.html#remap:ini-features
Please Log in to join the conversation.
MaHa wrote: Have a look here and No.20
linuxcnc.org/docs/2.7/html/remap/remap.html#remap:ini-features
Thank you. I told you its obscure. Section 20 is actually a bit further down and is exactly what I wanted to share.
linuxcnc.org/docs/2.7/html/remap/remap.h...ap:referto-hal-items
So jf, by referencing the pin name that is connected to the motion.analog-out.nn you should be able to work with gcode variables you are familiar with.
Please Log in to join the conversation.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
Please Log in to join the conversation.
jefsaro wrote: thank you very much, but I do not understand what I have to do, it exceeds my skills
The following variables should exist in your g code
So where you have
And likewise remove the other M66 /#5399 commands and use
I'm not sure that these pins will be there in a subroutine though so they might need to be passed as parameters to the subroutine.
Please Log in to join the conversation.
i test , but i think i make a mistake , when a change it's ok in parameter , but i 'am error , parameter is not defined.
regards
jf
Please Log in to join the conversation.
jefsaro wrote: hello ,
i test , but i think i make a mistake , when a change it's ok in parameter , but i 'am error , parameter is not defined.
regards
jf
Remove the spaces in the variable name in your gcode file and it might have a better chance of working :ohmy:
Please Log in to join the conversation.
