- Posts: 12160
- Thank you received: 0
or2 example correct ? need to flip on VFD with coolant requests
3 years 10 months ago #259168
by rodw
Replied by rodw on topic or2 example correct ? need to flip on VFD with coolant requests
So you'll be fine until you add your through tool coolant now 
Then you might need an or3 which does not exist
You could daisy chain things in hal or you could use that as a really simple example to write your own custom component based on or2.comp
Its so simple or2 is achieved with one line of code...
Source is in github github.com/LinuxCNC/linuxcnc/blob/master.../components/or2.comp
Use of halcompile is well documented linuxcnc.org/docs/2.9/html/hal/comp.html
Any custom components are treated as if they are core code once built and installed which is very cool.
Then you might need an or3 which does not exist
You could daisy chain things in hal or you could use that as a really simple example to write your own custom component based on or2.comp
Its so simple or2 is achieved with one line of code...
Source is in github github.com/LinuxCNC/linuxcnc/blob/master.../components/or2.comp
Use of halcompile is well documented linuxcnc.org/docs/2.9/html/hal/comp.html
Any custom components are treated as if they are core code once built and installed which is very cool.
Please Log in to join the conversation.
- smc.collins
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 721
- Thank you received: 0
3 years 10 months ago #259170
by smc.collins
Replied by smc.collins on topic or2 example correct ? need to flip on VFD with coolant requests
next up is learning how to add gcode the to IOcontroller, the whole remap m6 call toolchanger thing, really irks me.
I started dusting off my programming concepts books, haven't cracked them since my freshman yr of highschool.
I started dusting off my programming concepts books, haven't cracked them since my freshman yr of highschool.
Please Log in to join the conversation.
3 years 10 months ago #259291
by andypugh
Replied by andypugh on topic or2 example correct ? need to flip on VFD with coolant requests
The only reason you need a remap (which could be in Python rather than G-code if you wanted) is to handle the release and lock phases. That's something that carousel doesn't do. Initially it was going to be, but when I found myself creating a whole toolchange-definition programming language from scratch I realised that it wasn't sensible to try to handle all possible sequences in a single component.next up is learning how to add gcode the to IOcontroller, the whole remap m6 call toolchanger thing, really irks me.
Please Log in to join the conversation.
Time to create page: 0.094 seconds
