New LinuxCNC-Ethercat git tree

More
02 Aug 2024 15:50 #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 

 

File Attachment:

File Name: ethercat-c...6-08.xml
File Size:4 KB


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 or Create an account to join the conversation.

More
02 Aug 2024 18:01 #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 or Create an account to join the conversation.

More
02 Aug 2024 18:52 - 02 Aug 2024 18:53 #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
Last edit: 02 Aug 2024 18:53 by jjdege.

Please Log in or Create an account to join the conversation.

More
03 Aug 2024 07:19 - 03 Aug 2024 13:00 #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

 

thanks
 
Attachments:
Last edit: 03 Aug 2024 13:00 by jjdege.

Please Log in or Create an account to join the conversation.

More
04 Aug 2024 03:53 #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?
The following user(s) said Thank You: jjdege

Please Log in or Create an account to join the conversation.

More
04 Aug 2024 07:33 - 04 Aug 2024 07:36 #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!
Last edit: 04 Aug 2024 07:36 by jjdege.
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
05 Aug 2024 15:11 #307004 by scottlaird
I've done the same thing more than once :-)
The following user(s) said Thank You: jjdege

Please Log in or Create an account to join the conversation.

More
21 Aug 2024 09:44 - 21 Aug 2024 09:44 #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:
Attachments:
Last edit: 21 Aug 2024 09:44 by zmrdko.

Please Log in or Create an account to join the conversation.

More
21 Aug 2024 15:26 #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.
The following user(s) said Thank You: zmrdko

Please Log in or Create an account to join the conversation.

More
21 Aug 2024 21:19 #308342 by zmrdko
looks like golang did it. Thanks a lot Scott!!

Please Log in or Create an account to join the conversation.

Time to create page: 0.134 seconds
Powered by Kunena Forum