How to get digital output from analog input ***Siemens S7-1200 PLC***

Поделиться
HTML-код
  • Опубликовано: 25 сен 2019
  • Analog input and digital output programming in TIA portal for siemens s7 1200. Hi there, welcome to this new video. Today, I will show you how to take an analog input in the TIA portal for S7 1200 PLC.
    To take an analog input for S7 1200 PLC, at first we need to insert a MOVE Operation into our ladder network. This MOVE operation will move value to our desired destination.
    Now drag this Move operation to Ladder network like this. In this MOVE instruction, you can see an Input and an Output. You can increase numbers of output by clicking on the star icon. Type an analog input address PIW 64 in this input section. Right-click on this tag and rename this according to your input name. In my case, I renamed it a 0-10 Bar Pressure sensor. Now it's time to define output MW 10. MW is for memory word. It's a virtual address. Rename this tag also.
    Now we need to insert another two Conversion Operations for processing analog signal Norm_X and Scale_X. Drag and drop them into the ladder network. Scale_X will scale the value at the VALUE input by mapping this to a specific range of values. And NORM_X means normalize. It normalizes the value of the tag at the value input by mapping this to a linear scale between 0.0 and 1.0. As we know that we need to convert from Integer Value to Real value. So we select Integer to Real in the NORM_X section.
    We use 0 in MIN and 27648 in MAX because in Siemens integer value ranges from 0 to 27648. In this VALUE option, we need to set the output of the MOVE operation. Now we have to define the output of NORM_X. Type MW 12 for the output address. Oh! I am sorry It will be MD for the NORM_X output. Provide a proper tag name of the normalized output’s. One important thing is that the output of NORM_X will be the input of SCALE_X. So Scale_X will convert from real to Real.
    Set the input value of Scale_X MD10. We know that the output from NORM_X will be the input of SCALE_X. Set Real to Real from this drop-down menu. Now define the sensor’s minimum and maximum range in this MIN and MAX section. In my case, I have taken a pressure sensor from 0-10 Bar. So 0.0 Bar will be the MIN range and 10.0 MAX range. Now set the output address as MD 12 because it is the real output. Also, rename the tag so that we can understand them easily.
    Tags For This Video: Analog input and output examples, Analog input and output of PLC, what is analog input, analog input vs digital input, analog vs digital, digital input and output in plc, analog input module in plc, Siemens S7 1200 analog input scaling, Siemens S7 analog input programming, analog scaling siemens plc, s7-1200 analog output 0-10 V, Siemens s7 analog input scaling, s7-1200 analog output 4-20ma, siemens analog output scaling, Norm_X SCALE_X TIA Portal, How to scale unscale analog signal, analog signal unscaling, analog signal scaling, MOVE Operations, Conversion, Ladder Logic, tia portal programming, analog signal normalization, programmable logic controller, online plc training,
    #Scale_Unscale #NORM_X #SCALE_X #Analog_Programing
  • НаукаНаука

