Probe Basic spindle load bar off by a decimal

More
07 Sep 2022 21:16 #251441 by TurBoss
Thanks I edited my post with the correct component names.


 
The following user(s) said Thank You: Lcvette, masterjuggler

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

More
07 Sep 2022 22:19 #251445 by Lcvette
Thanks @Turboss and no worries @masterjuggler glad you got it sorted!  can you take a small video of it working?  i've still yet to set mine up even though i've bought the component that will capture the amperage and output an analog signal..  but you did remind me i had it on a shelf somewhere so i pulled it out and dusted it off so i could start planning its install!  :D

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

More
07 Sep 2022 23:11 - 07 Sep 2022 23:12 #251447 by masterjuggler
Attached a quick demo of the spindle load bar working if that helps give motivation lol.

By the way, on a totally unrelated note, how are you supposed to configure the pin display on the status page? I see that I can edit each pin's name and the card names, but I haven't been able to find how to either set them up in the gui or add them to a config file.

EDIT: seems I can't upload a proper video, so I zipped it. Oh well.
Attachments:
Last edit: 07 Sep 2022 23:12 by masterjuggler.
The following user(s) said Thank You: tommylight, Lcvette

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

More
07 Sep 2022 23:15 #251448 by Lcvette
awesome!  how is the updating in realtime? is it pretty smooth?

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

More
07 Sep 2022 23:30 #251450 by masterjuggler
It seems to be updating in real time, if a bit stuttery. But it's entirely probable that's caused by the fact that I'm running LinuxCNC on an AMD Athlon x2 lol.
The following user(s) said Thank You: Lcvette

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

More
23 Oct 2022 00:46 #254812 by daveyr
I have been trying to the same as in this thread but i seem to not be able to find halcompile

For my install i used the joco-nz bullseye installer to install the dev version of probe basic and linuxcnc 2.9

I am not sure if you would be willing to share your compiled version as i also have a 9 amp max for my VFD.

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

More
23 Oct 2022 02:05 #254817 by TurBoss
Hello

To get halcompile you need to install linuxcnc-dev or linuxcnc-uspace-dev
The following user(s) said Thank You: masterjuggler

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

More
24 Jan 2023 16:58 - 24 Jan 2023 17:00 #262823 by CNC_ANDI
at
halcompile --install load_conv.comp

i get this error:
cnc@debian:~$ halcompile --install load_conv.comp
Traceback (most recent call last):
File "/usr/bin/halcompile", line 1556, in <module>
main()
File "/usr/bin/halcompile", line 1526, in main
process(f, mode, outfile)
File "/usr/bin/halcompile", line 1366, in process
a, b = parse(filename)
File "/usr/bin/halcompile", line 434, in parse
f = open(filename).read()
FileNotFoundError: [Errno 2] No such file or directory: 'load_conv.comp'


where i can find load_conv.comp?

For my install i used the joco-nz bullseye installer to install the dev version of probe basic and linuxcnc 2.9
Last edit: 24 Jan 2023 17:00 by CNC_ANDI.

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

More
24 Jan 2023 17:00 #262825 by TurBoss

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

More
24 Jan 2023 17:18 #262827 by CNC_ANDI
thanks.
cnc@debian:~/linuxcnc/configs/CNC-ANDI$ sudo halcompile --install load_conv.comp[sudo] password for cnc: 
Compiling realtime load_conv.c
Linking load_conv.so
cp load_conv.so /usr/lib/linuxcnc/modules/

percent = round(amps/0.12);

is for 12A at 100 or 150%?

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

Moderators: KCJLcvette
Time to create page: 0.402 seconds
Powered by Kunena Forum