Page 3 of 4

Re: Zero position for bar feed location on lathe

Posted: Thu Jul 08, 2021 1:07 pm
by cnckeith
that's already been done.:-) viewtopic.php?f=63&t=3938

please post a fresh report.zip when you get back to the machine. critical piece of info that Dana and i need to help you.

Re: Zero position for bar feed location on lathe

Posted: Thu Jul 08, 2021 1:11 pm
by cnc_smith
I will still need a report when you are able to send it. It will be a day or so for me to get this written and tested with what I have going on here at Centroid.

In MDI instead of having to retype everything you can you the up arrow keys to highlight what you have previous type information and hit cycle start key to use that line. Not sure if you were aware of that.

A MDI example for how I do it using tool 5 to pull the material too. The first time press cycle start after entering each line.:

T0505
G0 X0 Z.02

When I go back in to MDI I press the up arrow key 2 times to highlight T0505 then press cycle start to go to tool 5 with offset 5 (My machine has an auto turret). Then press the up arrow key again 2 times to highlight the X0 Z0.02 and the press cycle start. That is down and dirty but you do not have to retype everything. Going into MDI it defaults to G0 so you do not have to have the G0 there. I put it there just as a reminder that this is a rapid move.

Re: Zero position for bar feed location on lathe

Posted: Thu Jul 08, 2021 2:30 pm
by vw_chuck
CNC Keith you need to pin that Macro post to the top of the page so that people know it is a thing.

Re: Zero position for bar feed location on lathe

Posted: Thu Jul 08, 2021 2:33 pm
by vw_chuck
Dana I did not know the arrow keys would let me go back and re-run a midi command. That does speed things up some in the future. I tried highlighting it with the mouse to reselect it but that didn't work. Thanks

Re: Zero position for bar feed location on lathe

Posted: Fri Jul 09, 2021 7:21 am
by vw_chuck
Here is the report you guys needed.
Thanks for the help.

Re: Zero position for bar feed location on lathe

Posted: Fri Jul 09, 2021 2:22 pm
by cnc_smith
vw_chuck

Thank you for the report.

I have attached 2 macro programs. They will need to be copied into the c:\cnct directory to run with the AUX keys.

1) Mfunc55.mac This program will move assigned tool to a position of X0.0000 Z0.0020. Operator will be prompted to open chuck and pull material out. Line 28 in Mfunc55.mac can be changed to what ever X and Z you want to go to. It then will be up to the operator to do a tool check to move the tool clear. This program is writen with notes how to change so after the chuck is closed the operator can just press the CYCLE START button to go to the tool change position. This is written for a manual chuck only. If the part program is run and does not end with the tool that is used to pull the material too when this macro is run it will prompt the operator to load the tool to be used for the material stop.

2) Mfunc56.mac This program ask you want tool number and offset you want to use to pull the materiel to. It does not set that tool as the active tool at this time. When Mfunc55.mac is run it will check to see if the current active is the same as tool that is to be used as the material stop. If the active tool is not the same as the tool to pull material to Mfunc55.mac program will prompt operator to load correct tool.

You can load and run each of these programs by themself to check to see how they work before you even assign them to the AUX keys. As with any program you run for the first run with caution.

For your VCP keys to assign these macros to Keith's video on VCP 2.0 might be helpful as well to explain the process



For assigning the VCP AUX keys use the forum if you need help. I will not be available to help with this.

For the macros if you have any question on these I can help. Unfortunately I will not be available until Monday morning. There will be other people on the Forum over the weekend that could help with the macros.

Re: Zero position for bar feed location on lathe

Posted: Sun Jul 11, 2021 9:56 am
by vw_chuck
Dana
This is fantastic. Thanks for the help on this. I will load these up and see how they work.

Re: Zero position for bar feed location on lathe

Posted: Fri Jul 23, 2021 1:14 pm
by vw_chuck
Ok so I got this loaded on and the M55 works as advertised but the M56 does not because on the standard lathe VCP it is assigned to tailstock in/out...How do I go about pointing that button to Mfunc56 in the folder? I think the tailstock in/out is some kind of skin event but I really don't understand any of that or how to relink it to the Mfunc56?

Re: Zero position for bar feed location on lathe

Posted: Mon Jul 26, 2021 9:07 am
by cnckeith
VCP manual starting on page 28

Re: Zero position for bar feed location on lathe

Posted: Mon Jul 26, 2021 10:49 am
by vw_chuck
Got it figured out. Both are working as advertised.