Комментарии • 39

  • @er.mohammadadil8423
    @er.mohammadadil8423 2 года назад +1

    Explaining by your own voice is a good thing. Please low the music volume.

  • @Chandru-qm6nk
    @Chandru-qm6nk 3 года назад +1

    Great video Easy to understand Everything by yours simple way of explanation.

    • @TT_S90
      @TT_S90  3 года назад

      Alhamdulilah. It's my pleasure.

  • @devendrabhandari524
    @devendrabhandari524 3 года назад +2

    Helo.... I used ratio promotional control flow valve..... Then how to read analog input to analog output

  • @Reuszos
    @Reuszos 3 года назад +1

    Thank you for your sharing knowledge, it's very useful for me to learn

    • @TT_S90
      @TT_S90  3 года назад

      Alhamdulilah. It's my pleasure.

  • @mahmudrajon9104
    @mahmudrajon9104 4 года назад +1

    its great , I like it very much and also helpful for me. carry on brother.

    • @TT_S90
      @TT_S90  3 года назад

      Alhamdulilah. It's my pleasure.

  • @mahmoudr3004
    @mahmoudr3004 4 года назад

    Thank you its great

  • @kadofabrice5634
    @kadofabrice5634 2 года назад +1

    Good job brother

    • @TT_S90
      @TT_S90  2 года назад

      It's my pleasure. Thanks for staying with me.

  • @goktug164
    @goktug164 4 года назад +1

    thank you

    • @TT_S90
      @TT_S90  4 года назад +1

      You are welcome to my channel.

  • @er.mohammadadil8423
    @er.mohammadadil8423 2 года назад

    I have subscribed

  • @rickybagusramadhan3487
    @rickybagusramadhan3487 3 года назад +1

    Thanks man this is was completly usefull for me, also i want to ask something, when i use input sensor for 0-5V did i have to set max value for a half from 27468 ?

    • @TT_S90
      @TT_S90  3 года назад

      yes, my dear brother. The calculation is the same for this range. Thank you for being with me.

    • @rickybagusramadhan3487
      @rickybagusramadhan3487 3 года назад

      Ok brother i'll try your suggestion, hope this work with my project

  • @masumahmed2142
    @masumahmed2142 Год назад

    please make a video about analog output scalling

  • @kiranchoudhari4717
    @kiranchoudhari4717 3 года назад +1

    I understood sir 👍👌 can you provide video on analog input and anlog output for control of VFD

    • @TT_S90
      @TT_S90  3 года назад +1

      It is an advanced level task, I will share with you inshallah.

    • @kiranchoudhari4717
      @kiranchoudhari4717 3 года назад +1

      God bless you

  • @beckb6603
    @beckb6603 2 года назад +1

    How do I adjust the program if my pressure sensor provides an output of 0.5-5.5V? Thank you for the video?

    • @TT_S90
      @TT_S90  2 года назад

      You can use a 0-10 V to 4-20 mA converter in that case.

  • @ahmadalkasem5673
    @ahmadalkasem5673 4 года назад

    how can i do it in rs 500

  • @yunusjakpar6660
    @yunusjakpar6660 4 года назад +1

    Hello sir could you explain me a little bit.? Why did you put 12000,18000 in the monitor value column? what does it mean?

    • @TT_S90
      @TT_S90  4 года назад +2

      In Siemens PLC, the analog value scaling range is from 0-27648. Within this range, the value changes. Let a sensor maximum value is 10 Bar. so the minimum value 0 bar=0 and 10 Bar=27648. If the sensor sense 7 Bar pressure the value will be 19353. Within this range, I just assume a value for example.

    • @yunusjakpar6660
      @yunusjakpar6660 4 года назад +1

      Ok sir. I got it. Thank you very much sir.. Highly appreciated. 👍👍👍

    • @TT_S90
      @TT_S90  4 года назад

      @@yunusjakpar6660 You are most welcome.

  • @PINOYTECHMARLON
    @PINOYTECHMARLON 3 года назад

    In norm x you use int. Should not be decimal in 0.0

  • @automationcontrolacademy3772
    @automationcontrolacademy3772 4 года назад +2

    If I use a sensor that gives feedback between 0-10 v range, then Do I have to use norm_x and scale_x??

    • @harunrashid1335
      @harunrashid1335 4 года назад +2

      You have to use both NORM_X and SCALE_X for analog sensor having feedback 0-10 V or 4-20ma output.

    • @TT_S90
      @TT_S90  4 года назад +3

      In programming, there will be no change. Thanks for leaving your valuable comment.

    • @iqbalhosen3710
      @iqbalhosen3710 4 года назад +3

      You need to change hardware only for them .

    • @premiumcontentcreators8107
      @premiumcontentcreators8107 4 года назад

      @@iqbalhosen3710 right bro

    • @iqbalhosen3710
      @iqbalhosen3710 4 года назад

      @@premiumcontentcreators8107 yes bro

  • @TyronH1
    @TyronH1 4 года назад

    Isn't it simpler making a function block, under inputs make the input a INT, the Input Min, Input Max, Scaled Min, Scaled Max a REAL, And for outputs have an Output as a REAL too?

    • @TyronH1
      @TyronH1 4 года назад

      It seems to be the same thing, expect as a function block it can be used more often if you happen to have a larger program with more analog sensors, where you'd otherwise have to implement the norm_x and scale_x block every time for every sensor.

  • @mdmehedi8912
    @mdmehedi8912 3 года назад +1

    online class kora jabe

    • @TT_S90
      @TT_S90  3 года назад

      About what topic?