Another plasma component...

More
24 Jun 2019 01:04 #137686 by thefabricator03
I am getting a error message when I try to start the Plasmac config I create with the configurator,

IOError: [Errno 2] No such file or directory: 'pyvcp-panel.xml'

Am I missing a dependency? I can open the Sim version of the branch.

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

More
24 Jun 2019 01:08 #137687 by phillc54
If you ran pncconf you must have selected to use a pyVCP panel.
You need to comment that out in your ini file or copy pyvcp-panel.xml from your base machine config directory to the new plasmac config directory.

Cheers, Phill.
The following user(s) said Thank You: thefabricator03

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

More
24 Jun 2019 01:46 #137689 by rodw
Replied by rodw on topic Another plasma component...

phillc54 wrote: If you ran pncconf you must have selected to use a pyVCP panel.
You need to comment that out in your ini file or copy pyvcp-panel.xml from your base machine config directory to the new plasmac config directory.

Cheers, Phill.


Just remember that Plasmac is trying to do what no other example config does and build a working config for you. If things don't work out, its a good idea to compare your ini file with the one in the sim and see what has changed.

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

More
24 Jun 2019 04:52 - 24 Jun 2019 04:53 #137695 by thefabricator03
I am sure this has been covered before but the last half and hour searching has not found the solution,

I have plasmac working but I cannot get the arc voltage to work.

I have FOUT - and FOUT + from the THCAD to encoder input A (TB3, Pin 7,8),

I have set in the configurator mode 1, and set the arc voltage input to hm2_7i76e.0.encoder.00.velocity,

The THCAD is set to Unipolar and the yellow light blinks quicker when I fire the torch.

Any ideas what I am doing wrong?
Last edit: 24 Jun 2019 04:53 by thefabricator03.

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

More
24 Jun 2019 05:13 #137698 by PCW
Replied by PCW on topic Another plasma component...
What does the arc voltage read?

Note that you may need to use a negative encoder scale number depending
of the state of the B encoder input

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

More
24 Jun 2019 05:15 #137699 by phillc54
Is the encoder counter-mode set to 1

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

More
24 Jun 2019 05:19 #137700 by thefabricator03

PCW wrote: What does the arc voltage read?

Note that you may need to use a negative encoder scale number depending
of the state of the B encoder input


On the DRO in plasmac it does not read anything, I am not getting any voltage.

I check it with hal show and some of the encoder pins just alternate between 0 and 1 constantly even when the torch is not fired.

The input hm2_7i76e.0.encoder.00.velocity stays at 0.

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

More
24 Jun 2019 05:41 #137702 by thefabricator03

phillc54 wrote: Is the encoder counter-mode set to 1


Is the encoder counter-mode the same thing as the operating mode? If so it is set to 1.

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

More
24 Jun 2019 06:22 - 24 Jun 2019 06:22 #137706 by phillc54
No, it is the counter mode in the HAL file, something like:
setp   hm2_7i76e.0.encoder.00.counter-mode   1
Last edit: 24 Jun 2019 06:22 by phillc54.

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

More
24 Jun 2019 06:53 #137708 by thefabricator03
I have checked all of the hal files in the config of the machine folder and cannot see a: setp hm2_7i76e.0.encoder.00.counter-mode 1

When I set up the basic config in Pnccof the first time I specified the pins for the THC, Ohmic input, Ohmic enable, Float switch, and then I ran the configurator as used the same values. I then tried running Plasmac and got a start up error message saying those pins were already in use.

I then ran Pnccof again without specifying these pins and let the configurator set them. That allowed me to run Plasmac.

Now in the original machine hal there is no mention of the encoder (because I did not set it in Pnccof),

I am a little lost here at the moment, When I set the encoder in Pnccof it gave me errors when I tried to start the program because it set the hm2_7i76e.0.encoder.00.velocity in the hal.

Once I get this sorted I want to use my experience to help write a decent step by step guide with the mesa 7i76e outlining my mistakes and how I resolved them.

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

Time to create page: 0.130 seconds
Powered by Kunena Forum