Help with QTplasmaC
- snowgoer540
- Away
- Moderator
- Posts: 2393
- Thank you received: 782
This image shows Z Axis stepgen inverted, or am I losing my mind?
Yep, you are correct. This catches me out a lot as well, the DIR pin is above the STEP pin.
EDIT: I updated the picture in my post. Thank you for pointing out my blunder.
Please Log in or Create an account to join the conversation.
- txtrone
- Offline
- Platinum Member
- Posts: 384
- Thank you received: 106
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
- Posts: 2241
- Thank you received: 476
QtPlasmaC only show the axes, not the joints regardles of the " kinstype=both" setting in the ini file.
This is a no win situation where it confuses some folk to have 4 "axes" dispalyed when they only have three and confuses other folk who expect to see 4 "joints".
This was a problem for me in the PlasmaC running Axis shows 4 at startup and then when homed shows 3..
As this is the first time looking at QTplasmaC I needed to know what was correct.
Thanks Phil
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
- Posts: 2241
- Thank you received: 476
Before I go and start playing.
Re
Edit:
I believe you use a THCAD for Arc Voltage. If so you haven't selected a Plasma Encoder in PncConf.
Can you confirm that the 7i96 Step0 is the X axis, 7i96 Step1 is the Z axis, 7i96 Step2 is the Y1axis, and 7i96 Step3 is the Y2 axis.
I thought I had clicked on the plasma encoder but I will have to find out how to add it in hal (As i can''t use the pncconf again)
Yes I believe that the steps and axis match up as you have it. (but I will check when I have had my breakfast)
I will sort the other stuff like the missing Y switch etc.
Just one thing that I would like clearing up if possible
With PlasmaC and axis I think you had to clear e-stop . (I have a hard wired e-stop only) Do I have to clear anything in QTplasmaC to get it running - the motors are locked ie enabled.
I will report back later.
Edit: How do you extract the parameters to get a new pncconf
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
- Posts: 5698
- Thank you received: 2081
It is a little unintuitive, you need to pick Plasma Encoder then pick Arc Voltage from the "menu". It is the only item so it looks kinda odd...I thought I had clicked on the plasma encoder but I will have to find out how to add it in hal
Something like this in the HAL file:
# ---ARC VOLTAGE ENCODER---
net plasmac:arc-voltage-in <= hm2_7i96.0.encoder.00.velocity
setp hm2_7i96.0.encoder.00.counter-mode 1
setp hm2_7i96.0.encoder.00.filter 1
setp hm2_7i96.0.encoder.00.scale -1
You have Estop as an indicator so if the machine is in Estop then the indicator will be red, if it is out of Estop then the indicator will be yellow. If it does that then all is good.With PlasmaC and axis I think you had to clear e-stop . (I have a hard wired e-stop only) Do I have to clear anything in QTplasmaC to get it running - the motors are locked ie enabled
If you have an existing .prefs file with parameters in it then PncConf will not overwrite it, nor will it touch the materials file.How do you extract the parameters to get a new pncconf
If it inadvertently did then you could run cfg2prefs and redo it from your existing PlasmaC config.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
- Posts: 2241
- Thank you received: 476
You have Estop as an indicator so if the machine is in Estop then the indicator will be red, if it is out of Estop then the indicator will be yellow. If it does that then all is good.
More good info. Thanks.
The e-stop led is red . I will have to look at the e-stop chain .
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
- Posts: 5698
- Thank you received: 2081
You need to add:
net estop-ext <= hm2_7i96.0.gpio.NNN.in
and change:
net estop-out <= iocontrol.0.user-enable-out
net estop-out => iocontrol.0.emc-enable-in
to:
net estop-out <= iocontrol.0.user-enable-out
net estop-ext => iocontrol.0.emc-enable-in
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
- Posts: 2241
- Thank you received: 476
I think I have addressed all previous query's
I don't have an external e-stop linked to linuxcnc. The e-stop button drops out a relay to stop all motion.
I do though think it is an e-stop problem now.
this is what I had in the PlasmaC setup hal.
net estop-out <= iocontrol.0.user-enable-out
net estop-out => iocontrol.0.emc-enable-in
I still have the red light led. Re the invert for the Y1 axis I had it done with the motor wiring
Edit: I did invert the breakaway as it was showing activated
Edit 2: I have added the encoder code as well now it shows a voltage on the gui
Attachments:
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
- Posts: 5698
- Thank you received: 2081
If you don't want to then change:
net estop-out <= iocontrol.0.user-enable-out
net estop-out => iocontrol.0.emc-enable-in
to:
net estop-out <= iocontrol.0.user-enable-out
setp iocontrol.0.emc-enable-in 1
I wouldn't recommend this but...
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
- Posts: 2241
- Thank you received: 476
You really should have a Estop connection into LinuxCNC
If you don't want to then change:net estop-out <= iocontrol.0.user-enable-out net estop-out => iocontrol.0.emc-enable-in
to:net estop-out <= iocontrol.0.user-enable-out setp iocontrol.0.emc-enable-in 1
I wouldn't recommend this but...
Yes I agree I will put it on the to-do list
I can now power the machine on
We are getting there. I can now home X and Z But Y immediately throws A F error
I know I have not put the THC settings in yet so the display is showing around 600V
I think that I have all the settings for the Y the same as the PlamaC file that worked !!
Attachments:
Please Log in or Create an account to join the conversation.