Тёмный

18: Analog Scaling PLC Program by using FC105 &106 

IT and Automation Academy
Подписаться 91 тыс.
Просмотров 23 тыс.
50% 1

Analog Scaling PLC Program by using FC105 &106
In program object, in the left Panel expand library Standard Library TI-S7 Converting Block and select FC105 for scale the analog input. FC105 is a function in Simatic that can convert analog data.
FC105 reads the integer value for analog input stored in PIW256 parameter IN. For this example, the state of M 1.1 parameter BIPOLAR determines whether the input value is bipolar or unipolar.Because the value of M 1.1 is 0, FC105 processes the analog input as a unipolar number 0 to 27648. FC105 converts the integer value to a Real number, FC105 scales the Real number to a value between 0.00 parameter LO_LIM and 100.00 parameter HI_LIM. If the function is executed without error, FC105 sets the RET_VAL MW2 to W#16#0000 hexadecimal.If the input integer value is greater than 27648 or less than 0, FC105sets the output OUT to 100.00 HI_LIM or 0.00 LO_LIM,respectively. FC105 also returns an error by setting the RET_VAL to W#16#0008 hexadecimal.FC105 stores the scaled value in MD4 parameter OUT.
Add FC106 UNSCALE CONVERT
And Add FC 106 from standard library
FC106 reads real number stored in memory MD4.Same with FC 105, the state of M 1.1 parameter BIPOLAR determines whether the input value is bipolar or unipolar.Because the value of M 1.1 is 0, FC106 processes the analog input as unipolar number 0 to 27648.FC106 converts the Real number that is scaled between 0.00(parameter LO_LIM and 100.00 parameter HI_LIM. If the function is executed without error, FC106 sets the RET_VAL MW4 to W#16#0000 hexadecimal.If the input integer value is greater than 400 HI_LIM or less than 0 LO_LIM, FC106sets the output (OUT) to 27648 or 0.00, respectively. FC106 also returns an error by setting the RET_VAL to W#16#0008 hexadecimal.FC106 stores the integer value in PQW272 parameter OUT

Наука

Опубликовано:

 

27 янв 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@Kitabain-Or-Hum
@Kitabain-Or-Hum 5 лет назад
Really amazing video for basic analog input scaling...thanks for teaching us
@awaisafridi4397
@awaisafridi4397 Год назад
Brilliant video
@rocky_rocker_1235
@rocky_rocker_1235 6 лет назад
Thanks man!! Awesome video. :)
@waseemomran1341
@waseemomran1341 6 лет назад
Thank you
@mnadoderated4911
@mnadoderated4911 2 года назад
Thanks sir allah ybark fek
@rocky_rocker_1235
@rocky_rocker_1235 6 лет назад
Do you have any videos on HMI’s interacting with plc’s software and then AO card send a variable signal to a servo valve or proportional valve. Say I wanted to increase the temperature through the HMI because I needed gas valve to open up some more. How would do that in the S7 static manager with WICC software? Thanks
@praveenkumarlk8527
@praveenkumarlk8527 3 года назад
clear explanation thanks bro, i am waiting for basic to advance PID controller concept.
@ITandAutomationAcademy
@ITandAutomationAcademy 3 года назад
We have video on this topic
@ahmed-nm2bl
@ahmed-nm2bl 5 лет назад
if i have sensor whose output signal is between 0-114 mV how I connect it with analog input??
@girisinnaa1126
@girisinnaa1126 3 года назад
Good
@rohitlomte3037
@rohitlomte3037 6 лет назад
why you use double word at output
@muhammadshoaibarshad3569
@muhammadshoaibarshad3569 6 лет назад
BEST
@geetharani4146
@geetharani4146 4 года назад
Mostly we need engineering values right sir, why do we need an unscaling function which will again convert the engineering values into raw values...?
@waseemomran1341
@waseemomran1341 6 лет назад
Dear why did you assigned the tag as PIW256? what do you mean by PI?
@mohammedshabbir4411
@mohammedshabbir4411 4 года назад
PI-Pheripheral input PIW256 bcz analog input or output address starts from this address
@saadaldeenali3117
@saadaldeenali3117 3 года назад
You can take address MD6 // U should go md0 , md4 , md8 ... 4 byte
@jaikumar2682
@jaikumar2682 4 года назад
videos are not clear couldnt see what you are typing in simatic manager.Please address this.
@waqasriaz6122
@waqasriaz6122 6 лет назад
Salam Big B how are you can you help me out .... I have an interview in Karachi for application engineer so please guide me which topics should i cover for interview unfortunately I don't have any experience on commissioning
@ITandAutomationAcademy
@ITandAutomationAcademy 6 лет назад
Waqas Riaz try learning plc dcs scada modbus opc profibus panel designing
@waqasriaz6122
@waqasriaz6122 6 лет назад
Do you have any lecture videos on these topics kindly share the link Allah bless you bro ..... I am so worried cause I am jobless since two years if you remember we chat last time
@dileepthota4
@dileepthota4 3 года назад
Video is not visible clearly
@islamesmat7864
@islamesmat7864 5 лет назад
try to make your voice louder and clear you seems sleepy ........ good luck and thank you
@NoumanOfficialVLOGS
@NoumanOfficialVLOGS 5 лет назад
Its better in new videos
Далее
TIA Portal: Analog Processing / NORM_X and SCALE_X
25:29
СМОТРИМ YOUTUBE В МАЙНКРАФТЕ
00:34
Просмотров 1,1 млн
МЕСТЬ МАЛОГО
00:52
Просмотров 118 тыс.
PLC Analog Inputs and Signals
8:55
Просмотров 702 тыс.
Introduction To SCADA System
17:08
Просмотров 5 тыс.
TIA Portal: Program Backup from Physical PLC
6:14
Просмотров 80 тыс.
What is HART Protocol?
17:01
Просмотров 1 млн
Nokia 3310 top
0:20
Просмотров 4,3 млн
Ускоряем ваш TV🚀
0:44
Просмотров 380 тыс.