Help with QTplasmaC

More
18 Apr 2021 04:49 - 18 Apr 2021 19:47 #206261 by snowgoer540
Replied by snowgoer540 on topic Help with QTplasmaC

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.


Indeed it does. But at least it brings attention to the fact that it’s confusing :laugh:

EDIT: I updated the picture in my post. Thank you for pointing out my blunder. :blush:
Last edit: 18 Apr 2021 19:47 by snowgoer540.

Please Log in or Create an account to join the conversation.

More
18 Apr 2021 04:58 #206262 by txtrone
Replied by txtrone on topic Help with QTplasmaC
Glad I could help out in some way! Qtplasmac looks really nice, I will get there eventually.

Please Log in or Create an account to join the conversation.

More
18 Apr 2021 06:00 #206265 by Clive S
Replied by Clive S on topic Help with QTplasmaC

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.

More
18 Apr 2021 06:21 - 18 Apr 2021 06:24 #206267 by Clive S
Replied by Clive S on topic Help with QTplasmaC
Thanks Phil for such a detailed consultation :)

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
Last edit: 18 Apr 2021 06:24 by Clive S. Reason: added text

Please Log in or Create an account to join the conversation.

More
18 Apr 2021 07:04 #206269 by phillc54
Replied by phillc54 on topic Help with QTplasmaC

I thought I had clicked on the plasma encoder but I will have to find out how to add it in hal

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...

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


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

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.


How do you extract the parameters to get a new pncconf

If you have an existing .prefs file with parameters in it then PncConf will not overwrite it, nor will it touch the materials file.
If it inadvertently did then you could run cfg2prefs and redo it from your existing PlasmaC config.
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
18 Apr 2021 07:18 #206270 by Clive S
Replied by Clive S on topic Help with QTplasmaC

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.

More
18 Apr 2021 07:27 #206272 by phillc54
Replied by phillc54 on topic Help with QTplasmaC
I don't see an Estop entry in "# external input signals" in the HAL file

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.

More
18 Apr 2021 09:09 - 18 Apr 2021 09:22 #206276 by Clive S
Replied by Clive S on topic Help with QTplasmaC
Ok
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

File Attachment:

File Name: QTplasma_t...0.tar.gz
File Size:11 KB
Attachments:
Last edit: 18 Apr 2021 09:22 by Clive S.

Please Log in or Create an account to join the conversation.

More
18 Apr 2021 09:24 #206279 by phillc54
Replied by phillc54 on topic Help with QTplasmaC
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...

Please Log in or Create an account to join the conversation.

More
18 Apr 2021 15:26 #206309 by Clive S
Replied by Clive S on topic Help with QTplasmaC

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 B)

I can now power the machine on :woohoo:

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 !!


File Attachment:

File Name: QTplasma_t...5.tar.gz
File Size:11 KB
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: phillc54
Time to create page: 0.091 seconds
Powered by Kunena Forum