P1 expansion port
07 Dec 2023 00:24 - 07 Dec 2023 00:25 #287396
by Bl484
Replied by Bl484 on topic P1 expansion port
I haven't implemented any buffer yet, and the pin is not connected to the stepper motor driver.
However, I find it perplexing that I consistently observe 5 volts on pin IO41 without any variation, even when jogging the B-axis in both positive and negative directions. Interestingly, the indicator on 'hm2_7i96s.0.gpio.041.in' in HalShow toggles on and off as I jog in the positive or negative direction.
As mentioned earlier, I specifically adjusted the step generator number for the B-axis for testing purposes, as shown in the picture of my Hal file that I previously sent. I have resent it for your reference.
Do you recommend making any additional changes in other Hal files?
However, I find it perplexing that I consistently observe 5 volts on pin IO41 without any variation, even when jogging the B-axis in both positive and negative directions. Interestingly, the indicator on 'hm2_7i96s.0.gpio.041.in' in HalShow toggles on and off as I jog in the positive or negative direction.
As mentioned earlier, I specifically adjusted the step generator number for the B-axis for testing purposes, as shown in the picture of my Hal file that I previously sent. I have resent it for your reference.
Do you recommend making any additional changes in other Hal files?
Attachments:
Last edit: 07 Dec 2023 00:25 by Bl484.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6218
07 Dec 2023 00:47 #287398
by tommylight
Replied by tommylight on topic P1 expansion port
Normally the joint 4 is A axis, do you have an A xis in that config?
Please Log in or Create an account to join the conversation.
07 Dec 2023 01:15 #287407
by Bl484
Replied by Bl484 on topic P1 expansion port
I assigned Joint 0 for the X-axis, Joint 1 for the Y-axis, Joint 2 for the Z-axis, Joint 3 for the A-axis, and Joint 4 for the B-axis. I have attached my Hal file for your reference.
Attachments:
Please Log in or Create an account to join the conversation.
07 Dec 2023 01:33 - 07 Dec 2023 01:35 #287408
by Bl484
Replied by Bl484 on topic P1 expansion port
Thank you all for your support and help. However my problem has not been resolved yet.
Last edit: 07 Dec 2023 01:35 by Bl484.
Please Log in or Create an account to join the conversation.
07 Dec 2023 05:04 #287413
by PCW
Replied by PCW on topic P1 expansion port
Verified that this works here:
7I96s_5abobd.bin firmware
stepgen 9 set to velocity mode, enabled and maxaccel set to 1000
(so direction changes will be quick)
Set commanded velocity to a negative value:
Stepgen 9 DIR (DB25 pin 17 = HDR26 pin 8) is high
Set commanded velocity to a positive value:
Stepgen 9 DIR (DB25 pin 17 = HDR26 pin 8) is low
7I96s_5abobd.bin firmware
stepgen 9 set to velocity mode, enabled and maxaccel set to 1000
(so direction changes will be quick)
Set commanded velocity to a negative value:
Stepgen 9 DIR (DB25 pin 17 = HDR26 pin 8) is high
Set commanded velocity to a positive value:
Stepgen 9 DIR (DB25 pin 17 = HDR26 pin 8) is low
The following user(s) said Thank You: Bl484
Please Log in or Create an account to join the conversation.
07 Dec 2023 21:59 - 07 Dec 2023 22:02 #287486
by Bl484
Replied by Bl484 on topic P1 expansion port
Last edit: 07 Dec 2023 22:02 by Bl484.
Please Log in or Create an account to join the conversation.
Time to create page: 0.130 seconds