- Posts: 69
- Thank you received: 0
QTPlasmaC, first cut ever. What to do after "initial setup"?
- fernandosf
- Topic Author
- Offline
- Senior Member
-
Less
More
5 years 2 months ago #218624
by fernandosf
Replied by fernandosf on topic QTPlasmaC, first cut ever. What to do after "initial setup"?
Thanks Snowgoer540. I'll recheck Z axis scale. Not in front of the machine now.
As for G53/G54, I was just trying to understand the error, but it did not make any sense, cos I have tested lots of values for safe-height and probe-height and the error remains.
As for G53/G54, I was just trying to understand the error, but it did not make any sense, cos I have tested lots of values for safe-height and probe-height and the error remains.
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
Less
More
- Posts: 2580
- Thank you received: 0
5 years 2 months ago #218625
by snowgoer540
No worries, just was a thought I had. I can't look at your config at the moment, but assuming it's otherwise correct, an incorrect scale would cause you to beat your head against the wall
Replied by snowgoer540 on topic QTPlasmaC, first cut ever. What to do after "initial setup"?
Thanks Snowgoer540. I'll recheck Z axis scale. Not in front of the machine now.
No worries, just was a thought I had. I can't look at your config at the moment, but assuming it's otherwise correct, an incorrect scale would cause you to beat your head against the wall
No worries, just didn't want you to get too hung up on it for Z axis. I will probably add a line or two to the user guide to explain why that is suggested.As for G53/G54, I was just trying to understand the error, but it did not make any sense, cos I have tested lots of values for safe-height and probe-height and the error remains.
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
Less
More
- Posts: 2580
- Thank you received: 0
5 years 2 months ago #218642
by snowgoer540
Replied by snowgoer540 on topic QTPlasmaC, first cut ever. What to do after "initial setup"?
I see in your config log files that you have a few Joint_3 following errors. This could be caused by an incorrect scale as well.
Finally, I am pretty sure that if you set the safe height to 0, it will default to the Z Axis Maximum height, which would help during your debugging.
Finally, I am pretty sure that if you set the safe height to 0, it will default to the Z Axis Maximum height, which would help during your debugging.
Please Log in to join the conversation.
- fernandosf
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 0
5 years 2 months ago #218661
by fernandosf
Replied by fernandosf on topic QTPlasmaC, first cut ever. What to do after "initial setup"?
I had Following errors when I was trying max_vel and max_accel, but I got over it.
You cannot miss A following error, cos everything freezes. They are not happening now.
I have tested Z scale and it is ok. Commanded to move 30mm and it really moved 30mm.All My drivers are at 800 microsteps (motors are 200 steps/rev).
About safe height, I can't set it to zero. Only from 1 to 74.or 75. Although I have not tried to edit the .prefs file directly.
No matter what value I put on safe height, I got the same error.
So many days lost on this, kind of frustrating...
You cannot miss A following error, cos everything freezes. They are not happening now.
I have tested Z scale and it is ok. Commanded to move 30mm and it really moved 30mm.All My drivers are at 800 microsteps (motors are 200 steps/rev).
About safe height, I can't set it to zero. Only from 1 to 74.or 75. Although I have not tried to edit the .prefs file directly.
No matter what value I put on safe height, I got the same error.
So many days lost on this, kind of frustrating...
Please Log in to join the conversation.
5 years 2 months ago #218663
by phillc54
Replied by phillc54 on topic QTPlasmaC, first cut ever. What to do after "initial setup"?
I have just made a sim from your config and I do see the problem. I don't see anything obviously wrong with the config and I don't know why it is happening yet, I will work on it today and hopefully find the reason...
Please Log in to join the conversation.
5 years 2 months ago #218665
by phillc54
Replied by phillc54 on topic QTPlasmaC, first cut ever. What to do after "initial setup"?
There are a couple of things wrong in the fer-qtplasmac.hal file that need changing:
from this:
to this:
this line needs to be uncommented:
I would also recommend changing the following even though you are not using them. The you would have a "standard" QtPlasmaC config wich does make diagnosing issues a bit easier.
in the fer-qtplasmac.ini file [TRAJ] section from this:
to this:
in the fer-qtplasmac.hal file uncomment these two lines:
from this:
Code:
net Zjoint-pos-fb => plasmac.axis-z-position
Code:
net plasmac:axis-position joint.3.pos-fb => plasmac.axis-z-position
Code:
#net plasmac:offsets-active motion.eoffset-active => plasmac.offsets-active
I would also recommend changing the following even though you are not using them. The you would have a "standard" QtPlasmaC config wich does make diagnosing issues a bit easier.
in the fer-qtplasmac.ini file [TRAJ] section from this:
Code:
SPINDLES = 1
Code:
SPINDLES = 3
Code:
#net plasmac:scribe-start spindle.1.on => plasmac.scribe-start
#net plasmac:spotting-start spindle.2.on => plasmac.spotting-start
Please Log in to join the conversation.
- fernandosf
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 0
5 years 2 months ago #218720
by fernandosf
About SPINDLES, I tried with standard, but LCNC complained about several lines I wouldn't know how to fix, so I just put 1 SPINDLE so that it would run. Sorry about that, will try to "keep it simple (stupid me)".
I am really interested about how to make a sim config based on a real config, but that would be another topic. I am not always besides de machine and a sim would help test things.
Replied by fernandosf on topic QTPlasmaC, first cut ever. What to do after "initial setup"?
Thanks Phill, I had to merge a working AXIS config with a Stepconf generated QTPlasmaC config and I don't remember of messing with the line you mentioned. If you say it's wrong, I'll get it fixed!net Zjoint-pos-fb => plasmac.axis-z-position
About SPINDLES, I tried with standard, but LCNC complained about several lines I wouldn't know how to fix, so I just put 1 SPINDLE so that it would run. Sorry about that, will try to "keep it simple (stupid me)".
I am really interested about how to make a sim config based on a real config, but that would be another topic. I am not always besides de machine and a sim would help test things.
Please Log in to join the conversation.
5 years 2 months ago #218740
by phillc54
Replied by phillc54 on topic QTPlasmaC, first cut ever. What to do after "initial setup"?
There is a post on how to make a sim here:
forum.linuxcnc.org/plasmac/43425-simulator-for-qtplasmac#218673
forum.linuxcnc.org/plasmac/43425-simulator-for-qtplasmac#218673
Please Log in to join the conversation.
- fernandosf
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 0
5 years 2 months ago #218800
by fernandosf
Replied by fernandosf on topic QTPlasmaC, first cut ever. What to do after "initial setup"?
Great news!
First, my apologies to Phill, as I don't know from where that "Zjoint-pos-fb" line came from (I've just tested and it's not from StepConf). This sort of thing happens when I don't know what I'm doing
Second, eliminating that line and adding "plasmac:axis-position" line, made it work! I can run wrench gcode fine. Will study the config to try to understand what happens there.
About SPINDLES config, i am getting an error, if it's something simple, please advise, or I will compare the conf with a fresh new from stepconf.
error:
$ linuxcnc /home/fer/linuxcnc/configs/fer-qtplasmac/fer-qtplasmac.ini
LINUXCNC - 2.9.0-pre0-4478-ga2e0d30a6
Machine configuration directory is '/home/fer/linuxcnc/configs/fer-qtplasmac'
Machine configuration file is 'fer-qtplasmac.ini'
Starting LinuxCNC...
Found file(REL): ./fer-qtplasmac.hal
Note: Using POSIX realtime
identityKinematicsSetup: coordinates:XYYZ
Joint 0 ==> Axis X
Joint 1 ==> Axis Y
Joint 2 ==> Axis Y
Joint 3 ==> Axis Z
identityKinematicsSetup: Recommend: kinstype=both
config string '0x378 out'
./fer-qtplasmac.hal:220: Pin 'spindle.1.on' does not exist
Shutting down and cleaning up LinuxCNC...
First, my apologies to Phill, as I don't know from where that "Zjoint-pos-fb" line came from (I've just tested and it's not from StepConf). This sort of thing happens when I don't know what I'm doing
Second, eliminating that line and adding "plasmac:axis-position" line, made it work! I can run wrench gcode fine. Will study the config to try to understand what happens there.
About SPINDLES config, i am getting an error, if it's something simple, please advise, or I will compare the conf with a fresh new from stepconf.
error:
$ linuxcnc /home/fer/linuxcnc/configs/fer-qtplasmac/fer-qtplasmac.ini
LINUXCNC - 2.9.0-pre0-4478-ga2e0d30a6
Machine configuration directory is '/home/fer/linuxcnc/configs/fer-qtplasmac'
Machine configuration file is 'fer-qtplasmac.ini'
Starting LinuxCNC...
Found file(REL): ./fer-qtplasmac.hal
Note: Using POSIX realtime
identityKinematicsSetup: coordinates:XYYZ
Joint 0 ==> Axis X
Joint 1 ==> Axis Y
Joint 2 ==> Axis Y
Joint 3 ==> Axis Z
identityKinematicsSetup: Recommend: kinstype=both
config string '0x378 out'
./fer-qtplasmac.hal:220: Pin 'spindle.1.on' does not exist
Shutting down and cleaning up LinuxCNC...
Please Log in to join the conversation.
- fernandosf
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 0
5 years 2 months ago #218802
by fernandosf
Replied by fernandosf on topic QTPlasmaC, first cut ever. What to do after "initial setup"?
Please Log in to join the conversation.
Time to create page: 0.062 seconds
