Direction pin doesn't change state

Post anything you want to discuss with others about the software.

Direction pin doesn't change state

Postby pbft » Fri May 21, 2021 1:46 pm

I'm using UCCNC with a UC400ETH and a Gecko g540. It *almost* worked out of the box - a near 'plug and play' setup. However, the X axis only moves in one direction. I found a thread here on a similar issue that ended up being an additional function assigned to the direction pin. That does not appear to be my problem. Here's what I've done so far:

  1. With the g540 disconnected, verified that port 1 pin 3 does not change voltage regardless of the axis move direction. Pins 5 and 7 behave as expected.
  2. Complained to CNCDrive that my UC400ETH might be bad. Got reply that they're 100% tested, and maybe it's a configuration issue.
  3. Found a thread here about a similar problem caused by two functions on the same pin. I manually checked for that problem, and used the pin mapping plugin to verify that there's no extra function mapped to pin 3.
  4. Moved X, Y, Z, and spindle to port 2. I get the exact same behavior. That should rule out a hardware problem, I think.
  5. Verified that the UCCNC software thinks that pin 3 is in the correct state. It shows it high when it should be, and low when it should be.

Through all of this, the actual voltage on pin 3, on either port 1 or port 2, stays stubbornly at 0.0V

Where else can I look? This limits the parts that I can make :-(
pbft
 
Posts: 8
Joined: Fri May 21, 2021 1:20 pm

Re: Direction pin doesn't change state

Postby ger21 » Sat May 22, 2021 4:58 pm

Where are you measuring the voltage? Bad cable perhaps? That might explain why you see the same thing on both ports.
In UCCNC, on the Diagnostics page, are the direction LED's changing state?
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Direction pin doesn't change state

Postby pbft » Sun May 23, 2021 10:51 pm

ger21 wrote:Where are you measuring the voltage? Bad cable perhaps? That might explain why you see the same thing on both ports.
In UCCNC, on the Diagnostics page, are the direction LED's changing state?


Good call - that was it. The cable that came with the UC400ETH wasn't *quite* crimped all the way. I did a continuity check of the cable itself and pin 3 was not connected. I put it in a vise and made sure it was fully compressed and it works fine.

Now for configuring the VFD.....
pbft
 
Posts: 8
Joined: Fri May 21, 2021 1:20 pm


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 5 guests