EtherCat - CATIO module Help

More
2 years 4 months ago #303344 by rodw
Replied by rodw on topic EtherCat - CATIO module Help
Start by typing ethercat pdos. That will list all of the possible PDOs you can create.
Share it here in a spoiler and we'll have a look.

THis has quite a few other features than the Deiwu so it will  be a bit more complex.

There are plenty of clues in their listing. Use Google Lens on your phone to translate the CHinese
The following user(s) said Thank You: DPFlex, BHar

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

More
2 years 4 months ago #303993 by BHar
Replied by BHar on topic EtherCat - CATIO module Help
Thanks RodW

I did find the manual and translate, it's attached here for anyone else who might come across this device.

Here is the pdos output:

Warning: Spoiler!

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

More
2 years 4 months ago #304000 by BHar
Replied by BHar on topic EtherCat - CATIO module Help
So I guess this is what I get from diving into EtherCat without already being super comfortable with LinuxCNC. I had seen it mentioned on the forum that it's a big task to work them both out at once and I have made it more complex by doing it on an RPI.

Seems my issue was while manipulating ethercat-conf.xml I was seeing seemingly good data appear in the lcec pins area of halshow, I was unable to manipulate them due to not having included the following in my Ini file.
addf lcec.read-all servo-thread
addf lcec.write-all servo-thread

Seems that it's not a servo thread but an overall thread for all IO (including servos) that these lines are referring to.

So, seems that I can operate all the digital outputs for this controller. I will continue to work on the other IO.

Thanks for the pointers on this everyone.

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

More
2 years 4 months ago #304002 by pippin88
linuxcnc.org/docs/html/hal/basic-hal.html#sub:hal-addf

The addf command adds a function to a real-time thread

Addf
Then the function
Then the thread the function is assigned to

Lcec is linuxcnc ethercat

Linuxcnc has has long-standing terminology of:
Servo thread - thread/loop where position, IO etc are read / updated
Base thread - used for software step generation. Not used in setups with hardware step generation (e.g. Mesa) or ethercat
(Documentation about the real time threads is a bit poor compared to most other linuxcnc docs)

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

More
2 years 3 months ago #304736 by onceloved
I have the same io card. I have configured digital input and output, analog input and output, counter input and pwm output. Now the only thing left is the encoder. The encoder of this io card outputs the count value without abz phase. How to convert the count value to abz phase?

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

More
2 years 3 months ago #304773 by Pro_El
Replied by Pro_El on topic EtherCat - CATIO module Help
I have the same card, can you share your xml for testing??

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

Time to create page: 0.540 seconds
Powered by Kunena Forum