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 Наука
Explaining by your own voice is a good thing. Please low the music volume.
Great video Easy to understand Everything by yours simple way of explanation.
Alhamdulilah. It's my pleasure.
Helo.... I used ratio promotional control flow valve..... Then how to read analog input to analog output
Thank you for your sharing knowledge, it's very useful for me to learn
Alhamdulilah. It's my pleasure.
its great , I like it very much and also helpful for me. carry on brother.
Alhamdulilah. It's my pleasure.
Thank you its great
Good job brother
It's my pleasure. Thanks for staying with me.
thank you
You are welcome to my channel.
I have subscribed
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 ?
yes, my dear brother. The calculation is the same for this range. Thank you for being with me.
Ok brother i'll try your suggestion, hope this work with my project
please make a video about analog output scalling
I understood sir 👍👌 can you provide video on analog input and anlog output for control of VFD
It is an advanced level task, I will share with you inshallah.
God bless you
How do I adjust the program if my pressure sensor provides an output of 0.5-5.5V? Thank you for the video?
You can use a 0-10 V to 4-20 mA converter in that case.
how can i do it in rs 500
Hello sir could you explain me a little bit.? Why did you put 12000,18000 in the monitor value column? what does it mean?
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.
Ok sir. I got it. Thank you very much sir.. Highly appreciated. 👍👍👍
@@yunusjakpar6660 You are most welcome.
In norm x you use int. Should not be decimal in 0.0
If I use a sensor that gives feedback between 0-10 v range, then Do I have to use norm_x and scale_x??
You have to use both NORM_X and SCALE_X for analog sensor having feedback 0-10 V or 4-20ma output.
In programming, there will be no change. Thanks for leaving your valuable comment.
You need to change hardware only for them .
@@iqbalhosen3710 right bro
@@premiumcontentcreators8107 yes bro
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?
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.
online class kora jabe
About what topic?