Hello Guest it is July 20, 2019, 04:06:29 AM

Author Topic: mach3 tool remember  (Read 5643 times)

0 Members and 1 Guest are viewing this topic.

Offline jve

*
  •  128 128
    • View Profile
Re: mach3 tool remember
« Reply #10 on: July 13, 2010, 03:13:36 PM »
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  

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: mach3 tool remember
« Reply #11 on: July 13, 2010, 05:28:43 PM »
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

Offline jve

*
  •  128 128
    • View Profile
Re: mach3 tool remember
« Reply #12 on: July 14, 2010, 12:45:01 PM »
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 ?

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: mach3 tool remember
« Reply #13 on: July 14, 2010, 02:11:25 PM »
Check that you dont have any other Brain or macropump etc writing to that DRO when it sees a reset.
Hood

Offline jve

*
  •  128 128
    • View Profile
Re: mach3 tool remember
« Reply #14 on: July 16, 2010, 12:30:38 PM »
it was exectly as you said hood there was a macro pump that was reseting the tool to 1
many thanks hood

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: mach3 tool remember
« Reply #15 on: July 16, 2010, 02:23:25 PM »
Glad you got sorted.

Hood

Offline Mattw

*
  •  41 41
    • View Profile
Re: mach3 tool remember
« Reply #16 on: July 16, 2010, 03:27:21 PM »
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.

Offline jve

*
  •  128 128
    • View Profile
Re: mach3 tool remember
« Reply #17 on: July 17, 2010, 12:20:06 PM »
i am using allen bradley micro logics via modbus
if i can help you let me know