Siemens TIA Portal Tutorial (Analog Signal Scaling using the Norm_X and Scale_X instructions)

Поделиться
HTML-код
  • Опубликовано: 2 июн 2018
  • Full Siemens TIA Portal PLC Programming Course available here: petevree.thinkific.com/course...
    This video will walk you through how to use Norm_X and Scale_X instructions to normalize and scale a 0 to 10 V DC signal into a Siemens S7-1200 PLC.
    Skip to developing the program in TIA Portal: 21:45
    Skip to completed program: 26:50
    Link for Powerpoint: wyedelta.wixsite.com/html_cana...
    Link to Documents Video: • Siemens TIA Portal Tut...

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

  • @PeteVree
    @PeteVree  Год назад +1

    Full Siemens TIA Portal PLC Programming Course available here: petevree.thinkific.com/courses/siemens-tia-portal-plc-programming

  • @mohdshahzad9427
    @mohdshahzad9427 11 месяцев назад +1

    So far one of the best explanations of NORM_X and SCALE_X

  • @orlandowall5523
    @orlandowall5523 Год назад +1

    Just completed my first analogue input programming project on my S7-1200. Complete success thanks to Pete Vree. I followed his instructions exactly as presented. I used the Siemens training toggle switches with the analogue potentiometers for the analogue inputs. Worked perfectly.

  • @RS_83
    @RS_83 6 лет назад +2

    Pete, your Siemens plc videos are the most complete and detailed on RUclips. Thank you very much.

    • @RS_83
      @RS_83 6 лет назад

      True!

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

    Keep these videos coming you r so organized which making it easier to follow and understand 👌

  • @thomassaook7787
    @thomassaook7787 6 лет назад +9

    Thank you for the detailed and awesome presentation & description...

  • @arsalaanmughal9511
    @arsalaanmughal9511 5 лет назад

    Thank you for taking the time to make this video.

  • @ventjemazzel8822
    @ventjemazzel8822 6 лет назад +1

    Awesome man! Many thanks!!! Learned a lot again thanks to Pete. God bless.

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

    Well done! Fantastic video, great and helpful explanations.

  • @distancelab2010
    @distancelab2010 5 лет назад +1

    Excellent video. The best explanation of analog scaling on RUclips. Thank you 😊

  • @dermotwhelan8731
    @dermotwhelan8731 5 лет назад +1

    Great video with great detail , very helpful. Thank you

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

    Best automation channel in entire universe. Love from India.

  • @dalematthews8748
    @dalematthews8748 2 месяца назад

    Great video, well explained, no unnecessary waffle 👍🏿

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

    Simply the best! Thanks Pete!

  • @marcol5374
    @marcol5374 5 лет назад +1

    thanks a lot for the job that u make for us. Great video Pete :)

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

    Excellent video pete. Thank you. I just got one of these signal generators so I'm going to set it up tonight. Very helpful video...thank you.

  • @chrismoje4321
    @chrismoje4321 5 лет назад

    Thanks Pete, this is very informative.

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

    Quite insightful!👌🏾 thanks for putting it up

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

    excellent video , so clear and understanding , keep up the good work

  • @LL-ct8gt
    @LL-ct8gt 4 года назад

    Thanks, this is great, easy to learn and understand, greetings from Croatia :)

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

    Absolutely amazing video!
    Thank you very much for bit by bit teaching😊👍👌

  • @Blades-fm6ck
    @Blades-fm6ck Год назад

    Liked and subscribed 👍 Crystal clear explanations throughout, both verbal and graphics. Love the way you recap and summarise each step. Many thanks.

  • @piotrekdrag5234
    @piotrekdrag5234 5 месяцев назад

    You are father of my success. Thank you.

  • @anupsharma8548
    @anupsharma8548 10 месяцев назад

    Excellent video and all concepts.

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

    thanks you’re great , hope to see more such videos

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

    Your explanation is very good with full details

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

    Wonderful content, great details

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

    You are awesome mannn... Just watched the whole video.. keep up the good work

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

    Thank u so much, very well explained

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

    Best plc tutorial 👍

  • @chekando666
    @chekando666 5 лет назад +2

    Thanks so much for this!

  • @rishikeshshah7294
    @rishikeshshah7294 5 лет назад +1

    Thank you sir for awesome Video. It was really very helpful video. Great Job:)

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

    You are amazing, I have never seen someone providing free content with so much dedication and explaining every single concept and not just providing something to copy and paste. You are AWESOME !!

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

      Thanks so much for the nice comment.

  • @jamesarnoldherefordshire
    @jamesarnoldherefordshire 5 лет назад

    You have been a live saver today, Thank you

    • @PeteVree
      @PeteVree  5 лет назад

      So good to hear. If you have additional topics that you think I should cover please let me know... I am working on a complete Siemens PLC Course and would love some critical feedback.

  • @md.shafiqulislambachchubac5640
    @md.shafiqulislambachchubac5640 Месяц назад

    Best explanation. Wish you best of luck.

  • @dharmavarapusivaanjaneyulu2677
    @dharmavarapusivaanjaneyulu2677 6 лет назад

    Thanks for your valueble information

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

    Thank you very much Pete!

  • @angelitoenriquez3242
    @angelitoenriquez3242 5 лет назад

    thank you I learn a lot pete.

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

    You are a Good teacher ....keep it up...

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

    Just amazing.
    Your are the best

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

    Thank you so much for your great effort.. You are the best

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

    fantastic explanation! thank you very much

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

    bro, this part of lesson is awesome.. 👌👌👌 from siemens analog

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

    EXCELLENT STUFF! THANKS A LOT✌

  • @mohammadasim9379
    @mohammadasim9379 5 лет назад +1

    well explained thank you so much.

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

    very clear explanation..

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

    Very nice video 👍🏻

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

    Thanks! Very Helpful!!!

  • @ganeshpadgalwar6119
    @ganeshpadgalwar6119 5 лет назад

    Thank you sir....enjoyed a lot..

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

    Amazing! Thank you very much! :)

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

    Super video!

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

    Beutiful! :D Thanks for easy explanation!

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

    Thanks for the information..keep going

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

    Thank you for the detailed

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

    Nice and helpful!

  • @pieterjamneck9507
    @pieterjamneck9507 5 лет назад

    Awesome ! Great video.

    • @DAVIDALVARADO-xw5km
      @DAVIDALVARADO-xw5km 5 лет назад

      You are just the BEST OF THE BEST making this Pete!! Do you have the same but scaling 4 to 20 mA ??

  • @abdelatilaarass2635
    @abdelatilaarass2635 5 лет назад

    very helpful thank you very much

  • @sauravjha2778
    @sauravjha2778 5 лет назад

    Thank u for the awesome video as you have explained typical concept in a very smooth way.
    Sir there is a request please make a detailed video with a practical example on modbus in Tia.
    Please sir we need it.

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

    Perfect ! Helpful !!!

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

    Thank you very much.

  • @user-gm5sh5nz1p
    @user-gm5sh5nz1p 3 года назад

    Спасибо Вам! за отличный урок.

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

      Без проблем. Спасибо за хороший комментарий. Всего наилучшего. Pete

  • @necipbattal1126
    @necipbattal1126 5 лет назад

    Best PLC tutorial on the planet. Please, send me how to address long real variable

    • @PeteVree
      @PeteVree  5 лет назад +1

      PLC DEV has a great chart to help you distinguish different instructions and their resolutions
      www.plcdev.com/symbol_table_allowed_addresses_and_data_types

  • @HetanHawke
    @HetanHawke 6 лет назад

    thanks Mr .

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

    Thanks very nice...!

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

    Its detail video. thanks

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

    GREAT VEDIO

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

    good video

  •  6 лет назад

    excellent

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

    Could we not put temp value(Data Type: Real) for the OUT and Scale_X VALUE? Because this value will be only in the given function right? And why should we use DW instead of a W for example? Thanks btw a really great video Pete!

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

    Adding a 500 Ohm resistor (or two 1k in parallel) across the analog input terminals will allow you to convert 4-20mA into a 2 -10 volt signal. Then use NORM-X and SCALE-X to convert to whatever range you need

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

    Thanks

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

    kind sir i have a question does something over the scaled value ncrease the output of the voltage over the 10V like in the case of an overflow

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

    Dear sir,
    I have SIMATIC S7-1200 and a Signal Generator Device and I use the NORM_X and SCALE-X functions in the TIA Portal program V 15 . The MIN value of NORM_X is 0.0 and the MAX is 27648.0 . It’s assumed that I use a RTD (PT100) with the Temperature Transmitter ranges ( -100 ˚C to 800 ˚C) and its output is 0-10 VDC. The output of NORM_X function is sent to two SCALE_X functions: one to scale the Ohms and the second to scale the temperature values.
    I depended on the RTD Temperature VS. Resistance Table to get the MIN and MAX values for these two scale functions. The first scale function which is for Ohms the MIN value is -100 ˚C whereas the MAX is 800 ˚C and the MIN value for the second scale function is 60.26 Ω and the MAX value is 375.7 Ω ( Because -100 ˚C is equal to 60.26 Ω and 800 ˚C is equal to 375.7 Ω in the reference table).
    But when I inject the following volt values in the Analog input of the PLC the output values of the Two SCALE_X functions are not as shown in the table?!
    Examples:
    1- At 2.5 V the output of the first SCALE_X function is 124.4141 ˚C and the output of the second SCALE_X function is 138.91 Ω but in the Reference table when the Temperature is 124 ˚C the Ohms must be 147.58 Ω.
    2- At 5 V the output of the first SCALE_X function is 349.93 ˚C and the output of the second SCALE_X function is 217.9 Ω but in the Reference table when the Temperature is 349 ˚C the Ohms must be 229.36 Ω.
    3- At 7.5 V the output of the first SCALE_X function is 575.488 ˚C and the output of the second SCALE_X function is 297.0111 Ω but in the Reference table when the Temperature is 575 ˚C the Ohms must be 305.63 Ω.
    Why are the SCALE_X outputs not the same as what they must be as in the reference table?! And what must I do to make the outputs the same as what is shown in that table?!
    Thank you and I’m waiting for your reply.

  • @saifaldain1013
    @saifaldain1013 6 лет назад

    thnx 😃

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

    Amazing...but I have one question for U. In the video, I see only a red wire output in this Signal Generator in channel 10 V (I have a similar generator), but I don´t see other red wire output in the channel 0V connected to M2 in Analog Input Location, It`s correct? (or Maybe you use brigde between M ----- to -------M2 ???). Please Help me about this trouble

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

    Thanks very much for this. So basically i am an Automation Validation Engineer, While performing FAT on one of the systems on the HMI they are displaying RAW value and Scaled value for all the analogs of same make and model and signals are coming from same Festo but i see the difference between them is around 3 deg and for some transmitters it is 0.2 deg . My concern is which is actual field value . If we consider Raw value as actual field value, then i will ask them to calibrate the Instruments . Sorry for this long reply

  • @pmcoriginal4864
    @pmcoriginal4864 5 лет назад

    good☺️

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

    Dear Pete. I wonder what's the sense of using NORM_X in regular programming (when no need to "adjust" the input values) if we know that the the PLC already knows that the INT range is between 0 to 27648? Why not jumping directly to SCALE_X? Thanks

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

    nice sir.. may i know when i need to put minimum value (-27648) at norm_x and (-10) at scale_x?

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

    Hi Pete. Are you able to do an analogue output scaling tutorial? Can't find anything on the Tube that explains things as clearly as you.

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

      I'll add it to my list of videos to create. Thanks

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

    Hello pete. Im new to plc analog io and i learned a lot from this video alone. You earned a sub from me. I would like to ask what kind of temperature sensor i can use for my project. I've been looking for around the internet and still i cant find the right thing to choose . I prefer a 2 wire sensor 0-10v or 4m-20 with any temperature range. Waiting for your response. Thanks a lot.

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

      www.amazon.ca/Temperature-Transmitter-Sensor-Output-50-400/dp/B07W93JGKF/ref=pd_lpo_1?pd_rd_i=B07W93JGKF&psc=1

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

    Can you just explain to me please why you have used INT data type in your Norm_x FB instead of using UINT? I might have some wrong understanding of data types in PLC, does it not matter as far as you are in the -32768 to +32768 range? And thanks for the video very explanatory.
    (edit) And could you also explain what the resolution is? As I don't get why it is only 10 bits if 2**10=1024 and you use a range of 27648 that is at least 15 bits.

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

    Hi Pete, great video. Just one question, I'm working on a college project with this plc v15.1 software. I have done the steps as in the video but getting 0 at my IW64 reading. Just to be sure do i have to configure anything in the plc or any other steps that i have missed that might be causing this? otherwise its probably just the TT that's not working

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

      Do you have your sensor hooked up to the analog input? Usually if no signal is present it usually gives you 32767. Also, IW64 is the word associated with the analog input for this particular model. Make sure to click on your analog card and confirm that the address is the same for your PLC.

  • @jimuellelontok8533
    @jimuellelontok8533 5 лет назад

    May i request you sir to configure one topic about a Simple Feedback and generate it also into WINCC or Hmi. More power to you sir and to your channel. Thanks and great job.

  • @touhidulalam376
    @touhidulalam376 6 лет назад +1

    please show us one project simulation using PLCSIM 14 with TIA V14

    • @PeteVree
      @PeteVree  6 лет назад

      okay i'll look into it and try to post one next week

  • @DzpcbElectronicWorld
    @DzpcbElectronicWorld 5 лет назад

    Great explanation as always, I'm wondering if you can do the same thing with Schneider Twido PLC or the new Modicon 221. Is there any chance that happens ?. Thank you.

    • @PeteVree
      @PeteVree  5 лет назад

      The Twido is obsolete, but the Modicon 221 looks like it comes with 2x 0-10 V DC Analog Inputs

    • @DzpcbElectronicWorld
      @DzpcbElectronicWorld 5 лет назад

      @@PeteVree Yes, exactly like this Siemens S7 1200. To deal with 4-20mA you should add a TM3 analog input extension or a TM2 one. I'm stuck to scale the reading from an temperature 4-20mA transmitter to convert it to °C and store it in a variable for further communication with an hmi. It look like there is no a function in EcoStruxure Machine expert software available to do this, or I should use a user programmable function to do this.

  • @THOMPSONvk
    @THOMPSONvk 5 лет назад

    What if my AI 4-20mA is 0mA (diagram at 4:29 min in video), and i have AI module defined for 4-20mA. Will my scaled variable go to minus (4-20mA=0-120degC)?

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

      All of the Siemens current modules I have used give you an option of 0-20ma or 4-20ma. That setting is in the module configuration

  • @alikhanzulkashov4438
    @alikhanzulkashov4438 5 лет назад

    As I understood you are using a self-powered type of transmitter which has a sensor in it?

    • @PeteVree
      @PeteVree  5 лет назад

      It is a transmitter with a simply circuit that takes 24V dc and by changing the potentiometer you can get either 0 to 10 V dc or 4 to 20 mA dc out.

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

    Dear sir,
    Thank you for your great video. I have a question about it. You use a signal generator to send 0-10V to the %IW64 input on the PLC, but as shown in the video when the signal generator sends for example 1.08 V the value on %IW64 is 3037 , why is it not the same value on the signal generator (1.08V) ? And does that mean all the signal generators and the Temperature/Pressure/Flow/Level transmitters send similar values for example when a Temperature Transmitter wants to convert the value of Temperature sensor from Ohm to the Volt ?

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

      The values for the Analog 0-10 volts are converted to a binary number between 0 and 27,648. 27648 * 1.08 = 2986
      3037 is close to this value, off due to resolution error

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

      @@PeteVree Dear sir,
      Thank you very much for your clarification. So the PLC make use of the following equation
      (27648 * (the value of input volts)) / 10
      For example: ((27648 * 1.08)/10) = 2985.984
      But how can we get the NORM_X value when the Analog Input Value is current (4-20 mA)?
      Thank you again and I’m waiting for your kind reply.

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

    Sir I have a question regarding to norm_x. My trainer said we need to convert INT to DINT first before going to REAL. It means we cannot convert INT to REAL directly in the NORM_X. Is it true or wrong?

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

      You don't need to convert to DINT. Here is another video on how to deal with analog values:ruclips.net/video/bSKgQRJbZ6g/видео.html

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

    Can I buy a bier for u sir?

  • @sathishsathish5652
    @sathishsathish5652 5 лет назад

    sir i am using LVDT for measuring height how can i convert 4-20mA into 3-250mm height .
    is it crt for this 3-250mm valuses entering as min and max in the scale_x instruction

    • @PeteVree
      @PeteVree  5 лет назад

      I believe you choose Current (4 to 20mA) for your input (you may need an additional analog card to do this as I think the S7-1200 just does 0-10 Volts) NormX will still be 0 to 27648, and the ScaleX will be Min 3 Max 250. Make sure to update your software, my tiaportal did not give me the option to choose current until I had updated.

    • @yorgospaidis9171
      @yorgospaidis9171 5 лет назад +1

      @@PeteVree For 4-20mA use a 500Ω resistor (or two 1KΩ in parallel) , connected between 2M and O channel, then at NORM_X use as MIN value the equivalent digital value of 2 Volts (5530), that's all.

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

    do you have any online teaching(paid one with certificate) to learn the total course of siemens industrial plc please let me know thank you.

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

      Working on it, but it is taking me forever to complete. I would take Rajvir Singh's course on Udemy in the meantime.

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

      @@PeteVree can you share that link about industrial plc course thank you

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

      www.udemy.com/user/rvsingh/

  • @vsnaarayanan1997
    @vsnaarayanan1997 5 лет назад

    Can we directly use ScaleX??

    • @PeteVree
      @PeteVree  5 лет назад

      You can scale anything you wish with the ScaleX function, but to display the analog inputs, I have found that the combination of NormX and ScaleX works best.

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

    -6 to 6 bar how to scale 4-20ma please keep video sir

  • @frankreiserm.s.8039
    @frankreiserm.s.8039 5 лет назад

    Make an Engineer out of me Pete!
    Frank

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

    For S7-300 I think NORM_X doesn't exist, only SCALE ("without" _X)...the scaling is direct.

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

      support.industry.siemens.com/tf/ww/en/posts/using-only-scale-x-without-norm-x/244018

  • @ilyessetta6189
    @ilyessetta6189 5 лет назад +1

    thanks you’re great , hope to see more such videos

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

    Really your great sir thanks for you giving your valuable time ... god bless you sir ... 🤝

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

      Thanks so much for the nice comment.

  • @goghulrajkannan2289
    @goghulrajkannan2289 6 лет назад

    Thank You Pete. :-D

    • @goghulrajkannan2289
      @goghulrajkannan2289 6 лет назад

      Pete, Could you please do a tutorial on how to do faceplate in Tia portal for a simple 2 motors program? Really stuck on that one brother.