Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.

More
03 Sep 2018 15:14 #117013 by andypugh
You don't need those any more, I hard-coded the numbers

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

More
03 Sep 2018 15:36 #117014 by tecno
OK

Still I can not wrap my head around this as I am not a programmer.

So what needs to be done in hal?

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

More
04 Sep 2018 14:34 #117054 by Hakan
Don't really want to interfere when Andy has got you on a good track.

But look in the "comp". There are several "pin in" at the top 15 lines. Connect them.
Make sure the comp is loadrt'd and addf'd in the hal file.
Then, being a bit defensive, start linuxcnc. Open halshow and watch the "pin out" signals
from the comp. Change gears and such things, and see if the output pins behave as you want.

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

More
04 Sep 2018 14:41 #117055 by tecno
Hi HÃ¥kan,

forum.linuxcnc.org/39-pncconf/33069-help...ing?start=590#116883

Already done, just need to go down and start LCNC and try ;)
I was convinced that SETP was needed but obviously not.
Maybe I get a timeslice after dinner today to do a test you suggest.

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

More
04 Sep 2018 15:04 #117057 by Hakan
Naah, if you have the version from this post forum.linuxcnc.org/39-pncconf/33069-help...ing?start=590#116868, the setp's aren't needed, as Andy says the speeds are hard coded..

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

More
04 Sep 2018 18:16 #117068 by andypugh
I have been away for a few days. Where are you with this now?

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

More
04 Sep 2018 18:22 #117069 by tecno
Hi Andy,

Still in same spot have not tried anything, been a bit offline due to joint pains again and then I tend to go off-line so to speak.

Cheers

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

More
05 Sep 2018 10:03 #117088 by tecno
Morning all,

Here my report from the shop, compiles OK and I get following error message.
Message string for index 0 missing
message: rtapi_app_main: Invalid argument (-22)
./GB_2speed.hal:18: waitpid failed /usr/bin/rtapi_app message
./GB_2speed.hal:18: /usr/bin/rtapi_app exited without becoming ready
./GB_2speed.hal:18: insmod for message failed, returned -1
Shutting down and cleaning up LinuxCNC...
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error.

File Attachment:

File Name: andy_GB_2speed.txt
File Size:6 KB
Attachments:

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

More
05 Sep 2018 10:25 #117090 by andypugh
It looks like you have not set the message comp up right. You need a message for each gear, telling the user how to set the controls.

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

More
05 Sep 2018 10:27 #117091 by tecno
OK

Give me a hint on how and where to do this and I will try to scribble something up.

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

Moderators: cmorley
Time to create page: 0.212 seconds
Powered by Kunena Forum