How is the counter input connected?

Count with neutral conductor: Connection: Bridge terminal 3/4 Ch-A/B and terminal 2 (0 V)
Programme: nPnPnP = 0 NPN

Count with positive conductor: Connection: Bridge terminal 3/4 Ch-A/B and terminal 1 (+V)
Programme: nPnPnP = 1 PNP