Connecting IO to a NPN plc

Hi
I have to connect the IO of the UR10 to a plc which IO is NPN. The IO of the UR10 is PNP.
In the manual the following is stated: " If communication with other machinery or PLCs is needed they must use pnp
technology"

Both pl’s have to communicatie with eachother. How can this be achieved?

You have to use a relay per I/O point you wish to use.

Yeah I was thinking about using a optocoupler circuit like the pc817 modules but I wasn’t sure.
Thanks for your reply!