![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: Oct 2007
Location: mississippi
Posts: 14
|
Has anyone built something to send a 4-20 mA singinal to an analog card for testing a program? I know you can buy an source meter but i think i have enough junk laying around ( resistors, pots, ect.) to make one that would run off a 12 or 24 volt DC power supply.
|
|
|
|
#2 | |
|
Member
![]() Join Date: Jul 2005
Location: Sydney
Posts: 366
|
Quote:
Make a standard voltage divider with one fixed resistor and one trimpot and put a mA scale current scale on the output to the device, selecting an initial value that gives you about a 4mA output into a test load. Adjust the voltage up using a pot until you get the desired amperage through your device. Note that if you are smart, you should knock this down to the lowest before putting it on a new load, and hence it is not a great idea for a general tool, nor is it current limited. Better way: Make a constant current source using op-amps (look up standard diagrams on the net). A little more design time needs to be sunk but this is much more reliable for different loads. |
|
|
|
|
#3 |
|
Member
![]() Join Date: May 2008
Location: Holland, MI
Posts: 34
|
I built one of these (see attached). I haven't used it yet. It will produce a voltage signal, or current.
|
|
|
|
#4 |
|
Member
![]() Join Date: Jul 2005
Location: Sydney
Posts: 366
|
|
|
|
|
#5 |
|
Member
![]() Join Date: Oct 2007
Location: mississippi
Posts: 14
|
thanks i will see if i can find the stuff to build one
|
|
|
|
#6 |
|
Supporting Member
|
just resistors
This is a 'current source' problem from Basic Ohm's Law 101
|
|
|
|
#7 | |
|
Member
|
Quote:
I built 2 of these for about 30 bucks! I'm currently using them and they work GREAT! Just put a milliamp meter in the loop and you've got QUITE the little "calibrator". The LAST calibrator I bought complete was about 700 bucks. Thanks, Stationmaster |
|
|
|
|
#8 |
|
Member
|
I have a slightly different variation on MikeVT's signal source. Mine uses the same 317 regulator with switches for 1,2,4,8,12 mA. I can use this to source (4 wire) or simulate (2 wire) It also has a 10 turn Potentiometer which I can use as a rough check for thermocouple or RTD inputs. Operating on 2 x 9 volt batteries or no batteries for 2 wire simulate.
If I need 1-5 V I just put a 250 Ohm across the terminals. I don't need a meter, just add the value of ON switches. Roy |
|
|
|
#9 |
|
Lifetime Supporting Member + Moderator
|
Roy do you have a drawing for this I like toys. Your tester will replace my 3~21mA/ 0~10VDC generator. My little tester has saved by behind more than once. I still carry rubber bands & superglue just to cover they backside.
__________________
There should be a minimum IQ before people can breed |
|
|
|
#10 | ||
|
Member
|
Quote:
Quote:
Your circuit sounds interesting and useful. The idea of the "ADDING" switches is great! But in MY projects, exactly EVEN milliamps won't always do, for example when I'm trying to dial in an exact simulated "pressure" regardless of the MA. Mike's pot-turned-rheostat gives me that "analog" feature that I need. Actually, the name on the schematic is "Panic Mode", to give credit where credit is due. Also, sometimes the DIRECTION of MA change is as important as the MA VALUE....... again, the pot that I don't have to look at to get what I want wins out. I like the idea of YOUR ckt being battery powered, and being able to simulate 2 or 4 wire sensors.... NOOWWWWWWW..... Lets see..... couldn't we put our heads together and come up with a ckt that has the best of both WORLDS? Stationmaster P.S. "Pot" is okay but "******t" (A M B I E N T) gets CENSORED?????? |
||
|
|
|
#11 |
|
Member
|
I use JBrandt's solution all the time. Simple and effective. I usually use 1 kOhm resistors and 5k Ohm multi-turn pots that are readily available. We have put a bunch of them on breadboards with terminal blocks and we can simulate an extensive system with analog I/O very inexpensively. With some jumpers you can simulate either looop powered or self powered transmitters as well.
|
|
|
|
#12 |
|
Member
|
Jeff,
I will draw one up in the next couple of days. Stationmaster, Are you refering to the ******t temperature error for thermocouple? I know how to compensate for that, Yes a pot could easily be added, in 20 years I havent needed it. Regards Roy |
|
|
|
#13 |
|
Member
|
Re the ********t correction
Since when was A-M-B-I-ENT considered politicaly incorect???? |
|
|
|
#14 | |
|
Lifetime Supporting Member
|
Quote:
http://en.wikipedia.org/wiki/Zolpide..._use_and_abuse
__________________
Mickey If you want happiness for an hour-take a nap. If you want happiness for a day-go fishing. If you want happiness for a month-getmarried. If you want happiness for a year-inherit a fortune. If you want happiness for a lifetime-help someone else. ----- Chinese Proverb |
|
|
|
|
#15 |
|
Member
|
Jeff, Stationmaster,
Please drop me an e-mail so I cand send you a drawing roy underscore matson at yahoo dot ca |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CP343-1 Advanced Java Applets Not Working | mpam-mpam | LIVE PLC Questions And Answers | 1 | December 14th, 2009 01:58 PM |
| 4 - 20 mA problem | orense | LIVE PLC Questions And Answers | 2 | February 25th, 2008 07:35 PM |
| analog input 4 ... 20 mA SIMATIC S7-200 | sarac | LIVE PLC Questions And Answers | 1 | October 23rd, 2006 01:22 PM |
| I/I Converter: 4 - 20 mA to 0 -600 mA | Grouper | LIVE PLC Questions And Answers | 7 | September 20th, 2006 08:38 PM |
| adding two 4 to 20 mA analog input to one output in slc 500 05 | bks | LIVE PLC Questions And Answers | 2 | December 5th, 2004 01:38 PM |