Connect a Portenta Machine Control with an Arduino Uno through I2C

Hello!

I'm new to arduino and I'm trying to connect a Portenta Machine Control with an Arduino Uno through I2C.

I know they have different drive voltages so I have bought a 4-channel logic level converter to connect between them.

Has anyone done a similar project?

Which code should be written in an Arduino UNO (slave) to get access to all pins and what should be written in the Arduino PLC IDE program to be able to have Portenta Machine Control as master.

I intend to program in Ladder.

Thanks for all the help