Hello Guest it is May 20, 2024, 10:08:31 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DonR

Pages: 1
1
Thanks so much Steve.

With a lot of your help I was able to get my tool change macro to work. I would not have been able to do this without your time and effort. This project is for my 1988 FADAL 4020 using a HiCON Integra PN 7766 controller.
I attached the final m6 lua code so that it might help other people on the forum.

Don

2

Steve
Thank you for the clear explanation. Mach4 is fun to customize when you know what your doing. I would like this to be a tool change BUTTON. I do not need to run this in the MDI or GCode. Another problem: For some reason when I change to M6 code in Edit/Debug Scripts or threw a button it keeps running old code. It wont update. I restart Mach4 and my computer but it hangs on to pervious scripts. I cannot try your update because it keeps running the last script.

This is my first time participating on this forum and your help is appreciated.


Don

3
Hi Steve
I am having trouble with what to put between the () in mc.mcSignalWait(). I attached the lua code I created. It works great until carousel out and carousel in. I need the motor to stop when it hits the out or in switch.
My confusion is at carousel out:Lines 18 to 25 and carousel in: Lines 52 to 59. Please let me know if you can help type something for me. I have been staring at this so long and cannot see what I'm missing.

Thanks

Don

4
FADAL 4020 tool changer carousel. I need help with MACH4 lua code.
How to write:

TURN ON OUTPUT 5 and when INPUT 8 is triggered turn OFF OUTPUT 5  -->Extend carriage turn of motor
Continue with the tool change cycle ….. (release tool raise head etc....)

TURN ON OUTPUT4 and when INPUT6 is triggered turn OFF OUTPUT4  -->Retract carriage turn off motor
Continue with the tool change cycle …..

I need help with the lua code to WAIT for the carriage input signals to close before going to the next line.

Thank you in advance.

Pages: 1