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

  Рет қаралды 16,881

Tech Tutorials

Tech Tutorials

Күн бұрын

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
@Chandru-qm6nk
@Chandru-qm6nk 4 жыл бұрын
Great video Easy to understand Everything by yours simple way of explanation.
@TT_S90
@TT_S90 4 жыл бұрын
Alhamdulilah. It's my pleasure.
@Reuszos
@Reuszos 4 жыл бұрын
Thank you for your sharing knowledge, it's very useful for me to learn
@TT_S90
@TT_S90 4 жыл бұрын
Alhamdulilah. It's my pleasure.
@devendrabhandari524
@devendrabhandari524 3 жыл бұрын
Helo.... I used ratio promotional control flow valve..... Then how to read analog input to analog output
@beckb6603
@beckb6603 3 жыл бұрын
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 3 жыл бұрын
You can use a 0-10 V to 4-20 mA converter in that case.
@mahmudrajon9104
@mahmudrajon9104 4 жыл бұрын
its great , I like it very much and also helpful for me. carry on brother.
@TT_S90
@TT_S90 4 жыл бұрын
Alhamdulilah. It's my pleasure.
@er.mohammadadil8423
@er.mohammadadil8423 2 жыл бұрын
Explaining by your own voice is a good thing. Please low the music volume.
@kadofabrice5634
@kadofabrice5634 3 жыл бұрын
Good job brother
@TT_S90
@TT_S90 3 жыл бұрын
It's my pleasure. Thanks for staying with me.
@automationcontrolacademy3772
@automationcontrolacademy3772 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
In programming, there will be no change. Thanks for leaving your valuable comment.
@iqbalhosen3710
@iqbalhosen3710 5 жыл бұрын
You need to change hardware only for them .
@premiumcontentcreators8107
@premiumcontentcreators8107 5 жыл бұрын
@@iqbalhosen3710 right bro
@iqbalhosen3710
@iqbalhosen3710 5 жыл бұрын
@@premiumcontentcreators8107 yes bro
@masumahmed2142
@masumahmed2142 Жыл бұрын
please make a video about analog output scalling
@yunusjakpar6660
@yunusjakpar6660 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
Ok sir. I got it. Thank you very much sir.. Highly appreciated. 👍👍👍
@TT_S90
@TT_S90 5 жыл бұрын
@@yunusjakpar6660 You are most welcome.
@rickybagusramadhan3487
@rickybagusramadhan3487 4 жыл бұрын
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 4 жыл бұрын
yes, my dear brother. The calculation is the same for this range. Thank you for being with me.
@rickybagusramadhan3487
@rickybagusramadhan3487 4 жыл бұрын
Ok brother i'll try your suggestion, hope this work with my project
@kiranchoudhari4717
@kiranchoudhari4717 4 жыл бұрын
I understood sir 👍👌 can you provide video on analog input and anlog output for control of VFD
@TT_S90
@TT_S90 4 жыл бұрын
It is an advanced level task, I will share with you inshallah.
@kiranchoudhari4717
@kiranchoudhari4717 4 жыл бұрын
God bless you
@er.mohammadadil8423
@er.mohammadadil8423 2 жыл бұрын
I have subscribed
@mahmoudr3004
@mahmoudr3004 4 жыл бұрын
Thank you its great
@PINOYTECHMARLON
@PINOYTECHMARLON 4 жыл бұрын
In norm x you use int. Should not be decimal in 0.0
@goktug164
@goktug164 5 жыл бұрын
thank you
@TT_S90
@TT_S90 5 жыл бұрын
You are welcome to my channel.
@ahmadalkasem5673
@ahmadalkasem5673 4 жыл бұрын
how can i do it in rs 500
@TyronH1
@TyronH1 5 жыл бұрын
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 5 жыл бұрын
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 4 жыл бұрын
online class kora jabe
@TT_S90
@TT_S90 4 жыл бұрын
About what topic?
TIA Portal: Analog Processing / NORM_X and SCALE_X
25:29
Hegamurl
Рет қаралды 182 М.
Drink Matching Game #игры #games #funnygames #умныеигры #matching #игрыдлякомпании #challenge
00:26
String Competition for iPhone! 😱
00:37
Alan Chikin Chow
Рет қаралды 30 МЛН
Когда учитель вышла из класса
00:17
ЛогикЛаб #2
Рет қаралды 2,7 МЛН
Learn PLC Under 1 Hours | Siemens S7 1200
46:30
IT and Automation Academy
Рет қаралды 129 М.
Norm X Scale x
4:54
FRANCISCO RODRIGUES
Рет қаралды 3,8 М.
TIA Portal :  PID COMPACT PROGRAM : how to program and use
13:57
PLC Explorer
Рет қаралды 16 М.
Norm X and Scale X in Siemens Tia Portal PLC programming - Scaling Basics
7:59
Instrumentation Tools
Рет қаралды 52 М.
PLC Analog Inputs and Signals
8:55
RealPars
Рет қаралды 726 М.
TIA Portal session #7.0 Analog Output with S71200 PLC and TIA PORTAL
5:17
PLC Programming Tutorials Tips and Tricks
Рет қаралды 17 М.
Drink Matching Game #игры #games #funnygames #умныеигры #matching #игрыдлякомпании #challenge
00:26