Output1 with spindle on < simple how to video at end>
Moderator: cnckeith
-
- Posts: 47
- Joined: Tue Dec 03, 2019 5:44 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804732CDADC-0123191572
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Output1 with spindle on < simple how to video at end>
Hey guys, do you know how to turn on two relays with one command ( M3) and then turn them off with ( m5 )?
basically, I need to turn on two relays with Sindel start and turn them off when the spindle stops...
basically, I need to turn on two relays with Sindel start and turn them off when the spindle stops...
-
- Posts: 2180
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Marquette, MI
- Contact:
Re: Output1 with spindle on
Set one as Spindle FWD and then make a custom "M3" to toggle on the other. A custom "M5" will toggle them both off
-
- Posts: 47
- Joined: Tue Dec 03, 2019 5:44 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804732CDADC-0123191572
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Output1 with spindle on
how to write custom m3 and m5 ?
-
- 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: Output1 with spindle on
Follow up question, WHY? What are you trying to accomplish? Maybe we can give you ideas for a solution to your end goal.Martin Zarnay wrote: ↑Mon Oct 26, 2020 8:53 am Hey guys, do you know how to turn on two relays with one command ( M3) and then turn them off with ( m5 )?
basically, I need to turn on two relays with Sindel start and turn them off when the spindle stops...
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: 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: Output1 with spindle on
To answer your question very specifically, take the ONE relay on the relay board you assign to Spin forward and have it drive two other relay coils....
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: 47
- Joined: Tue Dec 03, 2019 5:44 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804732CDADC-0123191572
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Output1 with spindle on
why i need it ? my spindle has air input for blowing out all coolant and stuff from getting in , but I don't want to turn it off manually every time spindle stops, so I hooked up el. switch. and I don't want to connect 12V to same relay what control fovars signal, because worrying about getting 12V to VFD.
that's why I need to connect it to second relay.
that's why I need to connect it to second relay.
-
- 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: Output1 with spindle on
And you are out of inputs to use another relay for coolant and use the corresponding Macro to turn it on and off automatically?Martin Zarnay wrote: ↑Mon Oct 26, 2020 11:52 am why i need it ? my spindle has air input for blowing out all coolant and stuff from getting in , but I don't want to turn it off manually every time spindle stops, so I hooked up el. switch. and I don't want to connect 12V to same relay what control fovars signal, because worrying about getting 12V to VFD.
that's why I need to connect it to second relay.
I gave you your solution, use the relay on the relay board you have configured for spindle control to drive two relay coils or ONE relay with multiple contacts (DPDT) one contact pair for your spindle, one contact pair for your coolant.
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: 47
- Joined: Tue Dec 03, 2019 5:44 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804732CDADC-0123191572
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Output1 with spindle on
I have a Acorn board with 8 outputs, before I had board where relays 1with8 was paired and 2wit7 . now I have new one and there are all relays controlled separately.
( I still have some relays free )
yes I know what you mean but I don't have another relay with multiple connectors...
could it be done with som macro or something? also I don't really know how to write macro very well...
i was also thinking to modify postprocessor so when it see M3 it will write M15 same time and M5-M16
but could not find relevant line in postprocessor
( I still have some relays free )
yes I know what you mean but I don't have another relay with multiple connectors...
could it be done with som macro or something? also I don't really know how to write macro very well...
i was also thinking to modify postprocessor so when it see M3 it will write M15 same time and M5-M16
but could not find relevant line in postprocessor
Re: Output1 with spindle on
This is yet another example of something that could be done with no hardware, and just two lines added to the PLC program.
It is unfortunate that the "Acorn philosophy" is not to change anything in the PLC program, apparently for fear of offending the Wizard.
It is unfortunate that the "Acorn philosophy" is not to change anything in the PLC program, apparently for fear of offending the Wizard.
Re: Output1 with spindle on
Code: Select all
; in the definitions section:
AirPurge IS OUT1
;...
; in the StandardSpindleStage section:
IF SpindleEnableOut_M THEN (AirPurge)