Hello Guest it is April 16, 2024, 08:17:43 AM

Author Topic: M3 M4 M5 spindle relay solved  (Read 2870 times)

0 Members and 1 Guest are viewing this topic.

M3 M4 M5 spindle relay solved
« on: December 18, 2015, 08:38:29 AM »
Iv had a lot of problems getting m3,4,5 to work with the relay on my bob working on pin 14
And from the forums im not the only one

Output 1 activated
Pins set up and configures

It will trigger the relay with the screen button on main Mach 3 page and in the diagnostics screen etc
But nothing from MDI or g code files

Solution is so basic I could cry!
when setting up Mach 3 you are asked to set up profiles and not alter the generic profile
If you check c: mach3/ macros in the new profile they are all empty. But the mach 3 profile has a tiny bit of vb script in them
So you meanly copy these and paste into your own profile

Eg in M3 macro you need
DoSpinCW()

AND IT WORKS,!!
Ridiculously simple.   I struggled for hours on this and viewed 20 pages in this forum with no real solutions and found a few bits ov vb script solutions to a plethora of spindle problems wtih no simple solutions  but it's so simple

Have fun. Now the machine is truly finished!
So if Amy other Mcodes don't work you now know what to do!

Manny

« Last Edit: December 18, 2015, 08:48:05 AM by cnc many »

Offline Tweakie.CNC

*
  • *
  •  9,197 9,197
  • Super Kitty
    • View Profile
Re: M3 M4 M5 spindle relay solved
« Reply #1 on: December 19, 2015, 01:37:08 AM »
Hi Manny,

Thanks for posting this information which I am sure will help others that follow.

Tweakie.
PEACE