- Posts: 43
- Thank you received: 0
Jog not working on new install
- peterdownunder
- Topic Author
- Offline
- Senior Member
-
Less
More
1 year 9 months ago #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
Attachment not found
Attachment not found
Please Log in to join the conversation.
1 year 9 months ago #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 to join the conversation.
- peterdownunder
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 0
1 year 9 months ago #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
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22009
- Thank you received: 3
1 year 9 months ago #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 to join the conversation.
- peterdownunder
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 0
1 year 9 months ago #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 to join the conversation.
- peterdownunder
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 0
1 year 9 months ago #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
Please Log in to join the conversation.
- peterdownunder
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 0
1 year 9 months ago #318848
by peterdownunder
Replied by peterdownunder on topic Jog not working on new install
Here are the working gmoccapy files.
Attachment not found
Attachment not found
Please Log in to join the conversation.
- peterdownunder
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 0
1 year 9 months ago #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.
Please Log in to join the conversation.
Time to create page: 0.088 seconds
