No success obtaining value of encoder from THCAD-10

More
3 years 11 months ago #257567 by santy
i believe i might be missing the frequencies and some other values which are asked by a prompt in QtPlasmaC. But im using PlasmaC only, which only asks for the voltage encoder port.

i wouldn't know how to change these values in the hal file directly, so i am trying to switch to qtplasmac (which seems to have an even better user interface)

Tried running " qtplasmac-plasmac2qt " in a terminal to switch from plasmac to qtplasmac but the command didnt work.

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

More
3 years 11 months ago #257570 by snowgoer540
Replied by snowgoer540 on topic No success obtaining value of encoder from THCAD-10
Seems like you’re just starting out, so I recommend using pncconf and choosing qtplasmac as the screen which will do everything for you, including the calculations for the thcad.

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

More
3 years 11 months ago #257572 by santy
i had no idea pncconf had a pre-made config for qtplasmac. thank you, will try now.

yes I'm starting out on linuxcnc! i have a bunch of old non-functional industrial machines; mills, plasma oxy, lathe, and a bunch of others my dad left me a few years back, and have decided to retrofit most of them. the first one is plasma and oxy and the next will be an ATC mill retrofit.

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

More
3 years 11 months ago #257576 by santy
guess i'll have to update from linuxcnc 2.8 to 2.9.
The following user(s) said Thank You: snowgoer540

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

More
3 years 11 months ago #257753 by santy
Do you mean this ? 
Should i try to paste this "somewhere" along the hal file in order for it to work? 
Code:
loadrt encoder num_chan=1 setp encoder.0.counter−mode 1 setp encoder.0.position−scale -1 addf encoder.update-counters base-thread addf encoder.capture-position servo-thread net arc-voltage-raw parport.1.pin-04-in encoder.0.phase-A
 

If you look at the encoder velocity in halshow and its not bouncing arround near 3800 (eg its static), there are some settings missing in your hal file. I think they are covered in the Plasmac docs.

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

More
3 years 11 months ago #257756 by snowgoer540
Replied by snowgoer540 on topic No success obtaining value of encoder from THCAD-10

Do you mean this ? 
Should i try to paste this "somewhere" along the hal file in order for it to work? 
Code:
loadrt encoder num_chan=1 setp encoder.0.counter−mode 1 setp encoder.0.position−scale -1 addf encoder.update-counters base-thread addf encoder.capture-position servo-thread net arc-voltage-raw parport.1.pin-04-in encoder.0.phase-A 

That is the example for a parallel port, I thought you stated you had a 7i96s.

I thought you were moving over to QtPlasmac? Yes, that does require you to be on 2.9, but you also get to use the pncconf that has qtplasmac as a screen by default. That will do all of this for you.

I made a guide that in addition to installing MX Linux, may help you get QtPlasmaC going. You mentioned you are pretty new to linux, so following the guide as a whole may make the transition a bit easier for you.

forum.linuxcnc.org/9-installing-linuxcnc...red-toward-new-users

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

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