- Posts: 19311
- Thank you received: 4655
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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
[/strike]andypugh wrote: Is it possible that you need to recompile linked to a different RTAI system?
Please Log in or Create an account 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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.