Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: TCustoms on March 01, 2014, 01:17:29 PM

Title: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 01, 2014, 01:17:29 PM
 I had Jeff @Soigeneris update my control box from USB to Ethernet as I kept getting an error for the smooth steppers and I could not get it fixed.

I HAVE NO PROBLEM WITH JEFF, I'd just rather not bother him as its the weekend.

I'm getting this error msg....mpv has invalid port and pin settings for the A input. port=3, pin-1

When looking at the ports and pins it does in fact say that for both the in and out. I know thats not right but I have no idea what should it be ?

Estop is port-1, pin-14 fwiw

Thanks
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Hood on March 01, 2014, 04:35:47 PM
Is port 3 set for pins 1-9 as Inputs? If not then you will likely get that message as 1-9 are Outputs by default. You can check by looking at the Config, from Plugin Control menu.
Hood
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 01, 2014, 08:49:34 PM
 Thank you.

Arn't those for servo motor drives ? I'm not using them so I'm pretty sure I don't need them. I turned them off.

 Now I get a PWM error. I've tried to change it but it seems to make no difference.
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Hood on March 02, 2014, 02:08:13 AM
First thing, when you say MPV are you actually meaning MPG? If not what does MPV stand for?

Hood
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 02, 2014, 08:00:42 AM
Should have been MPG,  I have fat fingers. :(
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Hood on March 02, 2014, 10:35:24 AM
Ok a MPG is a Manual Pulse Generator, it is used for moving the axes manually.
 If you do not have one connected then go to Config menu then Ports and Pins then Encoder/MPG page and disable the MPG.
Hood
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 02, 2014, 01:53:10 PM
 Yes Sir, as I said above, I turned them off.

 I now have a PWM error.
 It was always there I just didn't ask about it at the time so I didn't muddy the waters.
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Hood on March 02, 2014, 01:57:18 PM
Ah ok thought you meant that turning off the MPG made the PWM error appear.

PWM is a spindle error, how is your spindle set up? What kind of spindle controller are you using?
Hood
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 02, 2014, 02:15:03 PM
 Sorry about the confusion. Its a TAIG mill

 Here is a pic of the spindle page. When I press F5 I get the error msg,  PWM
(http://i57.photobucket.com/albums/g216/rockmup/IMG_0269_zps96cc4f58.jpg)
(http://i57.photobucket.com/albums/g216/rockmup/IMG_0271_zps6d962934.jpg)
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Fastest1 on March 02, 2014, 03:10:29 PM
In spindle set up, uncheck PWM, and check step/dir motor, apply, ok. That is how mine is set up. Mine is a Sherline with Homanns speed controller. It will either work or it wont. If it doesnt, change it back and wait for Jeff.
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Hood on March 02, 2014, 03:16:57 PM
It will depend on the actual spindle controller that you are using as to what the settings will be. Do you know what controller you have?
Hood
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 02, 2014, 04:28:47 PM
This is the controller,  http://www.soigeneris.com/stdr_4c-details.aspx

 Unchecking PWM made no difference, I did that yesterday. Thanks though
Title: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Fastest1 on March 02, 2014, 05:33:36 PM
But did you check step/ dir motor?
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 02, 2014, 06:52:16 PM
But did you check step/ dir motor?

Sure did.
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 02, 2014, 07:44:23 PM
 The spindle still didn't run when I did that and I didn't get any error msg. Who knows.
Title: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Fastest1 on March 02, 2014, 08:36:48 PM
Have you run this machine before? Or is this the first time ? Experience with Mach?
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 02, 2014, 09:25:55 PM
I had run this machine, with USB for the smooth steppers. I kept getting communication errors with the USB so Jeff suggested going to the ethernet.  I shipped him my box and he did the update.
 Not a lot of experience to be honest.

 I'm sure its something simple I'm missing.
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Hood on March 03, 2014, 01:43:34 AM
Would seem your box contains the Gecko G540, have a read of the manual for it to see how to set up the spindle.
Hood
Title: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Fastest1 on March 03, 2014, 07:20:12 AM
I asked that due to the fact when I got my first mill running. I didn't know what MDI was or how to use it. I had no hot keys assigned (didn't know what they were yet). It wast til someone gave me the GCode for a short movement that made my machine move. Just making sure you knew how to use an M3 command.
Title: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Fastest1 on March 03, 2014, 07:24:04 AM
What kind of communication errors did you get? Watchdog errors? I noticed during a tool measuring session yesterday, that mine will continue traveling after the key has been pressed. I was able to repeat it a few times. That sucks. Nothing will stop it except the EStop. I thought a key on my keyboard was stuck. Odd.
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 03, 2014, 02:36:05 PM
 I'm not getting any at the moment but it ain't moving either.

 I got ahold of Jeff today, he's going to remote into my comp and find out what I didn't do that I should have. I'll make sure and report back so someone searching might find an answer. lol

Thanks for the help guys
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: TCustoms on March 05, 2014, 07:57:17 PM
 Here's what happened, from the beginning.

 I sent my controller off to Jeff @Soigeneris to get rid of the USB set up and switch to Ethernet. I had random USB errors and I could not solve it at all after trying everything that was suggested. Really started to bring the suck when it would pop up in the middle of a run.

 So Jeff sent the box back to me, I installed all the software and hooked it up. Turned it on and nothing. Nada, zilch, zippo. Crap  For me, this is a big deal, I am computer challenged to put it mildly.  I started this thread incase it was something I wasn't getting. It wasn't.

 Jeff called me yesterday and remote'd in to my comp and spent a lot of time going through everything. Nothing. Then he asked my about the lights on the back of the control box. I'm like , what lights ? crap, I need a fuse.

 I managed to find a 7a pico fuse here in town. I bought 10 of them @ .99 ea.  Got home, went through 4 fuses, every time it blew it was at a different point in assembly. In the end I checked every wire and every connection and never did really find anything. There were a couple a ground and a hot that I thought were looser than they should have been. Paid them some extra time to them and boy howdy, I'm back in business.

 Thanks again to Jeff for the help and to those on here that tried to help me as well.










Cliffs; Loose wire popped 7a pico fuse.
Never found loose connection
Not popping anymore fuses
All good in the hood.
Title: Re: mpv has invalid port and pin settings for the A input. port=3, pin-1 in mach3
Post by: Hood on March 06, 2014, 02:56:20 AM
Good you got it sorted.

Hood