- Posts: 35
- Thank you received: 0
Stuck configuring 5i25 to run G540
- naja452
- Offline
- Junior Member
-
Less
More
6 years 3 months ago #173367
by naja452
Replied by naja452 on topic Stuck configuring 5i25 to run G540
No-one has any other ideas? I'm at loss here.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
6 years 3 months ago #173368
by PCW
Replied by PCW on topic Stuck configuring 5i25 to run G540
if you disconnect the cable, does pin 16 (GPIO16) read high?
The fact that it does not seem to work suggests the the 6I25 might be damaged.
You can verify operation of that pin by reading it in halshow
It should be high if unconnected and low if grounded (jumpered to pin 25)
The fact that it does not seem to work suggests the the 6I25 might be damaged.
You can verify operation of that pin by reading it in halshow
It should be high if unconnected and low if grounded (jumpered to pin 25)
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
6 years 3 months ago #173404
by tommylight
Replied by tommylight on topic Stuck configuring 5i25 to run G540
Is the charge pump on the G540 switched off ?
If you want to use it, i think it will need another stepgen set as a charge pump.
For testing you can switch it off, that should cause the motors to lock when powered and should also move when jogging/working.
If you want to use it, i think it will need another stepgen set as a charge pump.
For testing you can switch it off, that should cause the motors to lock when powered and should also move when jogging/working.
Please Log in or Create an account to join the conversation.
- naja452
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
6 years 3 months ago #173765
by naja452
Replied by naja452 on topic Stuck configuring 5i25 to run G540
I've had a feeling that the card might be damaged, but didn't want to assume that yet.
I was mistaken, it's actually pin 15 that isn't working.
I tested pins 13 through 16 using a jumper with the parallel cable disconnected. 13, 14, and 16 all worked perfectly, but 15 did not change.
I also started a minimal Hal configuration to check the gpio pull up in this is what I got, it seems off.
Hal commands:
loadrt hostmot2
loadrt hm2_pci
loadrt threads name2=test2 period2=1000000
addf hm2_5i25.0.write test2
addf hm2_5i25.0.read test2
loadusr halshow
Here's a screenshot of halshow
photos.app.goo.gl/GxyBye9QieFomEni8
I was mistaken, it's actually pin 15 that isn't working.
I tested pins 13 through 16 using a jumper with the parallel cable disconnected. 13, 14, and 16 all worked perfectly, but 15 did not change.
I also started a minimal Hal configuration to check the gpio pull up in this is what I got, it seems off.
Hal commands:
loadrt hostmot2
loadrt hm2_pci
loadrt threads name2=test2 period2=1000000
addf hm2_5i25.0.write test2
addf hm2_5i25.0.read test2
loadusr halshow
Here's a screenshot of halshow
photos.app.goo.gl/GxyBye9QieFomEni8
Please Log in or Create an account to join the conversation.
- naja452
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
6 years 3 months ago #173766
by naja452
Replied by naja452 on topic Stuck configuring 5i25 to run G540
Is there a firmware I can flash to the 5i25 to check all the pin's function? Have them all generate a pulse or something like that?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
6 years 3 months ago #173806
by PCW
Replied by PCW on topic Stuck configuring 5i25 to run G540
You would have to disable all the stepgens and pwmgens to guarantee that all I/O pins
are left as GPIO:
loadrt hm2_pci config = " num_stepgens=0 num_pwmgens=0"
are left as GPIO:
loadrt hm2_pci config = " num_stepgens=0 num_pwmgens=0"
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.147 seconds