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.
(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.)
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.
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.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
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!
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
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.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)