4RO 4DI expansion module

I've recently bought two expansion modules from unipi. And would like to know how to communicate with both the modules using a one wire system. In my project i have the rasberry pi connected to the unipi and would like to add this two expansion module, this are 1w 4 DI 4RO expansion modules