Koike Aronson Plasma Conversion - sanity check on Mesa board selection?

More
3 years 6 months ago #270123 by brian_cant_code
I think my understanding of the encoder mapping was incorrect. I had it connected to the encoder plug on the 7i96s and couldn't get any readings off of it (I used a bench supply to simulate arc voltage). I switched it to the 7i77 encoder 2 and it works perfectly from there. Thanks for the assist!

Please Log in to join the conversation.

More
3 years 6 months ago #270125 by tommylight
That can be changed in hal to any of the encoders.

Please Log in to join the conversation.

More
3 years 6 months ago #270127 by PCW
Yes, to read the THCAD you need to:
1. Select the correct encoder
2. counter-mode for that encoder must be set to 1

For the rest to work the velocity pin of the selected encoder must be
connected to the appropriate qtplamac signal

Please Log in to join the conversation.

More
3 years 6 months ago #270138 by tommylight
Counter mode is set by PlasmaC/QtPlasmaC, so the only change required should be changing the encoder number.
And wiring ... :)
Edit,
To quick, encoder number must be changed also in the custom.hal file, i think that is where the encoder mode and some other stuff are.

Please Log in to join the conversation.

More
3 years 6 months ago #270146 by brian_cant_code
I tried encoder 6 and 7 via hal configuration (thinking that this would map to the encoder port on the 7i96s) and they showed -22 for the voltage. However, when I changed the hal mapping (and moved the plug) over to 7i77 encoder 2 everything worked appropriately. What I'm not sure about is if the encoder port on the 7i96s is active at all in the 7i96s+7i77 configuration.

edit: @tommylight: That's interesting, I don't have this setup in my custom.hal at all, just in my normal one

Please Log in to join the conversation.

More
3 years 6 months ago #270153 by PCW
It looks like there was an error in the firmware, sorry...
( A typo in the pinout file gave the 7I96S encoder (6)
2 A inputs instead of A and B )

Here is fixed firmware:

 

Attachment not found

Please Log in to join the conversation.

More
3 years 6 months ago #270154 by phillc54

Counter mode is set by PlasmaC/QtPlasmaC, so the only change required should be changing the encoder number.
And wiring ... :)
Edit,
To quick, encoder number must be changed also in the custom.hal file, i think that is where the encoder mode and some other stuff are.
Configs made with PNCconf  typically only have the debounce delays in custom.hal, almost everything else is in <machine_name>.hal

Please Log in to join the conversation.

More
3 years 6 months ago #270280 by phillc54

Using PlasmaC or QtAxis PlasmaC or QtPlasmaC?
There is no QtAxis PlasmaC that I am aware of.

Please Log in to join the conversation.

More
3 years 6 months ago #270301 by tommylight

Using PlasmaC or QtAxis PlasmaC or QtPlasmaC?
There is no QtAxis PlasmaC that I am aware of.

Ooopps...
Could not recal what the name was, still can't. :(

Please Log in to join the conversation.

More
3 years 5 months ago #270363 by phillc54
If you are meaning this one , it is based on AXIS like the old PlasmaC, it is not a Qt GUI.

Please Log in to join the conversation.

Time to create page: 0.220 seconds
Powered by Kunena Forum