New LinuxCNC-Ethercat git tree

More
2 years 2 months ago #306756 by jjdege

Hi ScottI don't know if this is the right place.I wanted to report a problem.I'm using the EasyIO, with the great work of recent times it is among the devices included in the EtherCAT drivers for LinuxCNC, up until now I had only used the digital IOs which are oknow with a retrofit I need to use the analog output for the spindle, I did some tests but I wasn't able to make it work, LinuxCNC in the HalShow displays that it works but nothing comes out on the outputs with the tester. out of curiosity I also tried the analog inputs and they don't show any signs of life. To verify, I tried the old .XML and the analog outputs and inputs work, while the digital IOs I hypothesize conflict with the LinuxCNC internal drivers, because they work in a bizarre way.

I attach the XML 

 

Attachment not found



Thanks again for your precoius work
 


Hi Scott
the problem with the EasyIO is not solved
it has been inserted in the lcec devices but
as I explained above the analog IOs do not work,
while the digital IOs work
In Halshow the value is floating and works,
while at the output of the card there is nothing

how should I move to solve it?

thanks and sorry if I insist

Please Log in to join the conversation.

More
2 years 2 months ago #306771 by scottlaird
Sorry, just saw this. Digital works, analog doesnt? Have you tested both the analog in and out, or just the out?

I'll double check the code vs the specs and see if anything leaps out.

Please Log in to join the conversation.

More
2 years 2 months ago #306780 by jjdege
Hi Scott
Nothing, I imagined you hadn't seen.

Yes the digital ones are perfect while the analog outs, as I wrote, work in halshow but on the EasyIO output there is no life
I'll check the analog inputs and tell you

thanks again

Please Log in to join the conversation.

More
2 years 2 months ago #306832 by jjdege
Hi Scott
check done
the analog inputs work, I enter with 5V and in halshow there are 5V.
While the analog outputs are as I said, in halshow they work, at 50% there are 5V,
on the output of the card there is no life

 

Attachment not found



thanks
 

Please Log in to join the conversation.

More
2 years 2 months ago #306896 by scottlaird
Okay, a quick look through the code and a look at the ESI file for the EasyIO doesn't show anything *glaringly* wrong. On the other hand, I don't know if anyone has actually tried using this driver before, so 3 of 4 isn't too bad...

One quick question: did you set aout-1-enable?

What are the various aout-1-* pins set to?

Please Log in to join the conversation.

More
2 years 2 months ago #306904 by jjdege
Hi Scott
Thanks!
I'm stupid,
it was the classic solution that you have in front of your eyes and you don't see.

The output must be enabled, of course, and the scale must also be set, of course,
but I didn't think of it, even though I had done the same thing for the FR4000
I'm speechless....

Everything works, I'd say the driver is ok

Thanks again for your time!

Please Log in to join the conversation.

More
2 years 2 months ago #307004 by scottlaird
I've done the same thing more than once :-)

Please Log in to join the conversation.

More
2 years 2 months ago #308275 by zmrdko
I would like to make some minor upgrades to lcec_dems300. But I am getting errors when compiling original source code from github:

Attachment not found

Please Log in to join the conversation.

More
2 years 2 months ago #308301 by scottlaird
The easiest fix is to install go -- `sudo apt install golang` will probably do the trick. Alternately, you can just ignore it, as it's only needed for some tools, not for the core of LCEC. You could even remove `lcec_configgen` from the `user:` target around line 83 in src/Makefile, plus the bit in `install-user` where it's installed, around line 92.

Please Log in to join the conversation.

More
2 years 2 months ago #308342 by zmrdko
looks like golang did it. Thanks a lot Scott!!

Please Log in to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum