Wire Analog 4-20mA to 0-10VDC inputs of Micro820 PLC and scale

Поділитися
Вставка
  • Опубліковано 11 вер 2024

КОМЕНТАРІ • 83

  • @TimWilborne
    @TimWilborne  3 роки тому +2

    Thanks for watching! If you are looking for the complete Connected Components Workbench PLC Training series, visit twcontrols.com/micro800-connected-components-workbench-lessons

  • @joeczarnuch140
    @joeczarnuch140 Місяць тому +1

    Hey, Tim! I have years of experience with Rockwell/AB PLC equipment but have never used CCW until I started teaching. Your videos have been invaluable for me to "translate" the logic topics to CCW. Really well done, Tim!

  • @odiewan67
    @odiewan67 9 місяців тому +1

    @TimWilborn, these videos are awesome. I'm a 20 year C/C++ veteran getting back into PLC programming and your videos are making so easy for me to look like a rockstar ("How did you figure this CCW thing so fast!?"). Thank you, thank you.

    • @TimWilborne
      @TimWilborne  9 місяців тому +1

      I'm glad to help. CCW does have some learning curve but it has become a very good platform.

  • @jlewismoe
    @jlewismoe 4 роки тому +1

    Thank you. This couldn't have come at a better time.

    • @TimWilborne
      @TimWilborne  4 роки тому +1

      Glad to hear it Jason. We're going to go through how to limit the range of the analog signals tomorrow.

  • @mattk7821
    @mattk7821 4 роки тому +1

    Tim, I dont make comments often. Like this is my 3rd in my whole life. But I'm commenting because you seem like a good fella and your vids are proper helpful. Thanks mate

    • @TimWilborne
      @TimWilborne  4 роки тому +1

      Thank you so much for your compliments Matt!

  • @BendixX69
    @BendixX69 5 місяців тому +1

    Tim you are the freaking best in UA-cam, how can I support your channel?

    • @TimWilborne
      @TimWilborne  5 місяців тому +2

      Your comments are enough, thanks! 🔥

  • @fiuba86673
    @fiuba86673 3 роки тому +1

    Hi Tim, you're videos have been extremely helpful for students like me. Keep it up! Thank you so much.

  • @jackpast
    @jackpast 4 роки тому +1

    One of your best, Tim! Please touch on why 4-20 is used way more than 0-16. Thanks!

    • @TimWilborne
      @TimWilborne  4 роки тому +3

      Thanks Jack! Check out around 4:30 of this video for why we do 4-20mA as opposed to 0-16mA or 0-20mA. It is called a live zero. ua-cam.com/video/GrIZApDo2MQ/v-deo.html

  • @kurtpetersen1478
    @kurtpetersen1478 2 роки тому +1

    Tim - your going to make me money! thank you sir!

  • @john.walley
    @john.walley 4 місяці тому +1

    These are so helpful! Thank you!

  • @OscarDeAstorra
    @OscarDeAstorra 3 роки тому +1

    Tim, me acabas de salvar la vida. Muchas gracias por esos excelentes videos te recomiendo sigas así.
    Saludos desde México.

  • @andrewhensley2009
    @andrewhensley2009 7 місяців тому +1

    Thank you for the videos. What is the best way to introduce an offset to the output of the SCALER? For example, if my SCALER Output is displaying 0.5 when it should be 0.0.

    • @TimWilborne
      @TimWilborne  7 місяців тому +2

      Use a subscribe instruction directly behind it.

  • @TimIsom-xq9rc
    @TimIsom-xq9rc 8 місяців тому +1

    I noticed something when I tried this. When I would go online and run the analog sim up to 20ma, the engineering value in the tag slowly dropped. Meaning: usually the value will bounce around but for some reason the value dropped very gradually from bouncing around 28300 to bouncing around 28200. If these numbers confuse you, I was using an 2080 IF2 and also only had a 220 ohm resister so the math was a little different.

    • @TimWilborne
      @TimWilborne  8 місяців тому +2

      With an IF2, you wouldn't need the resistor. Just select 4-20mA in your configuration and wire accordingly. Check out this video. It is for the IF4 but would be similar.
      ua-cam.com/video/z3SOxTDLHb4/v-deo.html

    • @TimIsom-xq9rc
      @TimIsom-xq9rc 8 місяців тому

      @@TimWilborne
      I know that the if2 can be used as a 4 to 20 mA. I was just trying to practice converting 0 to 10 into mA. Just thought it was odd that the upper value seem to be bleeding down and was wondering if you’ve ever heard of anything like that happening before?

  • @GeoffPowell
    @GeoffPowell 6 місяців тому +1

    I’ve got an 820 where we use the add on 2080-if4 analog input card. A 4-20mA temperature sensor failed and all I have in stock is an RTD with a 2 wire 4-20mA puck that takes a max 30vdc input.
    When I calibrate the transducer I confirm my ma signal across full scale then connect to the input card the signal (at -15 deg) displays full scale 122 deg because the input is 27mA. I confirmed this with 2 transducers and both transducers work on test bench to a ControlLogix analog input card.
    Not sure if my transducer will run on 10v and I don’t have a spare analog card to test as I don’t want to risk blowing anything up at 24v. Do you think this will work to bring my signal to a voltage input?
    What voltage were you running to your analog device?

    • @TimWilborne
      @TimWilborne  6 місяців тому +1

      Since it says a max of 30VDC, you should be good with 24VDC. Here is an upcoming video that will help you with your wiring. You will likely be connecting it in 2 wire mode.
      ua-cam.com/video/k8_axizTWTE/v-deo.html

  • @JamieMcQuillan
    @JamieMcQuillan 8 днів тому +1

    Tim, I have an application where I'm trying to monitor a motor amp draw using a flex-core atr 2-420-24l-sp transducer. Will using the tip of this video work for that application? I want to trend the load and control to stop the machine when the motor reaches a certain load point

    • @TimWilborne
      @TimWilborne  8 днів тому +2

      If it puts out a 4-20mA signal and you have a 0-10VDC input then it will work. Ohms law is the same no matter what brand.

    • @JamieMcQuillan
      @JamieMcQuillan 7 днів тому +1

      Yes Tim..it's a micro820. I meant to add that to my question. I appreciate how quickly you responded. You're awesome!

    • @TimWilborne
      @TimWilborne  7 днів тому +1

      Happy to help. Good luck!

  • @rendarchannel
    @rendarchannel 2 роки тому +1

    Hey Tim, love your videos. Just a question when you a dividing the raw unit in half for the scaling you divide 4095 in half to get 2047.5, but wouldn't you count zero as a number? so 0-2047 and 2048-4095 would be equally divided in two so you could just put 2047 in the scaler? Just wondering if I'm up the wrong tree here. Keep up the good work.

  • @OwenJames-p5l
    @OwenJames-p5l Місяць тому +1

    Where do you find the Analog input output scaling 4095,4008?

    • @TimWilborne
      @TimWilborne  Місяць тому +1

      It is buried in the manuals... It's been several years so I can't recall exactly where.

  • @redsept429
    @redsept429 Рік тому +1

    Hi i just want to ask if the sensor that has 0-5V output are posible to use in the plc that require 0-10V analog input.

    • @TimWilborne
      @TimWilborne  Рік тому +1

      Yes, you would just utilize half of it's range

    • @redsept429
      @redsept429 Рік тому +1

      Thank you very much for your reply sir.

  • @maufermamdes
    @maufermamdes Рік тому +1

    Hi Tim! Is there any way to stabilize the values ​​of variable AnalogMaScaled? The decimal places vary too much, which is a problem for me, as I need to work with precision.Thanks!

    • @TimWilborne
      @TimWilborne  Рік тому +1

      I am surprised that I have never done a video on this...here you go...
      FV=FV+C(NV-FV)
      Where:
      FV= Filtered value
      C= constant (range 0-1) The smaller the number the more dampening.
      NV= New Value
      Filtered Value= Filtered Value+Constant*(New Value-Filtered Value)
      New Value = Unfiltered Value
      Constant= 0.00-1.00 The smaller the number the more damping.

  • @Waterboy-wh7mb
    @Waterboy-wh7mb 3 роки тому +1

    Tim,I have a pressure transducer 4-20 ma 0-100 psi. How do I scale to measure feet? I would like to open a valve at 26 feet and close the valve at 32 feet. Can you point me in the right direction?

    • @TimWilborne
      @TimWilborne  3 роки тому +1

      There are 2.31 ft per PSI, so your range would be 0-231 ft.

  • @nikhunter1
    @nikhunter1 3 роки тому +1

    I'm trying to figure out the principle operation of 4-20mA signal. Lets say, we have a RTD sensor and wanna get input on a PLC I/O inputs which take 0-10VDC. If we connect on the current loop a resistor (in order to convert the signal and take the voltage measurement for PLC), that's may cause drop voltage, and therefore, current flow restriction. Obviously the restriction depends on the value of the resistor. SO, how is that possible to get 4-20 mA constant current on our loop, without its resistor affects the current in our circuit?

    • @TimWilborne
      @TimWilborne  3 роки тому +1

      An RTD sensor needs to be connected to an RTD input. You can't simply feed it voltage and read the voltage drop across it.

    • @chriseby1345
      @chriseby1345 3 роки тому +1

      Your question is a common one and shows you are thinking !! Heres what happens ... the transducer ( pressure, temp, etc to 4 -20 ma) is scaled so that it will produce the desired loop current , over a range of loop resistances. The adding of the 250 ohm load , does in fact cause a brief reduction in loop current, but the transducer will correct this by in effect lowering its resistance to bring the current level back to the original value.....if the loop has for example a 24 volt power supply, the total loop resistance is limited to r= 24v /20 ma ohms, so you could even add a few more 250 ohm resistors in series before the transducer could not supply the 20 ma loop current..

  • @jamesowusu-ansah595
    @jamesowusu-ansah595 3 роки тому +1

    Thank you for your videos..but please do you have a circuit diagram for the wiring in this video

    • @TimWilborne
      @TimWilborne  3 роки тому

      No, I don't believe we have a sample of this one but it is pretty straight forward in the video. What is tripping you up?

  • @stomp1691
    @stomp1691 Рік тому +1

    Hi Tim, thank I you for your videos. I am using a micro 850 to build a control system as part of my final year university project and your videos have been the saving grace in helping me figure out this project.
    I did have a question that I am hoping someone could help with. Is there any over voltage protection on the 2080-IF4 face mount modules? I have looked on line and found nothing after many hours of searching. My interest is in preventing damage to the module should the pot in the potential divider circuit be damage and the full 24 volts be see by the analog input pin. I have had a pot fail during installation and I would rather build a voltage clamping circuit to protect the module if it does not already have over voltage protection.

    • @TimWilborne
      @TimWilborne  Рік тому +1

      Check the specs but 24VDC will likely damage the IF4.

    • @stomp1691
      @stomp1691 Рік тому +1

      ​@@TimWilborne Thank you Tim. I built a 10VDC regulator circuit to supply the potentiometers which holds the voltage stable even if something should go wrong with the pot.
      Thank you so much

    • @TimWilborne
      @TimWilborne  Рік тому +1

      ​@@stomp1691 What did you end up building, I completely forgot I had this video on it 😂
      ua-cam.com/video/A0eIHWvyZEg/v-deo.html

    • @stomp1691
      @stomp1691 Рік тому

      Hi Tim, I used a LM317 to build a regulated 10 volt output to use across my 10k pots. It also solves the problem of voltage dips when all the various loads cause voltage dips from my main 24Vdc supply. It makes for very stable analog inputs to the plc... and I haven't blown my input pin which is great.

  • @JohnSmith-je8uu
    @JohnSmith-je8uu 3 роки тому +1

    Tim, I love your videos!!! I was wondering if you could do one on an RTD plug in. I am used to setting an RTD up on RSLogix 500, but for some reason I am super lost on this platform

    • @TimWilborne
      @TimWilborne  3 роки тому

      Here is one on installing plug in modules. It is for 4-20mA inputs and outputs but it should get you close.
      twcontrols.com/lessons/allen-bradley-micro800-plug-in-module-configuration-for-the-micro820-micro830-micro850-micro870

  • @crimsonking842
    @crimsonking842 2 роки тому

    Hey Tim, thanks for all the help you provide to us students, its truly invaluable. I'm currently using one of the Micro820 trainers and am trying to scale the 0-10V Analog input to the Voltmeter analog output. I just cant seem to figure out how to get the Analog output to work with the scaler. I appreciate any help or advice you have to offer. I'm used to RsLogix500 and CCW is pretty new to me .

    • @crimsonking842
      @crimsonking842 2 роки тому

      Never mind Tim! I figured out that I had to use an ANY to WORD instruction to convert the output from REAL to a WORD. Thanks again for your videos, me and my classmates at NIC really appreciate you!

    • @TimWilborne
      @TimWilborne  2 роки тому

      Yep, the ANY_TO instructions are a must learn! Glad you figured it out.

  • @shamanking5195
    @shamanking5195 3 роки тому +1

    Tim
    Do you have a video on how to convert 0 to 10 volts to 4 to 20 ma ???.
    Thanks.

    • @TimWilborne
      @TimWilborne  3 роки тому +1

      No, you'll need a converter to do that.

  • @JohnSmith-lv8xk
    @JohnSmith-lv8xk 2 роки тому +1

    Will ths or something similar work on the output ?

    • @TimWilborne
      @TimWilborne  2 роки тому

      No, you would need to use a voltage to current signal converter.

  • @andersondachery385
    @andersondachery385 3 роки тому +1

    Hi Tim.
    I would like you to take me a doubt I'm with an analog card 2080_OF2 (micro850) your output from 4 to 20ma is connected to the input of Powerflex525. I used a scaler block but the values came out different than when I use the direct signal generator on the Inverter input. Why does it happen?
    Analog Signal Generator Card
    20ma = 100hz 20ma = 100hz
    16ma = 67hz 16ma = 75hz
    12ma = 34hz 12ma = 50hz
    8ma = 11hz 8ma = 25hz
    4 ma = 0hz 4 ma = 0hz
    Thanks Tim. And keep on with the best youtube automation channel and content

    • @TimWilborne
      @TimWilborne  3 роки тому +1

      Are you sure you have it configured correctly for mA?

    • @andersondachery385
      @andersondachery385 3 роки тому

      @@TimWilborne I think so. I'm using a block scaler writing a value from 0 to 100 in the input. Input min=4.0 Input Max=20.0. OutputMin = 0.0 outputMax=65535.0

    • @andersondachery385
      @andersondachery385 3 роки тому

      Strange that at the output of Analogica cplc card is with a value of 32767. But the inverter is at 34hz. I take the signal from the input of the clp I set the signal generator to 12m I put it on the input of the powerflex, the Inverter goes up to 50Hz.

  • @alexute
    @alexute 3 роки тому +1

    could not find Any_to_real only any_to_LREAL in my block. Help?

    • @TimWilborne
      @TimWilborne  3 роки тому +1

      I had this happen once also, unfortunately my only solution was to uninstall CCW and reinstall.

    • @riiska1
      @riiska1 3 роки тому +2

      I just had this issue and called tech support. If you change your theme to default the Any_to_Real will be there. You can then switch back to logix theme and the instruction will stay but it will be called stor. FYI

    • @TimWilborne
      @TimWilborne  3 роки тому +1

      @@riiska1 Oh wow that is great information. Thanks for sharing!

  • @sharadpatle793
    @sharadpatle793 Рік тому +1

    How to convert 4 word data change to single real data

  • @bigt95nt011037
    @bigt95nt011037 2 роки тому +1

    What is the cost of your trainer?

    • @TimWilborne
      @TimWilborne  2 роки тому +1

      Depends on you particular needs Anthony. See link below.
      twcontrols.com/plc-trainers

  • @joew4202
    @joew4202 2 роки тому

    Hi Tim, I have a Balluff BUS series analog input/digital output sensor. I can’t figure out how to set it up in studio 5000. I have this sensor being used my a proprietary PLC in my plant but it’s connected to a Bekoff plc. In that instance it measures distance. In the Input card, the white wire is in the signal, and then brown and blue is power. I tried to set it up this way in studio 5k but I’m getting some weird numbers. I’m using a Flex analog card btw. When I put my hand in front of sensor, it will go from 32000 to 10000 to 8, etc. I can’t get it to measure from 32000 to 0. Can you figure out what I’m doing wrong. In the analog card properties, I’m using 4to20 milliamperes.

    • @TimWilborne
      @TimWilborne  2 роки тому

      What is the part number of your input card?

    • @joew4202
      @joew4202 2 роки тому

      @@TimWilborne flex ie8

    • @joew4202
      @joew4202 2 роки тому

      @@TimWilborne FLEX IO 1794-1e8

  • @brodyobray6744
    @brodyobray6744 2 роки тому

    Hey Tim, I was wondering if you could explain when best to use a local variable versus a global variable? Thanks!

    • @TimWilborne
      @TimWilborne  2 роки тому

      Hi Brody, yes that one is on the list!

  • @frantzschwoebel8807
    @frantzschwoebel8807 4 роки тому +1

    Hello, thank you for this vidéo, i will make me save 100 Euros ! (4-20 mA / 0-10 V converter). Does it work with a Micro 810 ?
    I want to connect a water pressure sensor 4-20 mA to a analogic input of a Micro 810, this sensor is allready connected to an ATV (2 of the 3 wire of the sensor, the common and the Signal, it's to vary the speed of a pump) and i measured 24 V dc in the sensor. How can i do ?

    • @TimWilborne
      @TimWilborne  4 роки тому +2

      The Micro810 does not have the built in 10VDC power supply such as the Micro820 has so you'll need to add a 10VDC power supply to it.