- Posts: 798
- Thank you received: 0
XHC-HB04 wireless MPG pendant HAL module
Unrecognized line skipped: POC FMS LEN DIAM COMMENT
xhc-hb04.hal:52: Pin 'and2.0.in0' was already linked to signal 'switches-y1'
the first line may just be a comment or relates to a tool table entry with a missing ; perhaps
the second is saying in effect you already have switches-y1 linked to a pin , before this entry , so perhaps a duplicate entry .
can you archive your complete linuxcnc config folder and attach , it may be quicker to chase down the culprit
Please Log in to join the conversation.
Unrecognized line skipped: POC FMS LEN DIAM COMMENT
Normally this comes up when using an old tool table from a previous version of Linuxcnc
They used to have the headings on the first line as to what each column was for
Please Log in to join the conversation.
rmagnus wrote: insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/and2.ko': -1 File exists
What this means is that your config already contains some "and2" functions.
So, the second "loadrt" is trying to load the same module again, but with more instances, and that isn't allowed.
You need to find the first place that there is a "loadrt and2 count=" and increase the count numbers. Then all your new HAL code needs to use the correct names for them.
(ie, probably and2.3, and2.4 and and2.5, as and2.0 is clearly already in use somewhere else)
Please Log in to join the conversation.
I THANK YOU ALL for all the help!
I feel I am getting close to have my pendant working and I am learning a lot!
Have a great weekend!
Sincerely
Rodolfo
Please Log in to join the conversation.
net zero xhc-hb04.button-zero => and2.5.in0 and2.6.in0 and2.7.in0
net jog-x and2.5.in1
net jog-y and2.6.in1
net jog-z and2.7.in1
net x0 halui.mdi-command-06 <= and2.5.out
net y0 halui.mdi-command-07 <= and2.6.out
net z0 halui.mdi-command-08 <= and2.7.out
My systemn does not give me any errors but the =0 just does not work
just in case here is a tar file as it is now.....
THANK YOU
Rodolfo
I changed as follows
Please Log in to join the conversation.
everything seems to work except the =0 button
thanks in advance!
Rodolfo
Please Log in to join the conversation.
Also, to have the "=0" key working, you should have selected one axis with the rotary switch on the MPG.
Frederic.
Please Log in to join the conversation.
Please Log in to join the conversation.
now my =0 button works perfect!
When I press it and have an axis selected it moves the starting point for that axis.
Is it possible to redraw the display automatically like when pressing the touch off button ai tyhe axis screen so the toolpaths that show the job to be routed are moved when I hit =0?
Right now only the xyz thingy with red green and blue arrows moves and the live plot reflects that it effectively was moved, but the toolpath of the job does not move when using the =0 button.
THANK YOU AGAIN!
Sincerely
Rodolfo
Please Log in to join the conversation.
rmagnus wrote: Is it possible to redraw the display automatically like when pressing the touch off button ai tyhe axis screen so the toolpaths that show the job to be routed are moved when I hit =0?
It might be possible to force a refresh by reloading the G-code file using axis-remote...
www.linuxcnc.org/docs/html/man/man1/axis-remote.1.html
If that does work, then you could create a custom M-code file then link that to your button.
It isn't what I would call an _elegant_ solution.
Please Log in to join the conversation.
