Hello Guest it is December 06, 2019, 12:37:51 PM

Author Topic: Z Down Feed Rate DRO  (Read 4176 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: Z Down Feed Rate DRO
« Reply #10 on: December 26, 2015, 09:00:00 PM »
Looks decent from here(;-) One note teh Blue DROs with teh black letters are going to hard to read at times. I always pick White letters with a blue background as it has a much better contrast and much easier on old eyes.

On the tools assignments you may want to just consider the tool# and slot # as the same thing and use the Tool# in mach3 .  Otherewise you will have to create a swap table to drive and update the  ATC and that is something else you would have to maintain.

If I am creating a 10 tool ATC then I just use tool # 1-10 from the tool table. Yes you do have to edit the tool table IF you change out to a different tool. But that only takes less than  a minute to do 3 or 4 tools .  Mach3 assumes that tool# and slot# are the same for tool changes and does NOT provide a method of tracking them.

I may have a hot swap tool table somewhere here I will just have to look. I have only used one with a hotswap tool changer (not what you are building I think (;-) ) as they get complicated tracking tools and changes.
Re: Z Down Feed Rate DRO
« Reply #11 on: December 26, 2015, 10:14:39 PM »
TP, thanks for the encouragement!  Yes as you can tell I am not up to speed but working on that.  As for the tool table  I totally understand what you are saying.  I can just swap the tools around in the tool table to make things less complicated.  I think most of this is very overwhelming, but if it was easy everyone would be doing it!  

Say I have 16 tools in my tool table, which I do and I have tools 1-10 in the carousel but on the next project I need to put tool 13-16 in the carousel.   I would need to go into the tool table and swap tools 13-16 to be say tools 1-3.  If I understand you right that is how it will work.  So i just line select the tool in line 1 and move it to line 16 and take tool line 16 and move it to line tool 1 and so on.  I can see how that would work.

I hope to move forward more when I get all the hardware in my hands and have the limit switches wired up and working on the cylinders.  As you can see on the screen I have put the Input and Output labels next to the LEDS and buttons so that when writing the M6START macro the user can see what is going on.  I am a visual person so helps me understand the logic as well.

Jeff

Offline ger21

*
  • *
  •  6,289 6,289
    • View Profile
    • The CNC Woodworker
Re: Z Down Feed Rate DRO
« Reply #12 on: December 27, 2015, 07:32:04 AM »
You could make a custom screen to handle the different tools.
Make 10 User DRO's to hold the actual tool number.
Say you put tools 13-16 in slots 4-7.
In your M6Start macro, read through the 10 DRO's to see if the tool number you're using is in there, and have the ATC load the correct tool.

So, if you have T14 M6, then your macro will read the DRO's, find out that tool 14 is in slot 5, and load tool #5, which will actually be tool 14.

Does this make sense?
It's similar to how our Morbidelli router works. It has a setup screen where  you tell it which tool # is in which slot.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Z Down Feed Rate DRO
« Reply #13 on: December 27, 2015, 11:33:33 AM »
Ger, I think I see what you are saying and yes making another screen is not a big deal but making the logic in the Macro will be a challenge for me but with help from the members on the forum I could do it. 

One of the problems I am facing right now is my I/O space.  My control box is made up of a CNC4PC C32 with a ESS smooth stepper.  I ran out of I/O when I added a index pulse board for my spindle RPM.  To fix that problem I put a C52 board onto the ESS smooth stepper to add a third port.  I then needed another Output when I added two more solid state relays to the control box.  Those relays are connected to the C52 board with an RJ45. 

So I need 5 inputs now with the ATC tool changer.  2 inputs for the slide carousel cylinder for the extend and retract LEDS and 2 inputs for the Power Draw Bar cylinder Grip and Release LEDS.  The 5th Input would be the homing sensor for the Tool Carousel at start up of the program. 

My solution to this problem may be to take the Last Port on the C52 board and plug in a MODBUS from Automation Direct.  From what I can tell, the MODBUS could be connected to the C52 board with a RJ45 cable.  At that point I could use the MODBUS to handle the whole ATC functions.  If anyone has any knowledge of this please chime in and let me know.  If I had it to do over I would of used a Pokey with the ESS.

Thanks,

Jeff

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: Z Down Feed Rate DRO
« Reply #14 on: December 27, 2015, 10:23:55 PM »
With the available number of 3 ports could you not consolidate some inputs to gain extras ?


Internally Mach3 only understands Tool# not Slot # there are no hooks to use a swap table setup directly. IF you have a tool changer you are limited to only use the Tool# as slot #

Slot1 = Tool#1
Slot2 = Tool#2
Etc.

In other controllers the tool table is linked to a slot# so you simply assign a slot# to a tool # in the tool table  and it then assigns the slot# to a tool#.

I am not sure you could pull that off in Mach3 without a plugin.

The way I have done it in the past is to create a swap table on a new page then you assign tools to slots and then press a button and teh script would then auto insert teh proper tool # info into mach3 tool table by tool #.  The ATC was reserved the number of slots in teh ATC and all the other tools were added in above that number so they were always available to call into play from teh ATC setup page.

Just a thought, (;-) TP