Yes. There are 5wires coming out from encoder. (attached file)
Black - OUT A - To DSUBPIN1
White - OUT B - To DSUBPIN2
Orange - OUT Z - To DSUBPIN3
Brown - 24Vdc Supply (connected to external 24VDC supply)
Blue - 0V (connected to external GND)
Shield is connected to body
I used external counter/pulse reader to get the signal from encoder and the encoder seems fine. The signal is not being picked up by NI 9411 module. The self test and self calibration of the NI9411 device is successful though. As I know, if the are no device connected to the module the counter value in NIMax test panel will continuously keep rising. But in this case it just stays as zero. with or without the device is connected.