Pokeys_homecomp EncoderSearch / Encoder Arm Topic: Pos_Fb Following errors

More
8 years 3 months ago #115155 by Erikcnc
Replied by Erikcnc on topic Pokeys
Well...thats clear, i know how to show them. Of i understand, pokeys.0.alive should be blinking?

Noting blinking and no respons of the button.

I whas searching though some photos, saw that the pokeys.comp nstalled i think.

Last lines says; collet2: error: ld returned 1 exit status.

Please Log in to join the conversation.

More
8 years 3 months ago #115159 by andypugh
Replied by andypugh on topic Pokeys
"alive" doesn't blink, it just shows true or false (yellow is true, an odd colour choice I agree)

It looks like the install failed because the driver isn't installed.
Can you try re-compiling the driver and show us the result of that command?

Please Log in to join the conversation.

More
8 years 3 months ago #115175 by Erikcnc
Replied by Erikcnc on topic Pokeys
I did what you said and it works!!!! I see the dot change collor if i push the button!! Can't see changes on the analog ports if i turn the potentiometer but they are active though.

Thank you for your support!!!

Now search to define pin to do lets say nc start.

Please Log in to join the conversation.

More
7 years 10 months ago #121712 by Erikcnc
Replied by Erikcnc on topic Pokeys
After re-installing my linuxcnc my machine is working.
Unfortunately i had to do the pokeys installation all over....

Yesterday i did that in 1 hour or so. Now in halshow its working again. I can see the pins changing if i push a specific button.

Now i struggle with getting it working in linuxcnc.

I got the setp pokeys.0.devSerial ***** in costom.hal and Loadusr -W pokeys in my_mill.hal with the first pin i want to test.
Code:
net all-home pokeys.0.in-4 => halui.all-home

Still...i got nothing. not even in Halshow in linuxcnc.

Please Log in to join the conversation.

More
7 years 10 months ago #121714 by andypugh
Replied by andypugh on topic Pokeys
I am confused, first you say it is working in halshow, then you say it isn't ?

Please Log in to join the conversation.

More
7 years 10 months ago #121719 by Erikcnc
Replied by Erikcnc on topic Pokeys
Yes.

If i do:
Code:
halrun loadusr -W pokeys setp pokeys.0.devSerial *****

And in a 2nd terminal
Code:
Halshow

I can see the pins and see them active if i trigger them.

But, if i open halshow in linuxcnc, nothing happens.

Please Log in to join the conversation.

More
7 years 10 months ago #121720 by andypugh
Replied by andypugh on topic Pokeys
Does moving the "setp" into the my_mill.hal help?

If you start linuxCNC from the command line (command "linuxcnc") is there any helpful output in the terminal?

Please Log in to join the conversation.

More
7 years 10 months ago #121722 by Erikcnc
Replied by Erikcnc on topic Pokeys
if i put all the commands in my_mill.hal file i got a error.

this is the (test) code
Code:
setp pokeys.0.devSerial 38163 loadusr -W pokeys # --- ALL-HOME --- net all-home pokeys.0.in-2 => halui.home-all

if i start linuxcnc (program) , the error says:

parameter or pin 'pokeys.0.devSerial' not found

posting 'setp pokeys.0.devSerial 38163' in costom_postgui.hal linuxcnc starts, but no respons from the pokeys

Please Log in to join the conversation.

More
7 years 10 months ago #121726 by andypugh
Replied by andypugh on topic Pokeys
You will need to load the component before you try to set any of its hal pins.

Swap the order of those two lines.

Please Log in to join the conversation.

More
7 years 10 months ago #121729 by Erikcnc
Replied by Erikcnc on topic Pokeys
Do you mean this?:
Code:
loadusr -W pokeys setp pokeys.0.devSerial 38163

Or swap the pin command?
Code:
net halui.home-all => pokeys.0.in-2


I tried the first one though. Didn't work.

Please Log in to join the conversation.

Time to create page: 0.183 seconds
Powered by Kunena Forum