pysoem icon indicating copy to clipboard operation
pysoem copied to clipboard

Ethercat Ring Topology

Open Michaelicious opened this issue 1 year ago • 1 comments

Is it possible to use 2 network interfaces for the same ecat network to create ring topology ?

Michaelicious avatar Dec 05 '23 10:12 Michaelicious

Recently I added a second optional parameter called ifname_red to the Master.open() function, this is used for the redundancy port, maybe this is exactly what you want.

Under the hood pyseom just uses the SOEM's ecx_init_redundant() if a second port is given. Whereas if only one port is given it uses standard ecx_init() function.

I just realized that the context managers open() function does not allow the seconde port, I'll add this soon.

bnjmnp avatar Dec 21 '23 07:12 bnjmnp