Z axis is being controlled by A
- dannym
- Away
- Elite Member
-
Less
More
- Posts: 216
- Thank you received: 1
27 Apr 2025 21:26 #327191
by dannym
Z axis is being controlled by A was created by dannym
I've got a new install on an RPi4 with a 7i92TF and an MX3660. The DB25 is on a ribbon cable with a third cable end pressed onto it. I have A step/dir on pins 8/9. The MX3660 does also use 8/9 but only to drive isolated outputs that aren't connected to anything.
IIRC I used the Geckodrive G540 flash on the 7i92. The readhmid is enclosed. DB25 8/9 should be stepgen 03.
I don't have homing set up yet. XY jog fine.
Initially, I saw XYZ axes moved ok but then I tried to jog A and both A and Z moved. That's as best I recall, it was late last night.
I looked at what I had in the hal and, ok, the joint and stepgens for A were off like that. IIRC what I saw had A on stepgen 2.
I did the logical thing and X=Joint 0 stepgen 0, Y=Joint 1 stepgen 1, Z=Joint 2 stepgen 2, A= Joint 3 stepgen 3. Order XYZA. HAL/ini enclosed.
At least that's what I tried to do. The machine thinks differently, I keep looking for the prob in the hal/ini but I don't see where the typo is.
The problem is, any attempt to jog to Z (keyboard, MDI) won't physically move anything, although the Z in AXIS does increment.
But, if I select the radio button for A axis, or use the MDI on A axis, it moves both the A and Z.
I unplugged the A-axis DB25 tap. Z commands won't move the Z, A commands do still move the Z, but of course A is disconnected so it won't move.
What am I missing here?
IIRC I used the Geckodrive G540 flash on the 7i92. The readhmid is enclosed. DB25 8/9 should be stepgen 03.
I don't have homing set up yet. XY jog fine.
Initially, I saw XYZ axes moved ok but then I tried to jog A and both A and Z moved. That's as best I recall, it was late last night.
I looked at what I had in the hal and, ok, the joint and stepgens for A were off like that. IIRC what I saw had A on stepgen 2.
I did the logical thing and X=Joint 0 stepgen 0, Y=Joint 1 stepgen 1, Z=Joint 2 stepgen 2, A= Joint 3 stepgen 3. Order XYZA. HAL/ini enclosed.
At least that's what I tried to do. The machine thinks differently, I keep looking for the prob in the hal/ini but I don't see where the typo is.
The problem is, any attempt to jog to Z (keyboard, MDI) won't physically move anything, although the Z in AXIS does increment.
But, if I select the radio button for A axis, or use the MDI on A axis, it moves both the A and Z.
I unplugged the A-axis DB25 tap. Z commands won't move the Z, A commands do still move the Z, but of course A is disconnected so it won't move.
What am I missing here?
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 287
- Thank you received: 24
28 Apr 2025 21:04 - 28 Apr 2025 21:16 #327238
by langdons
Replied by langdons on topic Z axis is being controlled by A
Do you have a PC you can use, preferably with a parallel port or parallel port card?
That driver is really designed for a PC with a parallel port.
Also, it's only 3-axis.
XYZ, XZA, etc.
You can't have 4 axes with only a 3-axis driver.
That driver is really designed for a PC with a parallel port.
Also, it's only 3-axis.
XYZ, XZA, etc.
You can't have 4 axes with only a 3-axis driver.
Last edit: 28 Apr 2025 21:16 by langdons. Reason: Added more info.
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 287
- Thank you received: 24
28 Apr 2025 21:18 #327239
by langdons
Replied by langdons on topic Z axis is being controlled by A
I've never actually seen an actual, genuine leadhine product, only ever counterfeits, remakes, knowckoffs, etc.
I'm not sure it's actually possible to puchase a real leadshine driver.
Is yours genuine?
I'm not sure it's actually possible to puchase a real leadshine driver.
Is yours genuine?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18511
- Thank you received: 5070
28 Apr 2025 22:13 #327243
by PCW
Replied by PCW on topic Z axis is being controlled by A
The hal/ini files seem right
Short or other error in the cabling?
If you have the latest mesaflash you can:
mesaflash --device ethernet --addr 10.10.10.10 --dbname1 hdr26 --readhmid
(if you want the 26 pin IDC wire numbers)
If things still don't work, you might disconnect your cable
and check if the expected 7I92TF DIR pins change state
when jogging in different directions.
Short or other error in the cabling?
If you have the latest mesaflash you can:
mesaflash --device ethernet --addr 10.10.10.10 --dbname1 hdr26 --readhmid
(if you want the 26 pin IDC wire numbers)
If things still don't work, you might disconnect your cable
and check if the expected 7I92TF DIR pins change state
when jogging in different directions.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20152
- Thank you received: 6855
28 Apr 2025 22:17 #327245
by tommylight
Replied by tommylight on topic Z axis is being controlled by A
Seems like wiring issue, hal and ini seem fine, looked twice, but i do wear glasses ...

Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 287
- Thank you received: 24
28 Apr 2025 23:55 #327255
by langdons
Replied by langdons on topic Z axis is being controlled by A
How are you controlling 4 axes with a 3-axis driver?
Please Log in or Create an account to join the conversation.
- dannym
- Away
- Elite Member
-
Less
More
- Posts: 216
- Thank you received: 1
29 Apr 2025 03:16 #327263
by dannym
Replied by dannym on topic Z axis is being controlled by A
The DB25 is IDCs stamped on a ribbon cable. The 0.1" end plugs into P2 of the 7i92, the first DB25 goes to the 3 axis MX3660 and the cable goes on a few more inches to a DB25 that has a breakout board on it and pins 8/9 are STEP-/DIR- for a servo for the A-axis. The servo has an onboard driver. +5V is STEP+/DIR+ sourced from an RPi power pin.
Please Log in or Create an account to join the conversation.
- dannym
- Away
- Elite Member
-
Less
More
- Posts: 216
- Thank you received: 1
29 Apr 2025 03:36 #327264
by dannym
Replied by dannym on topic Z axis is being controlled by A
I don't know if it's a Leadshine knockoff, I got it a long time ago.
I knew Leadshine as a cheap but pretty good mfg- I never heard of any "knockoffs" of the Leadshine name.
It was a long time ago, but IIRC I ordered it straight from the mfg or at least a legit distributor.
The only thing that could matter would be if they actually wired the Z channel to DB 8/9. I did look up the manual again, Z is 6/7 and I can't imagine them just skipping it over and using 8/9, but, ok, I'll put that on the list of things to try. since it's easy- move the servo to pin 6/7 and see if it moves independently of Z.
I knew Leadshine as a cheap but pretty good mfg- I never heard of any "knockoffs" of the Leadshine name.
It was a long time ago, but IIRC I ordered it straight from the mfg or at least a legit distributor.
The only thing that could matter would be if they actually wired the Z channel to DB 8/9. I did look up the manual again, Z is 6/7 and I can't imagine them just skipping it over and using 8/9, but, ok, I'll put that on the list of things to try. since it's easy- move the servo to pin 6/7 and see if it moves independently of Z.
Please Log in or Create an account to join the conversation.
- dannym
- Away
- Elite Member
-
Less
More
- Posts: 216
- Thank you received: 1
29 Apr 2025 08:15 #327273
by dannym
Replied by dannym on topic Z axis is being controlled by A
Ah, ok, now things make sense.
That is actually the MX4660. But I had that servo with the built-in drive so I was only going to use 3 channels. The stepper power output channel plugs are a row under another row of plugs, hard to see, I didn't realize I skipped the 3rd and had the Z hooked to the 4th channel.
That is actually the MX4660. But I had that servo with the built-in drive so I was only going to use 3 channels. The stepper power output channel plugs are a row under another row of plugs, hard to see, I didn't realize I skipped the 3rd and had the Z hooked to the 4th channel.
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 287
- Thank you received: 24
29 Apr 2025 12:24 #327289
by langdons
Replied by langdons on topic Z axis is being controlled by A
Explain.
Did ya fix it?
Did ya fix it?
Please Log in or Create an account to join the conversation.
Time to create page: 0.082 seconds