Connecting the Roland RG-3-PE piano pedal

Roland RG-3-PE piano pedal wiring

Hi!

Can anyone help me with the wiring diagram for a Roland RG-3 pedal?
Unfortunately, I can’t find it anywhere, and the cable connecting the piano and the pedal is broken.
We don’t know the wiring diagram anywhere, and so the pedal is unusable.