Acorn custom plc not over written buy wizard

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
Janl
Posts: 5
Joined: Tue Jan 07, 2020 8:20 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

Acorn custom plc not over written buy wizard

Post by Janl »

How can I use wizard to set up my external Cycle Start and Feed Hold button on my lathe, with out over writing my custom machining plcs


Chaz
Posts: 738
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Acorn custom plc not over written buy wizard

Post by Chaz »

I dont believe you can. USB-BOB allows this functionality, dont think you can do it with Acorn on its own.


suntravel
Community Expert
Posts: 3618
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Acorn custom plc not over written buy wizard

Post by suntravel »

Select custom PLC in the Wizard, but anyway make a backup first.

IMHO if you do only change inputs in the Wizard, custom changes will not be overwritten.

Uwe


centroid467
Posts: 815
Joined: Thu Apr 14, 2022 2:46 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Acorn custom plc not over written buy wizard

Post by centroid467 »

Yes, what Uwe said.

You can wire your buttons to inputs on the Acorn then assign CycleStart2 and FeedHold2 to the corresponding inputs.


Chaz
Posts: 738
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Acorn custom plc not over written buy wizard

Post by Chaz »

So this can be done without the USB BOB?


ShawnM
Community Expert
Posts: 3021
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Acorn custom plc not over written buy wizard

Post by ShawnM »

Chaz wrote: Thu Jul 17, 2025 11:17 am So this can be done without the USB BOB?
Yes, I have several hardwired buttons and switches on my routers wired to Acorn inputs. You do not need to do any custom programming to make cycle start or feed hold buttons work.

You will wire two buttons to two of the Acorn inputs. Assign CycleStart2 and FeedHold2 to those inputs. Be sure and go into the "Alt-I" screen and invert those inputs to make them work.
Last edited by ShawnM on Thu Jul 17, 2025 11:50 am, edited 2 times in total.


centroid467
Posts: 815
Joined: Thu Apr 14, 2022 2:46 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Acorn custom plc not over written buy wizard

Post by centroid467 »

Correct. The USBBOB is not required for this. It would keep the Acorn's PLC inputs free for limit switches or other things though.


Chaz
Posts: 738
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Acorn custom plc not over written buy wizard

Post by Chaz »

Ah, wasnt aware of this, thanks.


cncsnw
Community Expert
Posts: 4578
Joined: Wed Mar 24, 2010 5:48 pm

Re: Acorn custom plc not over written buy wizard

Post by cncsnw »

Of course, if your objective is to add CycleStart2 and FeedHold2 input assignments, and then have them work, you have to let the Wizard change your PLC program.

I was working with Janl last month on this last month.

The problems he had with the Wizard were not due to overwriting the PLC program. Instead, they were due to the Wizard overwriting his custom tool-change macro (cnctch.mac) and custom homing macro (cnct.hom).

He should be okay to use the Wizard, as long as he can check the right boxes to prevent its overwriting his tool-change macro and homing macro.

In the last report he sent me, he did have:

Code: Select all

CycleStart2         IS INP6
FeedHold2           IS INP7
... but for some reason the buttons were not working for him.

The only thing "custom" in the PLC program, is code to prevent axis #3 (the turret indexing motor) from jogging any farther in the minus direction after the turret-locked-down switch is tripped. Since that code is in the "acorn_lathe_plc.src" source file, and not in any of the Wizard-generated sections, it should not be lost even if the Wizard is allowed to overwrite the PLC program.


ShawnM
Community Expert
Posts: 3021
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Acorn custom plc not over written buy wizard

Post by ShawnM »

cncsnw wrote: Thu Jul 17, 2025 2:00 pm He should be okay to use the Wizard, as long as he can check the right boxes to prevent its overwriting his tool-change macro and homing macro.
Yup, maybe he also wasn't aware of the boxes to check in the wizard to NOT overwrite certain files.


Post Reply