Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Jim on July 12, 2013, 02:55:28 PM

Title: Simple motor control
Post by: Jim on July 12, 2013, 02:55:28 PM
This is almost embarassing....I've got a solid state relay connected to pin 16 of my parallel port. I had this working at one time (one hard drive ago) and am thoroughly lost in the configuration settings to turn the spindle motor (just a plain 117V AC) on with the M03 and off with M05 instructions.  No PWM, just on/OFF.
Title: Re: Simple motor control
Post by: Chaoticone on July 12, 2013, 04:18:57 PM
You need to set up and output to control your spindle relay in Config, ports and pins, spindle set up.  Then you need to set up the output to the port and pin you have it wired to in Mach.

Brett
Title: Re: Simple motor control
Post by: Jim on July 12, 2013, 07:21:31 PM
Doh!  Misread "Disable motor relay". You know how you can get it your head that you think something says one thing, but it's the opposite? I swear I was reading "Enable motor relay"...glad I'm not moving those cadmium rods...  :o

THANKS!
Title: Re: Simple motor control
Post by: Chaoticone on July 12, 2013, 07:37:15 PM
 ;D We all get tunnel vision I think.

Brett
Title: Re: Simple motor control
Post by: Hood on July 13, 2013, 05:10:08 AM
;D We all get tunnel vision I think.

Brett

Not me, now I have my new goggles :)
Hood

Title: Re: Simple motor control
Post by: Jim on July 13, 2013, 09:59:01 AM
Nice cat! ;D
Title: Re: Simple motor control
Post by: Hood on July 13, 2013, 10:10:55 AM
;D Want the address of my goggle manufacturers Jim? ;D

Hood
Title: Re: Simple motor control
Post by: Jim on July 13, 2013, 10:19:18 AM
I've been threatening my wife about a trip to Scotland. We went to England on our honeymoon (43 years ago) and I'm thinking about a vacation to Scotland and Ireland maybe in the next year. She's retiring next Spring, so that plays well into it.  She's a quilter and I'm sure there would be plenty of places to visit (spend money) there.

Jim
Title: Re: Simple motor control
Post by: Grafix on July 13, 2013, 01:25:29 PM
Jim, make sure you go to Scotland. I have just looked up where Hood lives. Its one of the most beautiful areas of the UK (thats saying something seeing as I am English!)

Hood, I have been up your way recently. I sometimes work at RAF Leuchars. Your a lucky lucky boy!
Title: Re: Simple motor control
Post by: Hood on July 13, 2013, 05:51:56 PM
Jim
 Probably the border area of Scotland would be a good visit for the wife, lots of wool mills and such down there.


Graffix
 Leuchars is not far as the crow flies (or Typhoon I suppose ;D )
I like it here, not too hot, not too cold, not too much rain, not too little, just perfect :)

Hood
Title: Re: Simple motor control
Post by: Grafix on July 14, 2013, 04:25:41 PM
Looking at the map I have flown the Typhoon in the simulator right over your house. GREAT fun.
Title: Re: Simple motor control
Post by: Hood on July 14, 2013, 05:01:10 PM
I can imagine, second only to flying the real thing I suppose.
Hood
Title: Re: Simple motor control
Post by: Jim on July 14, 2013, 05:50:37 PM
Just passed my flight physical for a couple more years...fuel prices put a damper on hopping in the Cessna and buzzing around. It would be cool to fly around there.