Page 17 of 31

Re: Show me your Custom VCP's!

Posted: Fri Feb 10, 2023 3:54 pm
by cnckeith
chipwelder please start a new thread. and follow these posting guidelines so we can help you.

https://centroidcncforum.com/viewtopic.php?f=60&t=1043

thanks.

Re: Show me your Custom VCP's!

Posted: Fri Feb 10, 2023 3:57 pm
by cnckeith
Chipwelder wrote: Wed Feb 01, 2023 5:13 pm Just lost another 2 hour attempt to build a nice New Build post. I am being directed to the Quick Reply screen. I can't find an attachment link for my report or pictures and my last saved draft is again gone. Until you get this system figure out can I get one question answered.

How do I program the Spindle Start button and the Spindle Cancel button to Output 5? i.e. Skin event number(17,16) from preprogramed button connected to preprogramed output.
always type any long posts in a word processor and then cut paste into forum editor.

Re: Show me your Custom VCP's!

Posted: Fri Feb 10, 2023 8:18 pm
by Chipwelder
Thanks ShawnM you pulled together a lot of things I was seeing. As soon as I reinstalled a clean CNC12 file all of the evolving issues were gone. I am not doing anything including forum on Mac moving forward. NoFaultOut now works as intended.
I will attach two new reports(hopefully that works on PC). With the spindle mode in manual if I press M3button the spindle starts. If I press the M4 button it stops the spindle ( Output5 simply toggling).Green and red work correctly. When in auto mode this doesn't happen(it shouldn't). If I cycle the Output5 on and off somewhat randomly with these 4 buttons it will lock up and require a CNC12 restart.
I have not touched any code at any point so far. This is all stock code/files. I am also goingto try to attach a photo that shows what happens when someone hits an M4 button on a lathe with a threaded spindle. This chuck spu off chipping the ways then bounced onto the operators foot the crashed to a halt . With a higly sk8lled helper I repaired this chuckto <0.0015 runout. And got a good buy on the lathe from the guy with the sore foot.
This needs to be trouble shot and fixed asap.
I am still pleadiong for someone to offer up one of the hundreds of router source files out there(I have tried searching the forum but don't know what character strings to use for search words and havn't gotten anything yet.
At this point in my CodeFlunky certification level it is extremely risky for me to try to untangle the 5 spindle buttons then to remove M3,M4 buttons. If I have a good starting point I want to learn from it as I add features down the line.
I am also still looking for what I would call a flow chart(back in the punch card era) of a single manual input/M code(g-code) execution path to the output. Including variable name syntax, memory locations affected, and generic logic code lines. It would show the various stages where these items are located.
But first a

Re: Spindle on/off and direction control

Posted: Fri Feb 10, 2023 9:13 pm
by cncsnw
It is normal and correct behavior on most any CNC control, to be able to to directly from M3 to M4. The spindle drive should be programmed to keep the decel/accel at a safe and achievable rate.

That is how tapping is done.

If, in a particular application (e.g. a lathe with a threaded-on chuck) you cannot tolerate going from forward rotation to reverse rotation at the decel and accel rates you have programmed into your spindle drive, then you need to either correct your spindle drive programming, or make yourself a custom PLC program. Don't ask the control manufacturer to take away the ability to tap from all users.

Re: Show me your Custom VCP's!

Posted: Fri Feb 10, 2023 9:46 pm
by tblough
Yup. My Hardinge has a bayonet mount so I have my decel at 5 seconds. That makes any rigid tapping painful, so I just single point most threads or manually thread using the tail chuck.

You have to take in consideration of YOUR machines limitations when fitting an aftermarket control.

Re: Show me your Custom VCP's!

Posted: Thu Feb 16, 2023 3:57 pm
by agsweeney1972
I am just gonna leave this here...
AxisControls.png
Job_Controls.png

Full post is coming.

Re: Show me your Custom VCP's!

Posted: Thu Feb 16, 2023 4:07 pm
by cnckeith
very cool! thanks for posting

Re: Show me your Custom VCP's!

Posted: Sun Feb 26, 2023 9:06 pm
by Redshift.cnc
First time messing with the VCP customization. so its a work in progress. if anyone knows how to change the 'feedrate override' text white let me know. it is blacked out. Lol. ill keep playing with it.
vcp pic.png

Re: Show me your Custom VCP's!

Posted: Mon Feb 27, 2023 6:48 pm
by cnckeith
cool thanks for posting

in the beta vcp (v4.99 beta) there are no hard coded buttons so, reset, feedrate over, etc. are fully customizable.
should have a new public revision up soon.

Re: Show me your Custom VCP's!

Posted: Mon Feb 27, 2023 6:59 pm
by Redshift.cnc
Nice! I look forward to checking out v4.99