Ok here my big question…
I’m setting up my outputs on the standard acorn output relay board 1-8
1 output is hard wired to my spindle cooler… but it is named “Flood” because that is controlling output 1
2 output is spare
3 output is hard wired to my dustcollector wich should start whenever I start routing… (but I cannot get it to work) I don’t know the Mcode to trigger output 3
4 output is my workshop central hvac system that kicks in when air dust levels reach a certain level ( don’t worry about that) but I need to set it on whenever I start a routing session.. How do I control output 4…
I know for example that M8 turns on my “Flood” while in fact it is my spindle cooler…
My big question is
1, what are the M commands for output 1-8
2, I want to map a button that also can trigger that output..
For example. if I could have output 1-8 under a button and put in on my custom VCP layout I would be happy, but also I would like to know where I can find the commands to put it in my custom Gcode..
How to let an M command trigger an output
Moderator: cnckeith
-
- Posts: 20
- Joined: Fri Sep 20, 2019 4:51 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
How to let an M command trigger an output
- Attachments
-
- report_3403DE6C010B-0719192298_2020-05-15_17-41-10.zip
- (783 KiB) Downloaded 126 times
-
- Posts: 9914
- Joined: Tue Mar 28, 2017 12:01 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Mesa, AZ
Re: How to let an M command trigger an output
Here is my BIG comment...."We can't SEE what you SEE"
Please follow this post: viewtopic.php?f=20&t=383
Thanks for the report, always good to post a fresh report.
Need to know what you are working on and what you are wanting to do.
Outputs are selected in the Wizard based on what you need the output to do.
Marty
Please follow this post: viewtopic.php?f=20&t=383
Thanks for the report, always good to post a fresh report.
Need to know what you are working on and what you are wanting to do.
Outputs are selected in the Wizard based on what you need the output to do.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
-
- Posts: 573
- Joined: Wed Aug 29, 2018 11:15 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 985DADEB24D5-0309180716
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Re: How to let an M command trigger an output
VincentS,
if your output is configured as OUTPUTx (x=1-8) in the Wizard you can activate the output with M6x (x-1-8) and turn it off with M8x (x=1-8)
So to turn on OUTPUT5 you activate it with M65 and turn it off with M85.
-swissi
if your output is configured as OUTPUTx (x=1-8) in the Wizard you can activate the output with M6x (x-1-8) and turn it off with M8x (x=1-8)
So to turn on OUTPUT5 you activate it with M65 and turn it off with M85.
-swissi
If you are using Fusion 360, check out my CNC12 specific Post Processor
If you are using a Touch Probe, Tool Touch Off Device or a Triple Corner Finder Plate, check out my ProbeApp
Contact me at swissi2000@gmail.com
If you are using a Touch Probe, Tool Touch Off Device or a Triple Corner Finder Plate, check out my ProbeApp
Contact me at swissi2000@gmail.com
-
- Posts: 20
- Joined: Fri Sep 20, 2019 4:51 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: How to let an M command trigger an output
I thought I'd explained well Marty...
Just a couple of buttons to trigger an output.. And an M number to trigger them in my custom G-code so my dust collector and my workshop ventilation kicks in whenever I start a Job..
Just a couple of buttons to trigger an output.. And an M number to trigger them in my custom G-code so my dust collector and my workshop ventilation kicks in whenever I start a Job..
martyscncgarage wrote: ↑Fri May 15, 2020 1:59 pm Here is my BIG comment...."We can't SEE what you SEE"
Please follow this post: viewtopic.php?f=20&t=383
Thanks for the report, always good to post a fresh report.
Need to know what you are working on and what you are wanting to do.
Outputs are selected in the Wizard based on what you need the output to do.
Marty
-
- Posts: 20
- Joined: Fri Sep 20, 2019 4:51 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: How to let an M command trigger an output
Thanks Swissi..
Al I needed to know
Al I needed to know
-
- Posts: 20
- Joined: Fri Sep 20, 2019 4:51 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: How to let an M command trigger an output (solved) Check PLC output.. not correct
Check If you run into the same issue as I did.
The output LED is wrong in the manual... should be 1122 for this event number
The output LED is wrong in the manual... should be 1122 for this event number
-
- Posts: 9914
- Joined: Tue Mar 28, 2017 12:01 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Mesa, AZ
Re: How to let an M command trigger an output
I was just trying to figure out why you wanted to do it that way vs. using some of the preconfigured outputs.VincentS wrote: ↑Sat May 16, 2020 7:59 am I thought I'd explained well Marty...
Just a couple of buttons to trigger an output.. And an M number to trigger them in my custom G-code so my dust collector and my workshop ventilation kicks in whenever I start a Job..
martyscncgarage wrote: ↑Fri May 15, 2020 1:59 pm Here is my BIG comment...."We can't SEE what you SEE"
Please follow this post: viewtopic.php?f=20&t=383
Thanks for the report, always good to post a fresh report.
Need to know what you are working on and what you are wanting to do.
Outputs are selected in the Wizard based on what you need the output to do.
Marty
You must have specific needs unique to your router.
Water pump in my opinion should be on all the time. You could put a temp switch in line to cut off the pump after falls below a certain level.
There is a RouterDust Collector output that is assigned a M code. I add a G4Px to delay its turn off to clear the hose.
Swissi answered your question as you asked it.
Good luck with your project.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
-
- Posts: 20
- Joined: Fri Sep 20, 2019 4:51 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: How to let an M command trigger an output
Hi Marty..
My problem with the predefined functions was that M8/M9 already was used by the "flood" function. Router dust collection uses the same M8/M9.
So now I configured it as followed.
As soon as I run a file my spindlecooler goes on imediately. After that the router goes to the toolchange position en set my Z zero. Meanwhile in the mfunc6 macro I trigger with output 2 my arduino board that sets my blastgates in the right position. When the job starts and my spindle starts turning the dustcollector also kicks in.
Now sins I have just a small workshop and one big dust collection It is possible that I have to use my tablesaw in between. That's why I needed the two buttons that can trigger the outputs as well.
So I can pause the cnc project, Turn my dust collection off and trigger my arduino again to reset the blastgates. I could have done It outside Acorn but having all the controls in one place is realy nice and makes it safer as well... Trust me but running a big dust collector having all blastgates closed and have an imploding pvc pipe is no fun
My problem with the predefined functions was that M8/M9 already was used by the "flood" function. Router dust collection uses the same M8/M9.
So now I configured it as followed.
As soon as I run a file my spindlecooler goes on imediately. After that the router goes to the toolchange position en set my Z zero. Meanwhile in the mfunc6 macro I trigger with output 2 my arduino board that sets my blastgates in the right position. When the job starts and my spindle starts turning the dustcollector also kicks in.
Now sins I have just a small workshop and one big dust collection It is possible that I have to use my tablesaw in between. That's why I needed the two buttons that can trigger the outputs as well.
So I can pause the cnc project, Turn my dust collection off and trigger my arduino again to reset the blastgates. I could have done It outside Acorn but having all the controls in one place is realy nice and makes it safer as well... Trust me but running a big dust collector having all blastgates closed and have an imploding pvc pipe is no fun
martyscncgarage wrote: ↑Sat May 16, 2020 9:29 amI was just trying to figure out why you wanted to do it that way vs. using some of the preconfigured outputs.VincentS wrote: ↑Sat May 16, 2020 7:59 am I thought I'd explained well Marty...
Just a couple of buttons to trigger an output.. And an M number to trigger them in my custom G-code so my dust collector and my workshop ventilation kicks in whenever I start a Job..
martyscncgarage wrote: ↑Fri May 15, 2020 1:59 pm Here is my BIG comment...."We can't SEE what you SEE"
Please follow this post: viewtopic.php?f=20&t=383
Thanks for the report, always good to post a fresh report.
Need to know what you are working on and what you are wanting to do.
Outputs are selected in the Wizard based on what you need the output to do.
Marty
You must have specific needs unique to your router.
Water pump in my opinion should be on all the time. You could put a temp switch in line to cut off the pump after falls below a certain level.
There is a RouterDust Collector output that is assigned a M code. I add a G4Px to delay its turn off to clear the hose.
Swissi answered your question as you asked it.
Good luck with your project.
Marty