toggle an Aux button?

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
frijoli
Posts: 595
Joined: Tue Sep 12, 2017 10:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1030090099
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Location: Outside Winston-Salem, NC
Contact:

toggle an Aux button?

Post by frijoli »

Is there a macro to toggle an out using an Aux Button?

I am trying to unlock the tool clamp, and relock it using one button. Sort of how the coolant works.

This is temporary until I get my tool changer working PLC working.
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
Gary Campbell
Posts: 2190
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory 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: Bergland, MI, USA
Contact:

Re: toggle an Aux button?

Post by Gary Campbell »

Clay...
This is about as simple as it gets: (for output 2)

IF #50010 ;Prevent lookahead from parsing past here
IF #4201 || #4202 THEN GOTO 1000 ;Skip macro if graphing or searching

N100
IF #60002 THEN GOTO 300

N200
M62
GOTO 1000

N300
M82

N1000 ; end
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
martyscncgarage
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: toggle an Aux button?

Post by martyscncgarage »

If you press an unused AUX Button, you should see a message telling you what you need to do...
Just edit the macro for the button you want to use. Gary gave you an example.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
frijoli
Posts: 595
Joined: Tue Sep 12, 2017 10:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1030090099
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Location: Outside Winston-Salem, NC
Contact:

Re: toggle an Aux button?

Post by frijoli »

Got it, Thanks guys!
Hopefully I can get it working before the weekend. I want to make S**t
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
martyscncgarage
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: toggle an Aux button?

Post by martyscncgarage »

frijoli wrote: Tue Feb 18, 2020 10:33 pm Got it, Thanks guys!
Hopefully I can get it working before the weekend. I want to make S**t
You're a better man than I...all I do is work on controls....hoping that lets up.
I have a new to me nice Atrump mill that all I'm doing with it right now is testing the new probe... :lol:
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
frijoli
Posts: 595
Joined: Tue Sep 12, 2017 10:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1030090099
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Location: Outside Winston-Salem, NC
Contact:

Re: toggle an Aux button?

Post by frijoli »

martyscncgarage wrote: Tue Feb 18, 2020 10:38 pm
frijoli wrote: Tue Feb 18, 2020 10:33 pm Got it, Thanks guys!
Hopefully I can get it working before the weekend. I want to make S**t
You're a better man than I...all I do is work on controls....hoping that lets up.
I have a new to me nice Atrump mill that all I'm doing with it right now is testing the new probe... :lol:
You got one of them new fangled Centroid thingies to test or a different probe?
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
martyscncgarage
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: toggle an Aux button?

Post by martyscncgarage »

frijoli wrote: Tue Feb 18, 2020 10:40 pm
martyscncgarage wrote: Tue Feb 18, 2020 10:38 pm
frijoli wrote: Tue Feb 18, 2020 10:33 pm Got it, Thanks guys!
Hopefully I can get it working before the weekend. I want to make S**t
You're a better man than I...all I do is work on controls....hoping that lets up.
I have a new to me nice Atrump mill that all I'm doing with it right now is testing the new probe... :lol:
You got one of them new fangled Centroid thingies to test or a different probe?
Wouldn'tcha like to know...😜
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Post Reply