Setup Z axis brake
Moderator: cnckeith
-
- Posts: 37
- Joined: Mon Aug 05, 2019 11:02 am
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A900727
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Setup Z axis brake
Hi there, I am trying to install a z axis brake on my mill. but when I wire to the oak board as per instructions nothing happens. It appears like there is no signal to the board relay as it just stays in the normally closed state when the drive is activated. Can someone please explain how to change this? All it needs to do is open the axis brake when everything is satisfied and close it on an E-stop etc,
Let me know,
Let me know,
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 109
- Joined: Mon Jan 15, 2018 1:11 am
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A900712
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Setup Z axis brake
Hey,
I use a zaxis brake with oak, happy to help you figure it out.
Need all the stuff talked about here - pictures, report, etc.
As a quick note, you can see the state of the board input/output by pushing alt-i on the main screen,
You can see if the brake relay output changes state when you try to jog the z axis using the vcp
I use a zaxis brake with oak, happy to help you figure it out.
Need all the stuff talked about here - pictures, report, etc.
As a quick note, you can see the state of the board input/output by pushing alt-i on the main screen,
You can see if the brake relay output changes state when you try to jog the z axis using the vcp
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 37
- Joined: Mon Aug 05, 2019 11:02 am
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A900727
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Setup Z axis brake
Ok thanks,
Attached you will find the report. As far as pictures I am not sure what to take a picture of. I had the brake hooked up to the output 9 on the oak board but that relay does not do anything it seems to be dead. I hooked an ohms meter to it to see if it would change from NC to NO but nothing happens so I am thinking that there is some perimeter or setting that is not correct. For now I wired the brake through the E-stop circuit which works to a point. At least I can move the axis. The only issue is that if the E-stop is cycled the brake comes on as it should but when You release e-stop there is to much delay for the drive to come on and hold the axis that it ends up falling, so something needs to change.
Attached you will find the report. As far as pictures I am not sure what to take a picture of. I had the brake hooked up to the output 9 on the oak board but that relay does not do anything it seems to be dead. I hooked an ohms meter to it to see if it would change from NC to NO but nothing happens so I am thinking that there is some perimeter or setting that is not correct. For now I wired the brake through the E-stop circuit which works to a point. At least I can move the axis. The only issue is that if the E-stop is cycled the brake comes on as it should but when You release e-stop there is to much delay for the drive to come on and hold the axis that it ends up falling, so something needs to change.
- Attachments
-
- report_0320190764_2019-08-31_13-58-44.zip
- (3.42 MiB) Downloaded 152 times
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 4597
- Joined: Wed Mar 24, 2010 5:48 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
Re: Setup Z axis brake
Your PLC program does not contain any definition or logic for a Z axis brake.
First, you will want to change:
to something like:
Then, typically somewhere in MainStage, add code to activate that output.
If you are using Yaskawa servo drives, then you can use something like:
I think that will work with Delta servos as well.
With any other drives, you probably have to use something like this instead:
That is less desirable, as it precludes using test and tuning features that are built into the servo drives.
First, you will want to change:
Code: Select all
;spare IS OUT9 ;SPDT Type
Code: Select all
ZBrakeRelease IS OUT9 ;SPDT Type
If you are using Yaskawa servo drives, then you can use something like:
Code: Select all
; Release Z axis holding brake when drive says to, via Oak interface
IF !Axis3StatusBRAKE THEN (ZBrakeRelease)
With any other drives, you probably have to use something like this instead:
Code: Select all
; Release Z axis holding brake when CNC11/CNC12 or MPU11 says axis is enabled
IF SV_PC_POWER_AXIS_3 THEN (ZBrakeRelease)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3544
- Joined: Tue Mar 22, 2016 10:03 am
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: Yes
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Boston, MA
- Contact:
Re: Setup Z axis brake
On the input screen (Alt-I), can you force output 9 on using CTRL-ALT-F with ouput 9 selected? Each tap of CTRL-ALT-F should cycle through normal, forced on, forced off. That will verify the output works. Then you need to add the PLC code pointed out by CNCSNW.
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 37
- Joined: Mon Aug 05, 2019 11:02 am
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A900727
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Setup Z axis brake
Where do I insert these?? I have Estun drives.cncsnw wrote: ↑Sat Aug 31, 2019 3:54 pm Your PLC program does not contain any definition or logic for a Z axis brake.
First, you will want to change:to something like:Code: Select all
;spare IS OUT9 ;SPDT Type
Then, typically somewhere in MainStage, add code to activate that output.Code: Select all
ZBrakeRelease IS OUT9 ;SPDT Type
If you are using Yaskawa servo drives, then you can use something like:I think that will work with Delta servos as well.Code: Select all
; Release Z axis holding brake when drive says to, via Oak interface IF !Axis3StatusBRAKE THEN (ZBrakeRelease)
With any other drives, you probably have to use something like this instead:That is less desirable, as it precludes using test and tuning features that are built into the servo drives.Code: Select all
; Release Z axis holding brake when CNC11/CNC12 or MPU11 says axis is enabled IF SV_PC_POWER_AXIS_3 THEN (ZBrakeRelease)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 4597
- Joined: Wed Mar 24, 2010 5:48 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
Re: Setup Z axis brake
You insert it in your PLC program source file. Then you compile the source file to make a new mpu.plc file. Then you restart the control.
The PLC program source file you have been using is named "Centroid-Mill-Standard-OAK-ATC-Umbrella-r2.src" (though I am not sure why you would need an ATC program if you do not have a PLCADD1616 board and an automatic tool changer).
For a general idea of the process of identifying, editing, and compiling your PLC program source file, see viewtopic.php?f=60&t=1141
For more information about PLC programming in general, see:
http://www.centroidcnc.com/centroid_diy ... manual.pdf
The PLC program source file you have been using is named "Centroid-Mill-Standard-OAK-ATC-Umbrella-r2.src" (though I am not sure why you would need an ATC program if you do not have a PLCADD1616 board and an automatic tool changer).
For a general idea of the process of identifying, editing, and compiling your PLC program source file, see viewtopic.php?f=60&t=1141
For more information about PLC programming in general, see:
http://www.centroidcnc.com/centroid_diy ... manual.pdf
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 109
- Joined: Mon Jan 15, 2018 1:11 am
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A900712
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Setup Z axis brake
Looks like it was left out of the ATC programs, the non-ATC ones have it defined properly
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 109
- Joined: Mon Jan 15, 2018 1:11 am
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A900712
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Setup Z axis brake
Just to +1 this - if you don't need the ATC functionality, the standard OAK plc program already has the zbrake defined properly.cncsnw wrote: ↑Sat Aug 31, 2019 4:47 pm You insert it in your PLC program source file. Then you compile the source file to make a new mpu.plc file. Then you restart the control.
The PLC program source file you have been using is named "Centroid-Mill-Standard-OAK-ATC-Umbrella-r2.src" (though I am not sure why you would need an ATC program if you do not have a PLCADD1616 board and an automatic tool changer).
Otherwise, following the directions, add
Code: Select all
IF SV_AXIS_VALID_3 && SV_PC_POWER_AXIS_3 && Axis3DriveOk
THEN (ZBrakeRelease)
below
Code: Select all
IF SV_AXIS_VALID_4 && SV_PC_POWER_AXIS_4 && !Axis4DriveOk
THEN FaultMsg_W = AXIS4_DRIVE_FAULT, ; 7169(1+256*28)
SET AxisFault_M,
SET Axis4Fault_M
Place
Code: Select all
ZBrakeRelease IS OUT9 ;SPDT Type
Code: Select all
SpindleDirectionOut IS OUT8 ;SPDT Type
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 37
- Joined: Mon Aug 05, 2019 11:02 am
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: A900727
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Setup Z axis brake
Ok thanks I will look into this further.
This machine does have a add1616 board and does have a ATC.
Hopefully I can figure this out.
This machine does have a add1616 board and does have a ATC.
Hopefully I can figure this out.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)