Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: greenene on November 03, 2009, 08:33:09 AM

Title: one limit switch triggers two green input port pins
Post by: greenene on November 03, 2009, 08:33:09 AM
I have three switches acting as homing switches for the three axis.  While the x and z switches appear to work fine, the y switch turns two yellow port pin light indicator in mach's diagnostic window.
I have checked the connections to the breakout board as well as the config screen to make sure that there are no double entries.  Everything checkout fine.
The problem is consistent, that is, it's as if one switch was tied to two port pins
Incidentally, the machine and the homing work fine.  I discovered this anomaly while trying to trace noise issues that occasionally stop the machine.

Any clues?
thanks in advance
tony
Title: Re: one limit switch triggers two green input port pins
Post by: Hood on November 03, 2009, 08:43:25 AM
Can you attach your xml please.
Hood
Title: Re: one limit switch triggers two green input port pins
Post by: greenene on November 03, 2009, 09:27:51 AM
Here it is.
tc
Title: Re: one limit switch triggers two green input port pins
Post by: Hood on November 03, 2009, 10:30:35 AM
Load the standard screenset and see if the problem  is still there. Looking at the xml all seems fine and I am thinking  it may be that the LEDs on the screen have the same OEM.

Hood
Title: Re: one limit switch triggers two green input port pins
Post by: greenene on November 03, 2009, 10:42:27 AM
Thanks for the quick analysis, Hood.

Unless I misunderstood you, the file that I uploaded is the standard screen. I simply changed the file name due to a conflict with a similar file here on the forum.

It might have something to do with the breakout board.

tc
Title: Re: one limit switch triggers two green input port pins
Post by: Hood on November 03, 2009, 10:47:54 AM
Your xml says the screen you have loaded is  1024_offset.set the standard screen is 1024.set

Hood
Title: Re: one limit switch triggers two green input port pins
Post by: HimyKabibble on November 03, 2009, 11:40:31 AM
Try swapping the connections on the BOB for two switches.  You may have a short or bad chip on the BOB.  If you swap the wires and the double-LEDs move to another axis, then the BOB is defective.

Regards,
Ray L.