adccommunitymod (AutomationDirect) asked a question.

4-20 analog help

Created Date: July 28,2015

Created By: SuperDoc

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Hello everyone Im new to the directlogic scene and have been holding my own and learning what I can from who I can. anyways here is the deal Ive never messed with analog inputs and im probably missing something I cannot for the life of me figure out. this is what im working with. D0-06AR Plc, F0-08ADH-1 Analog card, SPT25-20-V30A Transducer. and the only thing that needs done with this system is to measure vacuum on a pump. I can set up the first Ibox instruction "ANLGIN " but what to do after that i am lost I asked the tech support people to point me to some instructional videos so i can better understand how it works but they were unable to point me in the right direction. so if there is anyone who knows where would be a place i can go to figure out how to do this I would greatly appreciate it Thank You


  • adccommunitymod (AutomationDirect)

    Created Date: July 29,2015

    Created by: scott.lawrence

    first, let's take a look at the F0 module:

    it's 16 bit 4-20mA input, so range is from 0-65535. This would be a double word in your program (say, V2000,2001) for each of the 8 inputs. How do you have the I-Box set up?

    I usually set mine up this way, although your slot position may differ.... I prefer Binary over BCD... it processes faster.

    http://i.imgur.com/ZfPSAFI.png

    then, since the SCL only works with 12 bit, I use a Math I-Box to do the scaling, and you can add/subtract digits to determine your needed information or display.

    A Math I-Box that scales a Pro Sense pressure transducer from 0-20mA to 0-15.000 PSI :

    http://i.imgur.com/TO5KIpQ.png

    let me know if this helps, or if I can be of further assistance...

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: July 29,2015

    Created by: SuperDoc

    I think its the transducer my boss got me. but it does say it will read -14.7 to +15 psi im just trying to read a vacuum between 0 -30 In.Hg and output it to a EA9 touch screen as a guage. below is the ladder view in pdf of what i have so far as i cant take screen shots and with 0 pressure or vacuum going to transducer the status of v2100 is 1871 and a little bouncy

  • adccommunitymod (AutomationDirect)

    Created Date: August 14,2015

    Created by: dieselvette

    It's been a while since I 've had to do this so I don't remember all the instructions, but it looks like you 're doing it right. Whatever pops out in V2100 should be a valid BCD averaged number (still needs to be converted to engineering units) and remember that even though it reads a vacuum, the signal will still be the 4-20mA so 5mA would be about -12 PSI or whatever, and I never did figure out a good way to convert a pos to neg and display it right using DL06 and Cmore, but I'm sure there's a way.

    Yes, good luck getting it precise enough to read " "Hg but maybe it can work.

    What I 've done before is take and connect your sensor to a source of known pressure, like a pressure regulator set for 10 PSI, and then adjust up/down and see if you get a reasonable response. THEN see if you can get that to scale and convert to correct units, etc (remembering that your sensor reads vacuum, so 10 PSI would be like 85% of 4-20mA scale, 0 PSI would be 50% of scale, etc.)

    All the while also remember to set your data view in DS5 to correct type (BCD, Real, etc) and also note that Cmore only accepts certain data types (I always used BCD int 32 in Cmore and pick it up from a BCD double-word in DL06).

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 23,2015

    Created by: LWgreys

    Not sure if you have it working or not, but when it comes to mA circuits, you have to check the loop-resistance requirements of each device and the receiver in order to get the correct mA loop resistance. The F0-08ADH-1 Analog module has a 100 ohms resistance for each channel. The SPT25-20-V30A Transducer resistance, based on the produce insert following the formula for load-supply-voltage to load-resistance, for lets say 24VDC will be 682 ohms. Device formula: = 682?. That means you will need to install a 582 ohm resistor in-line to input channel n that the device is connect to in order to get the correct 4-20mA loop resistance. One good idea would be to install a 1k multi-turn potentiometers in-line then adjust it using an OHM meter to the correct loop resistance. :D This also helps to fine tune the transducer device.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: July 28,2015

    Created by: SuperDoc

    Hello everyone Im new to the directlogic scene and have been holding my own and learning what I can from who I can. anyways here is the deal Ive never messed with analog inputs and im probably missing something I cannot for the life of me figure out. this is what im working with.

    D0-06AR Plc, F0-08ADH-1 Analog card, SPT25-20-V30A Transducer.

    and the only thing that needs done with this system is to measure vacuum on a pump. I can set up the first Ibox instruction "ANLGIN " but what to do after that i am lost I asked the tech support people to point me to some instructional videos so i can better understand how it works but they were unable to point me in the right direction. so if there is anyone who knows where would be a place i can go to figure out how to do this I would greatly appreciate it

    Thank You

    Expand Post