For OpenSuSE 42.3 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:ighvh:devel-kernels/OpenSuSE 42.3/home:ighvh:devel-kernels.repo
zypper refresh
zypper install ethercat
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:ighvh:devel-kernels/15.5/home:ighvh:devel-kernels.repo
zypper refresh
zypper install ethercat
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:ighvh:devel-kernels/15.4/home:ighvh:devel-kernels.repo
zypper refresh
zypper install ethercat