Hello,
I bought an Acorn MIll ( Optimill M4HS ) and i am trying to understand the existing setup (I need to upgrade the computer and the Acorn version ), and there are two things I am looking to understand :
-Lubrification
-Unclamp button
First, the lubrication is kicked off when I press the cycle start. I can see it by pressing CTRL+I and viewing the output (in my case, output 1). Where can i find the piece of code that trigger the Lub when i cycle start?
My second question is i have a semi-automatic tool changer, with a button I can see in my input definition, but i have no idea how this button control the air-pressure ( if it even really goes through acorn ) . When i go in my output definition, I can see "OUTPUT5", "OUTPUT7","OUTPUT8" could it be these? How do i find out what it mean ?. How should I proceed to find out how my clamp button works?
Thanks in advance for any direction of how to better understand my setup.
Regards
Vincent
Understand existing Acorn Mill
Moderator: cnckeith
-
- Posts: 16
- Joined: Wed Nov 20, 2024 5:41 am
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 3484E422A7Ec-0527226258
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Understand existing Acorn Mill
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: Understand existing Acorn Mill
In a typical Acorn PLC program, a "ToolUnclampButton" input is used with an "UnclampTool" output. Since you do not have any output assigned as "UnclampTool", your tool unclamp button will not do anything.
If one of your outputs is wired to a solenoid valve that unclamps the tool in the spindle, then you should name that output "UnclampTool".
The lube pump logic, which is controlled by Parameter 179 and described on the Wizard page you have shown above, is implemented in the PLC program. Look for sections headed "LubeUsePumpTimersStage" and "LubeUsePLCTimersStage", beginning somewhere after line 3300 or so.
If one of your outputs is wired to a solenoid valve that unclamps the tool in the spindle, then you should name that output "UnclampTool".
The lube pump logic, which is controlled by Parameter 179 and described on the Wizard page you have shown above, is implemented in the PLC program. Look for sections headed "LubeUsePumpTimersStage" and "LubeUsePLCTimersStage", beginning somewhere after line 3300 or so.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 16
- Joined: Wed Nov 20, 2024 5:41 am
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 3484E422A7Ec-0527226258
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Understand existing Acorn Mill
Thanks for the informatoin, i need to learn more about the PLC as i dont' even know where to find it.
Regarding the automatic clamp i am very confuse about what these wired do ( i am tempted to just remove it ). One more thing is what the "OUTPTUT5" (in front of "OUT5") "OUTPTUT7" "OUTPUT8" in the wizard mean ? Especially when i look at my board and output5,6,8 are not connected
Regarding the automatic clamp i am very confuse about what these wired do ( i am tempted to just remove it ). One more thing is what the "OUTPTUT5" (in front of "OUT5") "OUTPTUT7" "OUTPUT8" in the wizard mean ? Especially when i look at my board and output5,6,8 are not connected
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 16
- Joined: Wed Nov 20, 2024 5:41 am
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 3484E422A7Ec-0527226258
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Understand existing Acorn Mill
Also, I look at my acorn_mill_plc.src, which i am hoping is right source code that have been compiled ( not sure how to verify ) and search for the keyword "LubeUsePumpTimersStage" I could find a few lines but i don't see/understand anything linked to the cycle start:
Line 2093 :
LubeUsePumpTimersStage IS STG23
Line 2210:
IF LubeS_W == 0 THEN SET LubeUsePumpTimersStage, RST LubeUsePLCTimersStage
IF LubeS_W != 0 THEN SET LubeUsePLCTimersStage, RST LubeUsePumpTimersStage
Line 2672:
IF SV_PROGRAM_RUNNING THEN SET LubePump, RST LubeM_T
IF !SV_PROGRAM_RUNNING THEN LubeM_T = LubeM_W, SET LubeM_T
IF LubeM_T || SV_STOP THEN RST LubePump
Line 2093 :
LubeUsePumpTimersStage IS STG23
Line 2210:
IF LubeS_W == 0 THEN SET LubeUsePumpTimersStage, RST LubeUsePLCTimersStage
IF LubeS_W != 0 THEN SET LubeUsePLCTimersStage, RST LubeUsePumpTimersStage
Line 2672:
IF SV_PROGRAM_RUNNING THEN SET LubePump, RST LubeM_T
IF !SV_PROGRAM_RUNNING THEN LubeM_T = LubeM_W, SET LubeM_T
IF LubeM_T || SV_STOP THEN RST LubePump
- Attachments
-
- acorn_mill_plc.src
- (233.12 KiB) Not downloaded yet
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: Understand existing Acorn Mill
"OUTPUT5", "OUTPUT7" and "OUTPUT8" and similar names are generic output functions that Centroid provides, for when you want to control something that is not otherwise supported by the PLC program. They are controlled with the M61-M68 and M81-M88 M functions.
Since you do not have any wires connected to the OUT5, OUT6, OUT7 or OUT8 relays, those definitions serve no function at all on your system. You could just as well remove them.
Since you do not have any wires connected to the OUT5, OUT6, OUT7 or OUT8 relays, those definitions serve no function at all on your system. You could just as well remove them.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: Understand existing Acorn Mill
I answered your question above, but I did not ask the obvious followup question: why do you want to see the piece of code that triggers the LubePump output when you start a cycle?First, the lubrication is kicked off when I press the cycle start. I can see it by pressing CTRL+I and viewing the output (in my case, output 1). Where can i find the piece of code that trigger the Lub when i cycle start?
Are you hoping to change it in some way?
If so, what is it you want it to do differently?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 16
- Joined: Wed Nov 20, 2024 5:41 am
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 3484E422A7Ec-0527226258
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Understand existing Acorn Mill
Thanks for all the pointer and informations,i am trying to understand the configuration because i need to upgrade the computer ans the version of Acorn.I am trying to find where all the pieces are so i can properly backup and restore on a new pc.
Cheers
Vincent
Cheers
Vincent
(Note: Liking will "up vote" a post in the search results helping others find good information faster)