Jog not working on new install
- peterdownunder
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 3
10 Jan 2025 03:50 - 10 Jan 2025 03:54 #318606
by peterdownunder
Jog not working on new install was created by peterdownunder
I am using QtPlasmac on a new install.
Am using a card called the weenyPRU as seen here github.com/iforce2d/weenyPRU/tree/main
I started by using gmoccapy (as I am familiar with it) and then realised that the PlasmaC was deprecated in 2.9.
In gmoccapy I got homing and jogging working, so stopped there
HI then ran stepconf and created a qtPlasmac config and removed the parport/stepgen and merged what I think is correct for qtplasmac
I can currently home the machine, but when I jog it no stepping occurs. The screen update works ok for the axis position in both the graphical view and the axis position view.
Obviously missing some net connections but cannot see what.
Version is 2.9.1
Am using a card called the weenyPRU as seen here github.com/iforce2d/weenyPRU/tree/main
I started by using gmoccapy (as I am familiar with it) and then realised that the PlasmaC was deprecated in 2.9.
In gmoccapy I got homing and jogging working, so stopped there
HI then ran stepconf and created a qtPlasmac config and removed the parport/stepgen and merged what I think is correct for qtplasmac
I can currently home the machine, but when I jog it no stepping occurs. The screen update works ok for the axis position in both the graphical view and the axis position view.
Obviously missing some net connections but cannot see what.
Version is 2.9.1
Attachments:
Last edit: 10 Jan 2025 03:54 by peterdownunder.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23197
- Thank you received: 4879
12 Jan 2025 17:52 #318806
by andypugh
Replied by andypugh on topic Jog not working on new install
All the lines that mention jogging are commented out in the provided HAL file (but don't look to be enough)
What type of jogging are you trying to use? The HAL mentions a joystick.
What type of jogging are you trying to use? The HAL mentions a joystick.
Please Log in or Create an account to join the conversation.
- peterdownunder
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 3
13 Jan 2025 00:46 - 13 Jan 2025 00:48 #318836
by peterdownunder
Replied by peterdownunder on topic Jog not working on new install
The commented out jogs are from the sample that comes with the card I am using.
Am trying to jog using the arrow keys on the qtPlasmac GUI.
The startup shows these as disabled as expected, and when each axis homes they become active.
If I press one the the axis value increments, and the display show the head moving in the corresponding direction, but the motors do nothing.
MDI command like G0X100 do the same
Am trying to jog using the arrow keys on the qtPlasmac GUI.
The startup shows these as disabled as expected, and when each axis homes they become active.
If I press one the the axis value increments, and the display show the head moving in the corresponding direction, but the motors do nothing.
MDI command like G0X100 do the same
Last edit: 13 Jan 2025 00:48 by peterdownunder. Reason: typos
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 19695
- Thank you received: 6651
13 Jan 2025 00:53 #318838
by tommylight
Replied by tommylight on topic Jog not working on new install
Make a new QtPlasmaC config, make sure it works properly, only then try to do modifications.
Please Log in or Create an account to join the conversation.
- peterdownunder
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 3
13 Jan 2025 01:09 #318839
by peterdownunder
Replied by peterdownunder on topic Jog not working on new install
That is sort of what I tried. Unfortunately the new configs can only be made for a parallel port or a Mesa card.
Since this is a raspberry pi the parallel port won't run. I do have another working CNC that is running a Mesa, but that is operational and in use at the moment.
What I attempted here was to use the sample config I had to get a working gmoccapy, which worked fine, including jogging.
I then ran the wizard with the par_port option and qtPlasmac as the front end to create a default plasmac config.
I then replaced the par_port and associated hal nets, mainly just the joints and limits with the ones from the working gmoccapy config.
Unsure if there is a better way to achieve this.
Since this is a raspberry pi the parallel port won't run. I do have another working CNC that is running a Mesa, but that is operational and in use at the moment.
What I attempted here was to use the sample config I had to get a working gmoccapy, which worked fine, including jogging.
I then ran the wizard with the par_port option and qtPlasmac as the front end to create a default plasmac config.
I then replaced the par_port and associated hal nets, mainly just the joints and limits with the ones from the working gmoccapy config.
Unsure if there is a better way to achieve this.
Please Log in or Create an account to join the conversation.
- peterdownunder
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 3
13 Jan 2025 01:12 - 13 Jan 2025 02:08 #318840
by peterdownunder
Replied by peterdownunder on topic Jog not working on new install
Also the thing that sticks out is that the step-gen is also removed, as this is done on the weeny card, but cannot see anything that is needed to enable that (and the homing works ok)
I will post the working gmocappy that worked originally
I will post the working gmocappy that worked originally
Last edit: 13 Jan 2025 02:08 by peterdownunder.
Please Log in or Create an account to join the conversation.
- peterdownunder
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 3
13 Jan 2025 03:23 - 13 Jan 2025 03:23 #318848
by peterdownunder
Replied by peterdownunder on topic Jog not working on new install
Here are the working gmoccapy files.
Attachments:
Last edit: 13 Jan 2025 03:23 by peterdownunder.
Please Log in or Create an account to join the conversation.
- peterdownunder
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 3
25 Jan 2025 21:32 - 25 Jan 2025 21:33 #319849
by peterdownunder
Replied by peterdownunder on topic Jog not working on new install
Ok, sorted it out. IO error (Idiot Operator)
Not quite sure of the combo, but something to do with the TRAJ section set to inch, not mm, and the default Jog speed set to a very low value 60 meant that the axis was moving, but at such a slow rate that I did not even see it (although the computer is not right beside the Plasma table)
Seems to have all movement sorted out now. Time to get the plasma firing.
Not quite sure of the combo, but something to do with the TRAJ section set to inch, not mm, and the default Jog speed set to a very low value 60 meant that the axis was moving, but at such a slow rate that I did not even see it (although the computer is not right beside the Plasma table)
Seems to have all movement sorted out now. Time to get the plasma firing.
Last edit: 25 Jan 2025 21:33 by peterdownunder.
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.071 seconds