Page 1 of 1

panel programming help

Posted: Thu Nov 08, 2018 9:21 am
by optimystictech
We have the Allin1CNC on an M400 mill machine and need some advice on programming the controls/buttons on the main control board. I will be installing the 4AD4DA auxiliary board ( which hasn't been ordered yet) and was wondering if the instructions on how to set the buttons come with it or if there is help on the Centroid website on how this is accomplished. I have searched and have found nothing yet.
Thank you for your help.

Keep calm and wire on! :)

Re: panel programming help

Posted: Thu Nov 08, 2018 5:24 pm
by cnckeith
hello.
please tell me what are you connecting up to the 4AD4DA that you want to control with the Operator Panel?

Re: panel programming help

Posted: Fri Nov 09, 2018 9:42 am
by optimystictech
We are looking at expanding the capabilities by integrating the knee control and perhaps some other features later down the road.

Keep calm and wire on! :)

Re: panel programming help

Posted: Fri Nov 09, 2018 10:21 pm
by cnckeith
ok.. can you be more specific?
TB 300 has info on basic macro and Aux key programming. http://www.centroidcnc.com/centroid_diy ... browse.php

Re: panel programming help

Posted: Sun Nov 11, 2018 8:55 am
by martyscncgarage
optimystictech wrote: Fri Nov 09, 2018 9:42 am We are looking at expanding the capabilities by integrating the knee control and perhaps some other features later down the road.

Keep calm and wire on! :)
Please post pictures of your machine and define "knee control"
Please be very specific on what you want to accomplish with the board/machine

Re: panel programming help

Posted: Mon Nov 12, 2018 10:01 am
by optimystictech
We have a knee mill and are looking to control the up and down motion of the table. The original buttons mounted to the side of the spindle have been removed and would like to control the knee motion with the panel buttons.

Stay calm and wire on! :)

Re: panel programming help

Posted: Tue Nov 20, 2018 12:33 pm
by optimystictech
My apologies for not being as clear as I could be.
We have decided to go with the plcadd1616 to control the up and down motion of the table (knee control) on our M400 knee mill. I have the board wired with a switching power supply at 5 volts, the 24 vdc supply to the plcadd1616 input side and the contactors set up and operating manually. I am relatively new at all of this and am not quite clear on the hookup of some of the plcadd1616 wiring on the inputs and outputs to control the knee operation at the console/panel. Here is what I have to this point.

Posted: Tue Nov 20, 2018 1:16 pm
by cncsnw
The PLCADD1616 outputs are isolated, dry-contact relays.

That simply means that whatever you put into the common terminal of each output, is what you get out of the N.O. terminal when the output is turned on.

Suppose your up/down contactors have 120VAC coils; and that you want to use the first two outputs on the PLCADD1616 (OUT17 and OUT18) for up and down respectively; that you want to control them with the Aux3 and Aux6 keys on the panel; and that you want the overtravel switches to work, on INP17 and INP18.

In that case:
You would wire one leg of your 120VAC supply (preferably the hot leg) to the first two output commons (first and third terminals).
You would wire from OUT17 (second terminal), through the normally-closed contact of the down contactor (as an interlock), to the A1 coil terminal of the up contactor.
You would wire from OUT18 (fourth terminal), through the normally-closed contact of the up contactor, to the A1 terminal of the down contactor.
You would wire the other leg of your 120VAC supply (neutral) through the normally-closed contact of the overload relay, to the A2 terminals of both the up and down contactors.
You would wire +24VDC to each of the four common terminals on the PLCADD1616 input banks (or at least to the first one).
You would wire 0VDC to the COM terminals on your knee-up and knee-down limit switches.
You would wire the N.C. terminals of your knee-up and knee-down limit switches to INP17 and INP18 respectively.

You would add lines something like the following to appropriate places in your PLC program:

Code: Select all

KneeUpLimitOk IS INP17
KneeDownLimitOk IS INP18
;...
KneeUp  IS OUT17
KneeDown IS OUT18
;...
IF Aux3Key && !Aux6Key && KneeUpLimitOk THEN (KneeUp)
IF Aux6Key && !Aux3Key && KneeDownLimitOk THEN (KneeDown)
As an aid to correctly identifying the input and output terminals while wiring, you can print the attached labels and apply them to the green Phoenix plugs.

Re: panel programming help

Posted: Tue Nov 20, 2018 1:26 pm
by optimystictech
Thank you very much for the help. I will be wiring shortly and will let you know how I make out.

Keep calm and wire on :)

Re: panel programming help

Posted: Tue Nov 20, 2018 5:04 pm
by optimystictech
To cncsnw...
Thanks again. Mill is up and running and the table is moving like a charm.

Keep calm and wire on! :)