4th axis motor trying to turn before brake is actually released

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

Allin1Chris
Posts: 135
Joined: Wed Jul 31, 2019 12:53 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: 4th axis motor trying to turn before brake is actually released

Post by Allin1Chris »

dbensavage wrote: Fri Dec 08, 2023 12:23 pm I tried adding G4 P1.5 to the next line under the M95 /4 and get no pause.
Hello, Can you create a new fresh report and send it so we can see the modifications you made. Adding a G4 should cause a small pause.

Taking your earlier provided report, i modified both your M10 and M11 with a G4 of 1.5 seconds and are attached here. Place them into your C:\cncm directory and that should work. If not then please send a fresh report.
Attachments
mfunc11.mac
Added a G4 P1.5
(87 Bytes) Downloaded 34 times
mfunc10.mac
Added a G4 P1.5
(87 Bytes) Downloaded 23 times
When requesting support READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043

Please ALWAYS post a FRESH report. To make a report: https://www.youtube.com/watch?v=Ecvg0VJp1oQ.

(We pride ourselves on providing timely solid technical support but, without good information we may not be able to help and/or reply until such information is posted.)

Centroid PLC Tutorial Videos
dbensavage
Posts: 53
Joined: Mon May 06, 2013 5:30 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: 6200 on the All In One and 1814 on the Acorn
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: 4th axis motor trying to turn before brake is actually released

Post by dbensavage »

I tried the macros this morning and still no pause. Attached is a new report.

To test this i have been going to MIDI and typing in: M10 then cycle start to apply the brake. Then Typing in M11 A180 then cycle start and I get an "instant" stall with no pause before the stall. I even entered P3.5 into the macro and no pause.
Attachments
report.zip
(174.27 KiB) Downloaded 15 times
tblough
Posts: 3102
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
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: 4th axis motor trying to turn before brake is actually released

Post by tblough »

Your mfunc11.mac file turns off output #4, but your PLC defines out6 as clamp. Which output is the clamp solenoid connected to?
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.
dbensavage
Posts: 53
Joined: Mon May 06, 2013 5:30 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: 6200 on the All In One and 1814 on the Acorn
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: 4th axis motor trying to turn before brake is actually released

Post by dbensavage »

My machine is setup so M10 turns on the brake (closes output 6) and M11 Releases the Brake (Opens output 6).
cncsnw
Posts: 3854
Joined: Wed Mar 24, 2010 5:48 pm

Re: 4th axis motor trying to turn before brake is actually released

Post by cncsnw »

M11 A180 then cycle start and I get an "instant" stall with no pause before the stall. I even entered P3.5 into the macro and no pause.
If you enter

Code: Select all

M11 A180
on one line, then the axis motion (A180) is performed before the M function (M11).

To do what you intend, you have to run the M function, then run the axis motion on a subsequent line:

Code: Select all

M11
A180
dbensavage
Posts: 53
Joined: Mon May 06, 2013 5:30 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: 6200 on the All In One and 1814 on the Acorn
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: 4th axis motor trying to turn before brake is actually released

Post by dbensavage »

It sounds like the PLC program is wrong then. The "board" has output 6 labeled as the clamp so that's what its hooked up to. How do I go about changing the PLC program? and, why does the brake lock and release if the macro's both say output 4?? Now I'm really confused.
dbensavage
Posts: 53
Joined: Mon May 06, 2013 5:30 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: 6200 on the All In One and 1814 on the Acorn
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: 4th axis motor trying to turn before brake is actually released

Post by dbensavage »

CNCSNW,
You were correct, after doing it on the second line the pause is there. THANK YOU!! I just ran a test program center drilling on 3 sides of a part and it worked great!
cncsnw
Posts: 3854
Joined: Wed Mar 24, 2010 5:48 pm

Re: 4th axis motor trying to turn before brake is actually released

Post by cncsnw »

Your mfunc11.mac file turns off output #4, but your PLC defines out6 as clamp. Which output is the clamp solenoid connected to?
This is not correct. The M10/M11 macros and the PLC program use M function request #4 (SV_M94_M95_4) to control a "Clamp" output on OUT6.

M function request numbers do not have to match either the M function number or the affected output. They are just a bucket of available bits, that can be used for any purpose in any order.
Post Reply