Another plasma component...

More
7 years 5 months ago #135353 by phillc54

I found a small bug with the configurator. Lines 519 and 523: these conditionals need to check from the beginning of the line eg ^MAX_VELOCITY instead of *MAX_VELOCITY. Otherwise it will fail when it encounters a line with these strings in a comment. Pncconf generated ini files will have these strings in the comments.

Thanks for the report, fixed and pushed...

Cheers, Phill.

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

More
7 years 5 months ago #135354 by phillc54

islander261 wrote: Phill

I am going off island for the next 5 to 7 days and am done for night now. If I have time in the morning I will try the test. I am using the Linux Mint system theme on the LMDE-2 machine control box.

John

Thanks John, I have been to the mint website and there is a Cinnamon, a Mate and a XFCE edition so I am not sure which one to try...

Cheers, Phill.

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

More
7 years 5 months ago - 7 years 5 months ago #135356 by AgentWD40

phillc54 wrote: This color button is frustrating...
Could you guys let me know the results of

Code:
lsb_release -a
on your machines.

Cheers, Phill.


My data point: I just updated to latest and the torch enabled/disabled button color works fine in gmoccapy on my debian 9.9 machine, default xfce desktop and everything from the linuxcnc stretch iso. I've also rebuilt a barebones ini/config.

Speaking of barebone config, the last hal component I need to hook up is the torch voltage. I'm running a 7i96 and a thcad10. What lines do I need to get the thc hooked up? Right now the only hal config I have in regard to this is

net plasmac:arc-voltage-in hm2_7i96.0.encoder.00.velocity => plasmac.arc-voltage-in

But it's just a placeholder to get the config to load until I figure out what it's supposed to be. All I know is i'm to wire into encoder A and somehow calibrate with the sticker on the back of the thcad card. I know the THCAD manual has a simple formula for converting the frequency to voltage with these calibration figures, but when I was looking through plasmac.comp I didn't see where I use these.
Last edit: 7 years 5 months ago by AgentWD40.

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

More
7 years 5 months ago #135357 by phillc54

All I know is i'm to wire into encoder A

Yes, the THCAD wires into encoder A

- run LinuxCNC
- open halshow and watch plasmac.arc-voltage-in and plasmac.arc-voltage-out
- set Voltage Scale in the Plasma Config tab to 1
- set Voltage Offset in the Plasma Config tab to the value read from plasmac.arc-voltage-in
- apply a known voltage to the TCHCAD input
- set Voltage Scale in the Plasma Config tab to (known-voltage / plasmac.arc-voltage-out)
you could probably keep tweaking to fine tune further.

Basically:
Voltage Offset sets the displayed voltage to 0 when there are zero volts present.
Voltage Scale set the voltage to the correct value for a known voltage.

Cheers, Phill.

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

More
7 years 5 months ago #135358 by phillc54
Rod and/or John,
Could you please try this:
In plasmac_buttons.glade change line 4 with a text editor from:
Code:
<requires lib="gtk+" version="2.24"/>
to:
Code:
<requires lib="gtk+" version="2.18"/>

Cheers, Phill.

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

More
7 years 5 months ago #135359 by AgentWD40

phillc54 wrote:

All I know is i'm to wire into encoder A

Yes, the THCAD wires into encoder A

- run LinuxCNC
- open halshow and watch plasmac.arc-voltage-in and plasmac.arc-voltage-out
- set Voltage Scale in the Plasma Config tab to 1
- set Voltage Offset in the Plasma Config tab to the value read from plasmac.arc-voltage-in
- apply a known voltage to the TCHCAD input
- set Voltage Scale in the Plasma Config tab to (known-voltage / plasmac.arc-voltage-out)
you could probably keep tweaking to fine tune further.

Basically:
Voltage Offset sets the displayed voltage to 0 when there are zero volts present.
Voltage Scale set the voltage to the correct value for a known voltage.

Cheers, Phill.


I must be missing something. plasmac.arc-voltage-in voltage-out, as well as hm2_7i96.0.encoder.00.velocity don't show anything, all zero.

Is there another component I need to load?

The thcad is blinking, and blinks faster when I put voltage on the input. I tried F/1 and F/32. Also, the bipolar/unipoler jumper is confusing referencing the silkscreen vs the manual.

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

Moderators: snowgoer540
Time to create page: 0.410 seconds
Powered by Kunena Forum