- Posts: 19306
- Thank you received: 0
Machine with 45 spindles
Please Log in to join the conversation.
still need to figure out when file is completed to raise all spindles. I dont feel like adding 43 lines to raise all.
Can I use M65 in a M100 ?
Please Log in to join the conversation.
Please Log in to join the conversation.
bevins wrote: still need to figure out when file is completed to raise all spindles. I dont feel like adding 43 lines to raise all.
Can I use M65 in a M100 ?]
M100 can be any executable file. This means that is can't be G-code but could be Python, and the Python can send a set of MDI commands.
Alternatively you could re-map a code to withdraw all the spindles. M60 is available and seems almost relevant.
A re-map can be an ngc file.
Please Log in to join the conversation.
andypugh wrote:
bevins wrote: still need to figure out when file is completed to raise all spindles. I dont feel like adding 43 lines to raise all.
Can I use M65 in a M100 ?]
M100 can be any executable file. This means that is can't be G-code but could be Python, and the Python can send a set of MDI commands.
Alternatively you could re-map a code to withdraw all the spindles. M60 is available and seems almost relevant.
A re-map can be an ngc file.
Thanks Andy, I forgot about that. Gonna have to learn how to do an ngc sub. However, python is a good idea because I have 44 to make sure they are retracted. A nice clean for loop. I'll have to ponder this one.
Please Log in to join the conversation.
bevins wrote: Thanks Andy, I forgot about that. Gonna have to learn how to do an ngc sub. However, python is a good idea because I have 44 to make sure they are retracted. A nice clean for loop. I'll have to ponder this one.
A loop would do the trick, but I think I would use copy and paste to have a line for each spindle.
The reason for this is that it then leaves you with the option of doing something different with one or more of them.
Please Log in to join the conversation.
andypugh wrote:
bevins wrote: still need to figure out when file is completed to raise all spindles. I dont feel like adding 43 lines to raise all.
Can I use M65 in a M100 ?]
M100 can be any executable file. This means that is can't be G-code but could be Python, and the Python can send a set of MDI commands.
Alternatively you could re-map a code to withdraw all the spindles. M60 is available and seems almost relevant.
A re-map can be an ngc file.
If I remap M60, Do I make another toplevel in a different python directory than my M6 remap, or can I setup the same top level to direct the M60 remap and M6 remap? I am looking how to setup two remaps on same config but not having any luck.
Please Log in to join the conversation.
as there is a ATC in place that has quite a Action
Raising the tools one by one
why not the intire Col or Row
or make a chain and only one tool at the time
Please Log in to join the conversation.
I don't actually know. But I would expect multiple remaps to share the same toplevel.py (which only ever does an "import remap") and then to also share a remap.py which contains multiple remap routines if python is needed.
An example of a multi-remap remap.py is here:
github.com/LinuxCNC/linuxcnc/blob/master...ap/remap-io/remap.py
Note that for a G-code only remap you don't need any Python.
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.
