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

  Рет қаралды 84,857

Pete Vree

6 жыл бұрын

Full Siemens TIA Portal PLC Programming Course available here: petevree.thinkific.com/courses/siemens-tia-portal-plc-programming
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_canada-electrical/copy-of-siemens-s7-1200
Link to Documents Video: kzbin.info/www/bejne/bXW2c5uHh9d6rbM

Пікірлер: 127
@PeteVree
@PeteVree Жыл бұрын
Full Siemens TIA Portal PLC Programming Course available here: petevree.thinkific.com/courses/siemens-tia-portal-plc-programming
@mohdshahzad9427
@mohdshahzad9427 11 ай бұрын
So far one of the best explanations of NORM_X and SCALE_X
@piotrekdrag5234
@piotrekdrag5234 4 ай бұрын
You are father of my success. Thank you.
@orlandowall5523
@orlandowall5523 Жыл бұрын
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.
@dalematthews8748
@dalematthews8748 Ай бұрын
Great video, well explained, no unnecessary waffle 👍🏿
@thomassaook7787
@thomassaook7787 6 жыл бұрын
Thank you for the detailed and awesome presentation & description...
@RS_83
@RS_83 6 жыл бұрын
Pete, your Siemens plc videos are the most complete and detailed on KZbin. Thank you very much.
@RS_83
@RS_83 6 жыл бұрын
True!
@shankarnair6916
@shankarnair6916 3 жыл бұрын
Best automation channel in entire universe. Love from India.
@distancelab2010
@distancelab2010 5 жыл бұрын
Excellent video. The best explanation of analog scaling on KZbin. Thank you 😊
@lokmanab4897
@lokmanab4897 2 жыл бұрын
Keep these videos coming you r so organized which making it easier to follow and understand 👌
@popovboban
@popovboban 3 жыл бұрын
Well done! Fantastic video, great and helpful explanations.
@arsalaanmughal9511
@arsalaanmughal9511 5 жыл бұрын
Thank you for taking the time to make this video.
@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.
@dermotwhelan8731
@dermotwhelan8731 5 жыл бұрын
Great video with great detail , very helpful. Thank you
@ventjemazzel8822
@ventjemazzel8822 6 жыл бұрын
Awesome man! Many thanks!!! Learned a lot again thanks to Pete. God bless.
@royernest5734
@royernest5734 Жыл бұрын
Quite insightful!👌🏾 thanks for putting it up
@natriumguy8537
@natriumguy8537 3 жыл бұрын
Absolutely amazing video! Thank you very much for bit by bit teaching😊👍👌
@vishalmudpe8598
@vishalmudpe8598 3 жыл бұрын
Your explanation is very good with full details
@chrismoje4321
@chrismoje4321 5 жыл бұрын
Thanks Pete, this is very informative.
@anupsharma8548
@anupsharma8548 9 ай бұрын
Excellent video and all concepts.
@dimitrisadamos9833
@dimitrisadamos9833 3 жыл бұрын
excellent video , so clear and understanding , keep up the good work
@orlandowall5523
@orlandowall5523 Жыл бұрын
Simply the best! Thanks 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.
@jessyfataki7336
@jessyfataki7336 2 жыл бұрын
Wonderful content, great details
@marcol5374
@marcol5374 5 жыл бұрын
thanks a lot for the job that u make for us. Great video Pete :)
@taranjotsabharwal
@taranjotsabharwal 4 жыл бұрын
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 жыл бұрын
Thanks so much for the nice comment.
@LL-ct8gt
@LL-ct8gt 4 жыл бұрын
Thanks, this is great, easy to learn and understand, greetings from Croatia :)
@sakirdag2976
@sakirdag2976 4 жыл бұрын
thanks you’re great , hope to see more such videos
@md.shafiqulislambachchubac5640
@md.shafiqulislambachchubac5640 Ай бұрын
Best explanation. Wish you best of luck.
@sarkhanhacizade3567
@sarkhanhacizade3567 4 жыл бұрын
Thank u so much, very well explained
@panasvid7825
@panasvid7825 3 жыл бұрын
You are awesome mannn... Just watched the whole video.. keep up the good work
@Username64870
@Username64870 3 жыл бұрын
You are a Good teacher ....keep it up...
@rishikeshshah7294
@rishikeshshah7294 5 жыл бұрын
Thank you sir for awesome Video. It was really very helpful video. Great Job:)
@dharmavarapusivaanjaneyulu2677
@dharmavarapusivaanjaneyulu2677 6 жыл бұрын
Thanks for your valueble information
@kristinejoyjavillonar6721
@kristinejoyjavillonar6721 3 жыл бұрын
Thank you very much Pete!
@chekando666
@chekando666 5 жыл бұрын
Thanks so much for this!
@jasonryan2175
@jasonryan2175 3 жыл бұрын
fantastic explanation! thank you very much
@McAndreJan
@McAndreJan Жыл бұрын
Best plc tutorial 👍
@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.
@angelitoenriquez3242
@angelitoenriquez3242 5 жыл бұрын
thank you I learn a lot pete.
@adjalkhaled3008
@adjalkhaled3008 Жыл бұрын
Thank you so much for your great effort.. You are the best
@indran14
@indran14 2 жыл бұрын
bro, this part of lesson is awesome.. 👌👌👌 from siemens analog
@dextermazuka5022
@dextermazuka5022 2 жыл бұрын
Just amazing. Your are the best
@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.
@royernest5734
@royernest5734 2 жыл бұрын
EXCELLENT STUFF! THANKS A LOT✌
@mohammadasim9379
@mohammadasim9379 5 жыл бұрын
well explained thank you so much.
@framos9991
@framos9991 Жыл бұрын
Thanks! Very Helpful!!!
@Bacilys13
@Bacilys13 4 жыл бұрын
Amazing! Thank you very much! :)
@techsolver9347
@techsolver9347 3 жыл бұрын
Very nice video 👍🏻
@richardgicharu8016
@richardgicharu8016 3 жыл бұрын
very clear explanation..
@necipbattal1126
@necipbattal1126 5 жыл бұрын
Best PLC tutorial on the planet. Please, send me how to address long real variable
@PeteVree
@PeteVree 5 жыл бұрын
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
@ijasmuhammed7222
@ijasmuhammed7222 3 жыл бұрын
Thanks for the information..keep going
@ganeshpadgalwar6119
@ganeshpadgalwar6119 5 жыл бұрын
Thank you sir....enjoyed a lot..
@kostaing
@kostaing 4 жыл бұрын
Super video!
@kestutiskerinas3325
@kestutiskerinas3325 4 жыл бұрын
Beutiful! :D Thanks for easy explanation!
@samuelquartey4019
@samuelquartey4019 3 жыл бұрын
Thank you for the detailed
@ojarikreegbenine7757
@ojarikreegbenine7757 4 жыл бұрын
Nice and helpful!
@abdelatilaarass2635
@abdelatilaarass2635 5 жыл бұрын
very helpful thank you very much
@framos9991
@framos9991 3 жыл бұрын
Perfect ! 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 ??
@zawwinn3753
@zawwinn3753 2 жыл бұрын
Thank you very much.
@user-gm5sh5nz1p
@user-gm5sh5nz1p 3 жыл бұрын
Спасибо Вам! за отличный урок.
@PeteVree
@PeteVree 3 жыл бұрын
Без проблем. Спасибо за хороший комментарий. Всего наилучшего. Pete
@HetanHawke
@HetanHawke 6 жыл бұрын
thanks Mr .
@aleemsafdar2120
@aleemsafdar2120 3 жыл бұрын
Thanks very nice...!
@Sarfaraz831
@Sarfaraz831 3 жыл бұрын
GREAT VEDIO
@learning9503
@learning9503 4 жыл бұрын
Its detail video. thanks
6 жыл бұрын
excellent
@francescoc1037
@francescoc1037 4 жыл бұрын
good video
@neiljolliff8170
@neiljolliff8170 3 жыл бұрын
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
@tznalcn
@tznalcn 3 жыл бұрын
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!
@saifaldain1013
@saifaldain1013 6 жыл бұрын
thnx 😃
@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.
@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
@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☺️
@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.
@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
@yushaabid1775
@yushaabid1775 4 жыл бұрын
nice sir.. may i know when i need to put minimum value (-27648) at norm_x and (-10) at scale_x?
@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
@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
@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.
@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
@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.
@touhidulalam376
@touhidulalam376 6 жыл бұрын
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
@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.
@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.
@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
@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:kzbin.info/www/bejne/mISumISIf8eNbMk
@prabukumar8400
@prabukumar8400 2 жыл бұрын
-6 to 6 bar how to scale 4-20ma please keep video 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 жыл бұрын
@@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.
@rewatpathak7917
@rewatpathak7917 4 жыл бұрын
Can I buy a bier for u sir?
@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.
@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 жыл бұрын
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.
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 28 МЛН
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 8 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 62 МЛН
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 28 МЛН