This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TIOL1113: NPN/PNP problem

Part Number: TIOL1113

Hi, 

I am working with the PIC32MM0256GPM048-I µC, which is connected to the TIOL111-3.

My problem is that the output is in NPN instead of PNP.

The output EN of my µC (pin 38 alias RD0) is connected with a simple wire to the pin EN of the TIOL. The output TX of my µC (pin 35 alias RB4) is connected with a simple wire to the pin TX of the TIOL. 

I have two programs: 

  • "-2" which has a full IO-Link stack, but the IO-Link is not used (that is to say, I have a #define which is commented in order to not use the IO-Link functions). In this program, I solved the NPN problem by setting TX to 0, according to the TIOL111-3 datasheet logic. It works perfectly (even though, I have to precise, The UART2 is not configured).
  • "-3" which does not have an IO-Link stack at all. In this program, I also set TX to 0 but I still have the NPN problem. Why? How can I solve this issue?

I tried:

  • TX in open-drain + TX input + TX = 1 --> NPN
  • TX in open-drain + TX input + TX = 0 --> NPN
  • TX in open-drain + TX output + TX = 1 --> NPN
  • TX in open-drain + TX output + TX = 0 --> NPN
  • TX not in open-drain + TX output + TX = 0 --> NPN
  • TX not in open-drain + TX output + TX = 1 --> NPN
  • TX not in open-drain + TX input + TX = 1 --> NPN
  • TX not in open-drain + TX input + TX = 0 --> NPN

To try the things below, I kept the configuration "TX not in open-drain + TX output + TX = 0". 

  • Change the sensor; I tried 7 sensors --> all in NPN
  • Change the alimentation & output cables: NPN as well
  • pull-down on TX --> still NPN

Does anyone have an idea about this? 

I am considering adding the IO-Link stack to my program, but I am not sure about what it will do.