Both device and controller must be connected to the common grounding bus. Connect the "open collector" output to the Dx terminal.