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.
Hi,I am looking for a simple circuit to simulate sensor inputs to PLC. Sensors take 12VDC and outputs 4-20mA. I was looking at your XTR series devices which seems to be able to achieve this but I am not sure which one will be ok to use for 12VDC voltage. Also, it would be good to have the range of output from 0 to 24mA rather than 4-20mA so that we can test the PLC input for error inputs as well. I am electrical engineer with very minimal electronics knowledge so was wondering if someone could help.I have attached a simple representation of my circuit.
There is a product folder for 4-20mA transmitters and receivers at
In particular, the XTR117 could be of interest for you, it includes its own linear regulator, and the input current could be generated using the Regulated 5V output in series with a potentiomenter to control the current output value.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Avi Chami1:
Thanks for the help Albert! You're correct that the XTR117 is likely the best candidate for this type of simple circuit to simulate a 2-wire current loop transmitter.
I would suggest a circuit such as the one shown in Figure 1 in the datasheet that I've pasted below.
Best Regards,Collin WellsPrecision Linear Applications
Regards,Collin WellsPrecision ADC Applications
In reply to Collin Wells:
I have seen couple of answers given previously with circuit diagram and components to suit the requirement. Is it possible to get a schematic and calculations? If not I have a circuit calculation for XTR116 which was previously posted so I can work with it. I found a XTR116 in lab at my work but XTR117 is not available so I will have to buy it. For my application, if I use XTR116 rather than XTR117 then do I miss out on anything? do I need to keep anything else in mind when using XTR116 instead of your suggested XTR117? I have attached files that I found from one of the other questions on ti.com
In reply to harshal patwardhan:
The XTR116 actually has more features than the XTR117, not less. The XTR116 includes everything that the XTR117 includes with the addition of a more precise reference voltage of 4.096V. The XTR115 is a similar product with a 2.5V precision reference.
Both the XTR117 and XTR116 are fairly easy products to use and full applications diagrams are included in the datasheet. Figure 1 describes a standard application with a 4-20mA output from a 0.8V to 4V input voltage. Figure 2 shows how to configure the output for 4-20mA with a 0V minimum input by adding an offset current through the voltage reference.
Another option to help you understand this circuit better is to download TINA-TI, Texas Instrument's free SPICE simulator at the following link:
I have attached a basic SPICE model for the XTR117 that provides a good representation of the basic functional behavior. When you open the file it is configured for a 4-20mA output with a 0-5V input.
Regards,Collin WellsPrecision Linear Applications
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.