How to do analog program using the NORM X and SCALE X instructions TIA Portal, S7 1200
When you do a program for Automation then you must have analog Scaling and Unscaling part. Which is too much important. In the real-time world, the application of the analog sensor in the industry is huge. I just describe here in nut and shell how to program with an analog sensor.
Subscribe My YouTube Channel: www.youtube.com/techtutorials365
How to do that?
Analog programming in Siemens PLC is very easy. I have tried to show in details in this video. First of all, you have to create a new project in the TIA portal 14. No matter if your TIA version is not the same as me. But process and instructions are the same for them. For this tutorial, I have taken a PLC from S7 1200. After the hardware configuration, save and download the configuration in the software for simulation.
Now, go to the program blocks and create a new block. I have taken a FB for my video tutorial. You need to provide FB (Function Block) name so that you can understand easily next time. Double click on the function block and enter into it. In function block, we write a programme over here. Go to the basic instruction and then go to the conversion instruction. In the bottom of the conversion instruction, you will find the tow operation instruction named NORM_X and SCALE_X. In S7 300 and S7 400 these two instruction used as SACLE and UNSCALE. Whatever the process is almost the same. Drage the NORM_X and drop it on the ladder. Do the same thing for SCALE_X. As we know that NORM_X and SCALE_X are the conversions operations, so the will convert a number from one type to another. We have to provide a way of conversion. We know that the analog signal provides Integer type value. This value needs to convert to Real type data.
SCALE_X provides an output which we can see in the display. We have analog sensor having various ranges for instances 0-10 Bar, 0-1000 mbar, 0-100 Degree, 0-250 degree. SCALE_X converts a value from real to real according to their specified ranges.
Additionally, we know that the analog value range is from 0-27648. We have to define this value in the NORM_X operation. Use 0 as the Minimum Value and 27648 as the Maximum Value. We also need to define analog input-output tags in both norm_x and scale_x. That's why we need to create a Data Block(DB) from add new block section. Also, provide the DB name. I have provided some tag name in the data block(DB).
After defining tag in the DB, go back to the Function block. Now double click on the Value( Actually Input of the Norm_x) and browse tags which have created for it. Do the same thing for the out of the Norm_x.
One important thing is that the output of the NORM_X will be the input of the SCALE_X. That is why NORM_X output's tag will be used as SCALE_X input tags. If you use a sensor 0-10 Bar then the min value of the SCALE_X will be 0 and MAX value will be 10. This range changes depending on the sensor's range. Browse an output tag as before line NORM_X. After that, go to the DB and call Function Block.
Finally, download the program to the PLC. Go online and activate the Monitoring on/off option.
Changes the input value in the NORM_X input and observe the output changes in the SCALE_X accordingly.
To sign-up in the invideo.io: https://invideo.io/?ref=techtutorials
and use code TT25 for a 25% discount.
#Unscale #Scale #Norm_X #Scale_x #AnalogPrograming
Видео How to do analog program using the NORM X and SCALE X instructions TIA Portal, S7 1200 канала Tech Tutorials
Subscribe My YouTube Channel: www.youtube.com/techtutorials365
How to do that?
Analog programming in Siemens PLC is very easy. I have tried to show in details in this video. First of all, you have to create a new project in the TIA portal 14. No matter if your TIA version is not the same as me. But process and instructions are the same for them. For this tutorial, I have taken a PLC from S7 1200. After the hardware configuration, save and download the configuration in the software for simulation.
Now, go to the program blocks and create a new block. I have taken a FB for my video tutorial. You need to provide FB (Function Block) name so that you can understand easily next time. Double click on the function block and enter into it. In function block, we write a programme over here. Go to the basic instruction and then go to the conversion instruction. In the bottom of the conversion instruction, you will find the tow operation instruction named NORM_X and SCALE_X. In S7 300 and S7 400 these two instruction used as SACLE and UNSCALE. Whatever the process is almost the same. Drage the NORM_X and drop it on the ladder. Do the same thing for SCALE_X. As we know that NORM_X and SCALE_X are the conversions operations, so the will convert a number from one type to another. We have to provide a way of conversion. We know that the analog signal provides Integer type value. This value needs to convert to Real type data.
SCALE_X provides an output which we can see in the display. We have analog sensor having various ranges for instances 0-10 Bar, 0-1000 mbar, 0-100 Degree, 0-250 degree. SCALE_X converts a value from real to real according to their specified ranges.
Additionally, we know that the analog value range is from 0-27648. We have to define this value in the NORM_X operation. Use 0 as the Minimum Value and 27648 as the Maximum Value. We also need to define analog input-output tags in both norm_x and scale_x. That's why we need to create a Data Block(DB) from add new block section. Also, provide the DB name. I have provided some tag name in the data block(DB).
After defining tag in the DB, go back to the Function block. Now double click on the Value( Actually Input of the Norm_x) and browse tags which have created for it. Do the same thing for the out of the Norm_x.
One important thing is that the output of the NORM_X will be the input of the SCALE_X. That is why NORM_X output's tag will be used as SCALE_X input tags. If you use a sensor 0-10 Bar then the min value of the SCALE_X will be 0 and MAX value will be 10. This range changes depending on the sensor's range. Browse an output tag as before line NORM_X. After that, go to the DB and call Function Block.
Finally, download the program to the PLC. Go online and activate the Monitoring on/off option.
Changes the input value in the NORM_X input and observe the output changes in the SCALE_X accordingly.
To sign-up in the invideo.io: https://invideo.io/?ref=techtutorials
and use code TT25 for a 25% discount.
#Unscale #Scale #Norm_X #Scale_x #AnalogPrograming
Видео How to do analog program using the NORM X and SCALE X instructions TIA Portal, S7 1200 канала Tech Tutorials
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![TIA Portal: Analog Processing / NORM_X and SCALE_X](https://i.ytimg.com/vi/bSKgQRJbZ6g/default.jpg)
![Siemens S7 1200 Entradas / Salidas analógicas](https://i.ytimg.com/vi/r5Y9orP3Hhc/default.jpg)
![Normalize and Scaling in TIA Portal](https://i.ytimg.com/vi/In5V5ll5XBs/default.jpg)
![Analog Signals Programming using PLC + HMI Part 1](https://i.ytimg.com/vi/g7eD7sdKeUQ/default.jpg)
![TIA PORTAL V15 || Part-2 : Scale/Unscale Analog Inputs/Outputs](https://i.ytimg.com/vi/0bLM2q0GHOk/default.jpg)
![ESCALAR Valores Analógicos SCALE - NORMX - SCALEX - TIA Portal 🚀 094](https://i.ytimg.com/vi/-DsRNFRh0Ng/default.jpg)
![Siemens TIA Portal Tutorial (Analog Signal Scaling using the Norm_X and Scale_X instructions)](https://i.ytimg.com/vi/T9kPdUtWZZw/default.jpg)
![Siemens S7-1200 PLC how to use Analog input/output signals / modules?](https://i.ytimg.com/vi/bw9RIxH9sdk/default.jpg)
![How to Program Analog inputs 4 to 20mA with TIA portal S7-1200 PLC || Lesson# 10](https://i.ytimg.com/vi/dxv59ANjfoI/default.jpg)
![PLC Tutorial 7 : Analog Signal Scaling in PLC](https://i.ytimg.com/vi/pcRwN_nY6tE/default.jpg)
![Función escalado (SCALE) de analógicas en Siemens S7 300](https://i.ytimg.com/vi/WcIwO3d3Blo/default.jpg)
![TIA Portal: PID Compact - How to program and use it!](https://i.ytimg.com/vi/Vianw940hw4/default.jpg)
![TIA PORTAL LEVEL MEASUREMENT by Solomon Koroma](https://i.ytimg.com/vi/Eczb8T5G2ZI/default.jpg)
![TIA Portal: HMI Easy Alarms](https://i.ytimg.com/vi/nMGtGfOX_2U/default.jpg)
![17: PLC Analog Signal Scaling Concept Explained So Easy](https://i.ytimg.com/vi/xb4zcn1xKx4/default.jpg)
![plc programming siemens step7-300 simple analog scaling display on winncc flex](https://i.ytimg.com/vi/3OszDe8s8qU/default.jpg)
![Siemens TIA Portal PLC - Scaling/Converting Analog Input/Output (0-20mA to 4-20mA and vice versa)](https://i.ytimg.com/vi/BOjFlhAwO0k/default.jpg)
![TIA Portal: HMI/TP Integration (Human Machine Interface)](https://i.ytimg.com/vi/cUN7lic-1hE/default.jpg)
![Set-Up a PID Loop in 6 Minutes with the Siemens S7-1200 and TIA Portal](https://i.ytimg.com/vi/pMxMDUJtwKs/default.jpg)
![How to get digital output from analog input ***Siemens S7-1200 PLC***](https://i.ytimg.com/vi/yN_i11S2q8s/default.jpg)