- Posts: 19306
- Thank you received: 0
Pokeys_homecomp EncoderSearch / Encoder Arm Topic: Pos_Fb Following errors
-W should mean that the loadusr command waits for the component to be ready before continuing.
When you say "Didn't work" what error message do you see?
Please Log in to join the conversation.
in my_mill.hal file
in postgui_call_list.hal file
If i use terminal with:
Pokeys response to the switches i installed before. Check, pokeys works.
I close terminal.
I start Linuxcnc (Gmoccapy)
Emergency butten ---> Machine Enable.
Go to settings ---> button Halshow
I go to watch en selecting the pins from the pokeys.
No response from my pre installed buttons.
Eny one got an example how it should look like?
Please Log in to join the conversation.
After i continued reading this topic, on page 5 i read this:
juanelo1221 wrote: Ok,I think I've got it!
Yesterday I was testing the system. thinking first in the update I moved my debian wheezy to debian jessi and afterwards tried to update linuxcnc.Everything seemed right until I tried to open my-mill then a linuxcnc error appeared. I thought the issue was because I had created the file in the older version so I created a new one but had no success. Desperate and a little upset I made an afresh installation of debian wheezy, I updated cnclinux and was able to open up the file.
I went back to do all the steps Fixer stated from page 1 and connected the Pokeys in windows to know the serial number. In the file my-mill.hall I wrote loadusr pokeys, ran the linuxcnc and was now able to see the pins. I shut down linuxcnc and now in my-mill.hall I wrote pokeys.0.devSerial 66258 save file and try to open linuxcnc send me an error:Code:Debug file information: . ./my-mill.hal:7: parameter or pin 'pokeys.0.devSerial' not found
I change the code loadusr pokeys and pokeys.0.devSerial to custom.hal and show me an error, if I put the loadusr pokeys in my-mill.hal and pokeys.0.devSerial66258 in custom.hal linuxcnc run fine, and pokeys.0.err are false and pokeys.0.alive start blinking. Is this procedure correct?
I tried to use estop with pokeys to test but i did not get it work, in custom.hal I wrote net estop-ext <= pokeys.0.in-52 it dont send me errors and in HAL configuration the pin 52 show :
Owner Type Dir Value Name
7 bit OUT FALSE pokeys.0.in-52 ==>estop-ext
Thank you so much for your help, have a nice day.
My apologizes for my lack of language. I try my best to explain my issue. I really hope to get it to work.
Erik
Please Log in to join the conversation.
From the starting post:
There are quite a number of explicit references to a specific RTAI path in there.
Please Log in to join the conversation.
[/strike]andypugh wrote: Is it possible that you need to recompile linked to a different RTAI system?
No, forget that, it has already been shown to work on your current system.
Try adding
Also, start linuxcnc from the command-line (command "linuxcnc") and paste all the output here.
Please Log in to join the conversation.
andypugh wrote: [strike]
[/strike]andypugh wrote: Is it possible that you need to recompile linked to a different RTAI system?
No, forget that, it has already been shown to work on your current system.
Try addingafter the "loadusr pokeys" line in the HAL.Code:show pin
Also, start linuxcnc from the command-line (command "linuxcnc") and paste all the output here.
Oke thanks!
I will try this evening.
Please Log in to join the conversation.
Thank you so much for the support!
A overview how it works for me.
in my_mill.hal file
Home-all works also without going to the home tab.
in postgui_call_list.hal file
i got also three 10K potetiometer to use as feed, maxvelocity and spindle override.
How could i get this to work though?
Please Log in to join the conversation.
"show pin" was only meant as a way to get some output to check if the pin existed. It wasn't meant to fix the problem.
Does the problem un-fix if you take the "show pin" back out again?
I don't see any reason for "setp pokets.0.devSerial" to need to be in the postgui call list.
It looks like some sort of race condition, which is odd as the -W should wait for completion.
Do you have the potentiometer values appearing and changing in HAL?
Please Log in to join the conversation.
andypugh wrote: Well, that's weird.
"show pin" was only meant as a way to get some output to check if the pin existed. It wasn't meant to fix the problem.
Does the problem un-fix if you take the "show pin" back out again?
I don't see any reason for "setp pokets.0.devSerial" to need to be in the postgui call list.
It looks like some sort of race condition, which is odd as the -W should wait for completion.
Do you have the potentiometer values appearing and changing in HAL?
I could try to remove 'show pin' and check if its realy that issue.
Another thing, those arrows are they have a function? Does it make a difirents how you insert them? ( <= or => )
About those potentiometers, i set them as analog input with the pokeys software.
I have to check how i can see values insted of I/0 dots.
Please Log in to join the conversation.
