Connecting to the Siemens LOGO programmable relays

Depending on your LOGO'2 firmware version there are several options: