Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: jve on July 11, 2010, 05:29:47 AM
-
hi guys
i have a milling with a 16 atc carousel and my problem is that when i reboot mach3 the tool go to position 1 cause the brain is sending this to the plc via modbus
so i always have to rotate to tool 1 before i turn off the computer or mach3
how i can resolve this ???
-
I personally prefer to change back to tool 1 at the end of every G-Code file, that way I know where everything is when I start afresh but others may think differently ;)
Have you tried setting "Tool Selections Persistent", its lower left of General Config page.
Hood
-
yes i selected that but it is something in the brain i think or the vb
-
Hood has it right, same here at every job end return the machine to it's starting point in both position AND modal values. The rule here is leave it like you found it.
As to the machine setup and control codes YOU are the only one that knows how it works VB or Brain wise.(;-)
-
Without seeing your brain and M6 macros I cant say, then again with my expertise with VB I probably wouldnt know even if I saw them ;D.
Hood
-
ok here it goes
-
brain
-
xml
-
any help guys ???????
-
From the quick look I have had I cant see how that macro or Brain could operate an ATC.
Can you explain how the ATC is actually controlled as it may help me understand, especially as VB is a weak point for me, one of many ;)
Hood
-
the brain is sending the tool number to the plc via modbus after the tool change is ready controled by the plc then the plc send a bit which mach3 recive and conected to input 4 so when mach3 recive input 4 means that toolchange is ready the problem is when i hit the reset the brain send for tool 1
-
Ok see now what you are doing however not sure I can get the problem.
I used your xml and set to tool 2, shut Mach down and restarted and the Tool DRO was 2, User DRO 2000 was 2 and in the Brain it still said 2 on the mod output so not sure why it would send a call for tool 1 to your PLC. I am wondering if it may be your ladder that is doing this?
Hood
-
i dont think that it is a ladder problem but i will try to check , the problem is as soon i press the reset the user dro 2000 is sending 1 to the plc but now i am trying this at home and as you said it is working properly and now i am realy confused ???
shall i uninstall mach3 and try to set up again ?
-
Check that you dont have any other Brain or macropump etc writing to that DRO when it sees a reset.
Hood
-
it was exectly as you said hood there was a macro pump that was reseting the tool to 1
many thanks hood
-
Glad you got sorted.
Hood
-
Jekran, If I may ask, and now that I won't be hijacking your thread, what PLC are you using and what can you tell me about the modbus interface. I will eventually be hooking in with a PLC on my setup.
-
i am using allen bradley micro logics via modbus
if i can help you let me know