Use the J1 connector pin No. 3 and 10.
If you want to change the contact signal logic, press the CONFIG key and go to EXT OUTPUT ON/OFF > POLARITY.
For the details, read the user’s manual – chapter of External Control, Parallel Operation, and Synchronization – Turning Output On and Off.

