7i92, can I use "STEP" outputs with no "DIR"?
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18547
- Thank you received: 5093
18 Mar 2022 22:23 #237688
by PCW
Replied by PCW on topic 7i92, can I use "STEP" outputs with no "DIR"?
Yes, if you are not using stepgens 0..3 on P2 for XYZA
you would need to enable 6 stepgens to get a free stepgen on P1
and therefore lose GPIO5 as an input
If you are not using a G540 and its chargepump,
there is likely better firmware for you application
(maybe one of the 5ABOB firmwares would be closer)
you would need to enable 6 stepgens to get a free stepgen on P1
and therefore lose GPIO5 as an input
If you are not using a G540 and its chargepump,
there is likely better firmware for you application
(maybe one of the 5ABOB firmwares would be closer)
Please Log in or Create an account to join the conversation.
- dannym
- Offline
- Elite Member
-
Less
More
- Posts: 217
- Thank you received: 1
19 Mar 2022 00:06 #237695
by dannym
Replied by dannym on topic 7i92, can I use "STEP" outputs with no "DIR"?
>(maybe one of the 5ABOB firmwares would be closer)
OK, back to the dumb question- where do I find these pinouts? I don't have this on my Windows PC and I can't find anything to actually download that has the pinout
OK, back to the dumb question- where do I find these pinouts? I don't have this on my Windows PC and I can't find anything to actually download that has the pinout
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18547
- Thank you received: 5093
19 Mar 2022 00:08 #237696
by PCW
Replied by PCW on topic 7i92, can I use "STEP" outputs with no "DIR"?
Please Log in or Create an account to join the conversation.
- dannym
- Offline
- Elite Member
-
Less
More
- Posts: 217
- Thank you received: 1
20 Mar 2022 21:35 #237854
by dannym
Replied by dannym on topic 7i92, can I use "STEP" outputs with no "DIR"?
Thanks!
I did get the setup booting with rotary. Now, I'm stuck on homing. I didn't plan to home the A axis at all, one starting position is as good as another. There's no homing switch for it.
I copied most of my setup from other axes, so it's not surprising- it keeps rolling the axis, searching for the home switch which doesn't exist.
I figured I could add a line to see the homing switch net to be equal to 1 all the time, but a regular homing cycle has that backing-off step and that won't play nice with a fake switch input tied to 1. So maybe not.
What's the elegant way handle homing on a system like this?
I did get the setup booting with rotary. Now, I'm stuck on homing. I didn't plan to home the A axis at all, one starting position is as good as another. There's no homing switch for it.
I copied most of my setup from other axes, so it's not surprising- it keeps rolling the axis, searching for the home switch which doesn't exist.
I figured I could add a line to see the homing switch net to be equal to 1 all the time, but a regular homing cycle has that backing-off step and that won't play nice with a fake switch input tied to 1. So maybe not.
What's the elegant way handle homing on a system like this?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20199
- Thank you received: 6874
20 Mar 2022 21:47 #237856
by tommylight
Replied by tommylight on topic 7i92, can I use "STEP" outputs with no "DIR"?
Please Log in or Create an account to join the conversation.
- dannym
- Offline
- Elite Member
-
Less
More
- Posts: 217
- Thank you received: 1
21 Mar 2022 06:06 #237876
by dannym
Replied by dannym on topic 7i92, can I use "STEP" outputs with no "DIR"?
No joy. Set all that to zero and it still tries to home the A axis.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20199
- Thank you received: 6874
21 Mar 2022 07:01 #237879
by tommylight
Replied by tommylight on topic 7i92, can I use "STEP" outputs with no "DIR"?
Upload hal and ini files here.
Please Log in or Create an account to join the conversation.
- dannym
- Offline
- Elite Member
-
Less
More
- Posts: 217
- Thank you received: 1
22 Mar 2022 04:50 - 22 Mar 2022 19:05 #237993
by dannym
Replied by dannym on topic 7i92, can I use "STEP" outputs with no "DIR"?
Enclosed
I did quite a few variations on the ini file. HOME_SEQUENCE = 0, -1, 4...
This is still LinuxCNC 2.7.4 BTW. Upgrading to a new box soon, I don't think this prob is version-specific
Odd note. The normal sequence was Z, Y, then X1/X2.
In all cases, A-axis will start turning after Y. It starts turning A-axis concurrently as X1/X2 homing begins, regardless of what's in HOME_SEQUENCE, which I find odd. Even if I wanted no homing at all, if it DOES start an unwanted home, it should still use the SEQUENCE and it doesn't.
It will keep turning slowly, indefinitely. I hit arrow keys and it says something about can't jog while homing, but this does halt the motion of A-axis and allows jogging. The A-axis is then left unhomed and we can't enter interpreter mode.
I did quite a few variations on the ini file. HOME_SEQUENCE = 0, -1, 4...
This is still LinuxCNC 2.7.4 BTW. Upgrading to a new box soon, I don't think this prob is version-specific
Odd note. The normal sequence was Z, Y, then X1/X2.
In all cases, A-axis will start turning after Y. It starts turning A-axis concurrently as X1/X2 homing begins, regardless of what's in HOME_SEQUENCE, which I find odd. Even if I wanted no homing at all, if it DOES start an unwanted home, it should still use the SEQUENCE and it doesn't.
It will keep turning slowly, indefinitely. I hit arrow keys and it says something about can't jog while homing, but this does halt the motion of A-axis and allows jogging. The A-axis is then left unhomed and we can't enter interpreter mode.
Last edit: 22 Mar 2022 19:05 by dannym.
Please Log in or Create an account to join the conversation.
- dannym
- Offline
- Elite Member
-
Less
More
- Posts: 217
- Thank you received: 1
23 Mar 2022 16:59 #238117
by dannym
Replied by dannym on topic 7i92, can I use "STEP" outputs with no "DIR"?
Any ideas? I'm stuck. I've tried doing exactly as described with no luck, and tried every meaningful iteration I can think of.
It's notable that it's fixing itself alongside the X1/X2 axis as if its HOME_SEQUENCE=2 regardless of what the ini fil specifies. It's making me wonder if the prob isn't somewhere else entirely.
X1/X2 is unusual in that it's got two motors, but that shouldn't make any difference.
It's notable that it's fixing itself alongside the X1/X2 axis as if its HOME_SEQUENCE=2 regardless of what the ini fil specifies. It's making me wonder if the prob isn't somewhere else entirely.
X1/X2 is unusual in that it's got two motors, but that shouldn't make any difference.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11230
- Thank you received: 3755
23 Mar 2022 18:09 #238121
by rodw
Replied by rodw on topic 7i92, can I use "STEP" outputs with no "DIR"?
This is version specific
joint axes X1/X2 needs version 2.8
I suspect your A is reading the setup for a linear axis.
joint axes X1/X2 needs version 2.8
I suspect your A is reading the setup for a linear axis.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.076 seconds