- Posts: 35
- Thank you received: 0
Stuck configuring 5i25 to run G540
- naja452
- Offline
- Junior Member
-
Less
More
6 years 4 months ago - 6 years 3 months ago #172822
by naja452
Stuck configuring 5i25 to run G540 was created by naja452
I didn't want to post, but I've been scraping the internet for days trying to fix this.
Machine: XYYZ gantry with a G540 and steppers, no encoders
Linuxcnc: 2.9.0-pre0-135
Mesa 6i25 flashed with 5i25_g540x2.bit
Background: I ran this machine with a parallel card but ran out of IO quickly, upgrading to mesa now.
I have a parallel cable connected to P3 on the back of the 6i25, this cable works perfectly over parallel.
I flashed the above firmware to the 6i25, verified it and checked the pins with "mesaflash --device 5i25--readhmid", the pins look good.
I chose "5i25 Internal Data" then G540x2, then set up the axis the best I could tell how to.
I set up the estop and limit switches, both of which work correctly
After starting linuxcnc, if you jog the display changes, the values update, but the machine doesn't move.
The estop and switches working correctly leads me to believe it's not the 6i25 board or cable.
No errors are thrown in dmesg or from the linuxcnc console that I can see but I'll attach a snapshot of the startup and movement activity.
I'm attaching my HAL, INI, readhmid, and dmesg.
THANKS!!
UPDATES:
Chargepump switch is OFF
switched 6i25 W2 to the down position, confirmed all the other jumpers are in the mesa default locations.
Yes, the motors have detent, the drivers are on. Hitting the G540 ESTOP stops the drivers, estops linuxcnc and kills the detent.
Fixed having attached the hal and ini to this post with wrong filenames
Machine: XYYZ gantry with a G540 and steppers, no encoders
Linuxcnc: 2.9.0-pre0-135
Mesa 6i25 flashed with 5i25_g540x2.bit
Background: I ran this machine with a parallel card but ran out of IO quickly, upgrading to mesa now.
I have a parallel cable connected to P3 on the back of the 6i25, this cable works perfectly over parallel.
I flashed the above firmware to the 6i25, verified it and checked the pins with "mesaflash --device 5i25--readhmid", the pins look good.
I chose "5i25 Internal Data" then G540x2, then set up the axis the best I could tell how to.
I set up the estop and limit switches, both of which work correctly
After starting linuxcnc, if you jog the display changes, the values update, but the machine doesn't move.
The estop and switches working correctly leads me to believe it's not the 6i25 board or cable.
No errors are thrown in dmesg or from the linuxcnc console that I can see but I'll attach a snapshot of the startup and movement activity.
I'm attaching my HAL, INI, readhmid, and dmesg.
THANKS!!
UPDATES:
Chargepump switch is OFF
switched 6i25 W2 to the down position, confirmed all the other jumpers are in the mesa default locations.
Yes, the motors have detent, the drivers are on. Hitting the G540 ESTOP stops the drivers, estops linuxcnc and kills the detent.
Fixed having attached the hal and ini to this post with wrong filenames
Last edit: 6 years 3 months ago by naja452.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
6 years 4 months ago #172823
by PCW
Replied by PCW on topic Stuck configuring 5i25 to run G540
Is the G540 chargepump enabled?
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 4 months ago - 6 years 4 months ago #172824
by naja452
Replied by naja452 on topic Stuck configuring 5i25 to run G540
Nope, should it be? And are you referring to a software setting? The switch on the G540 is set to OFF, It wasn't on with the parallel card either.
The led on the G540 is green and the motor drivers are on FYI.
I have the ESTOP connected to the G540 and linuxcnc is detecting it from the G540's pin 15 via the 6i25 if that's helpful at all.
The led on the G540 is green and the motor drivers are on FYI.
I have the ESTOP connected to the G540 and linuxcnc is detecting it from the G540's pin 15 via the 6i25 if that's helpful at all.
Last edit: 6 years 4 months ago by naja452.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
6 years 4 months ago #172825
by PCW
Replied by PCW on topic Stuck configuring 5i25 to run G540
Are you connected to P3 (the DB25 connector and is W2 down?)
(W2 must be down for non-mesa daugterboards/breakouts)
(W2 must be down for non-mesa daugterboards/breakouts)
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 4 months ago - 6 years 4 months ago #172939
by naja452
Replied by naja452 on topic Stuck configuring 5i25 to run G540
I did not have the W2 jumper down, but I do now. All jumpers are in the default positions.
I tried jogging again with no luck
The ESTOP and limit switches still work though.
I added the limit switches to GPIO 13-16, but 16 isn't enabled in the bitfile for some reason, so it doesn't work.
I tried jogging again with no luck
The ESTOP and limit switches still work though.
I added the limit switches to GPIO 13-16, but 16 isn't enabled in the bitfile for some reason, so it doesn't work.
Last edit: 6 years 4 months ago by naja452.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
6 years 4 months ago #172940
by PCW
Replied by PCW on topic Stuck configuring 5i25 to run G540
GPIO16 is plain GPIO bit that connects to P3 DB25 pin 13
its always available in a G540x2 configuration
(since it has no alternate function in that configuration)
its always available in a G540x2 configuration
(since it has no alternate function in that configuration)
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.191 seconds