qtdragon pins?
- seebaer1976
- Offline
- Junior Member
- Posts: 36
- Thank you received: 4
is there a list of pins (pin names) for qtdragon that can be assigned manually?
mfg
Please Log in or Create an account to join the conversation.
- persei8
- Offline
- Platinum Member
- Posts: 386
- Thank you received: 121
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- Posts: 7771
- Thank you received: 2055
Chris
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- Posts: 7771
- Thank you received: 2055
Please Log in or Create an account to join the conversation.
- seebaer1976
- Offline
- Junior Member
- Posts: 36
- Thank you received: 4
linuxcnc.org/docs/2.8/html/gui/qtdragon.html#_hal_pins
Hi all, many thanks for your help and the great work done!
I am relieved to have selected the right pins from qtdragon.ui.
There is but one problem left: spindle does not show the actual value for RPM, the other ones are working fine (Huanyang VFD (hy_vfd) connected per modbus).
mfg
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- Posts: 7771
- Thank you received: 2055
Please Log in or Create an account to join the conversation.
- seebaer1976
- Offline
- Junior Member
- Posts: 36
- Thank you received: 4
have you connected spindle.0.speed-in to anything?
oops I forgot
Thanks for your help
mfg
Please Log in or Create an account to join the conversation.
- ikkuh
- Offline
- Elite Member
- Posts: 272
- Thank you received: 46
Even between qtDragon and qtDragon_hd same pins are named different. This makes it unnecessary difficult to change between screens during testing (I switch a lot between qtDragon and the HD version, the functionality is different between the two).
And sometimes it is almost impossible to get something to work. How do I use the power indicator in the VFD box to the right?
And are the some led's in the switches so I can see on screen what direction the spindle is turning?
Attachments:
Please Log in or Create an account to join the conversation.
- persei8
- Offline
- Platinum Member
- Posts: 386
- Thank you received: 121
As for spindle direction buttons, if you want indicators, select the button, check indicator_option, check indicator_status_option, check is_spindle_rev_status. The normal and HD versions should each have their own hal files so switching back and forth should not be a problem.
Please Log in or Create an account to join the conversation.
- ikkuh
- Offline
- Elite Member
- Posts: 272
- Thank you received: 46
Hopefully the remaped m6 toolchange will start to function soon too.
Thanks for making LinuxCNC a lot more professional.
The POWER label is a progressBar and it's value is calculated in the handler file by multiplying AMPS and VOLTS values read from the VFD. In a simulation, it will never be used. I did it this way because reading the power register from the VFD always returned 0 for some reason - something to do with the VFD which I have no interest in persuing.
OK, makes sense. I will add the voltage from my VFD to the hal file. Will be nice to see the powerbar move.
As for spindle direction buttons, if you want indicators, select the button, check indicator_option, check indicator_status_option, check is_spindle_rev_status.
Ok, will do that in Designer.
The normal and HD versions should each have their own hal files so switching back and forth should not be a problem.
But that is kinda my point, they should not have different hal files. A lot of the pins are already available and can be reused.
Please Log in or Create an account to join the conversation.