Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
5 марта 2019 г. 11:36:23
00:10:02
Яндекс.Метрика