Transcript for:
Mitsubishi PLC Programming and PID Control

Hello Viewer and Subscriber I am Engineer Bashar Welcome to my channel Atlas Automation Video Friends, today I discuss Mitsubishi PLC Programming GX Worker 2 PID PID Control Loop Professional Integral and Derivative Professional Integral and Derivative Control How you will do it? I will show you that in PID Control Before starting the program, please subscribe to my Atlas Automation BTC channel and activate the bell icon There are more than 200 videos on industrial equipment I hope you will be very happy to see these videos Let's go to the program PID control loop continuous operation input command pid s1 s2 s3 d s1 is the target below sb safe below and s2 the measured below present below and s3 is the parameter and d is the output mb friend go to the field programming firstly go open contact x 0 open contact x 0 and application instruction PID PID PID D 0 D 0 is the target below SB safe value and d2 d2 is the measured value pb pb means present value and d200 d200 d200 means parameter parameter and d20 d20 is the output mb output mb okay and send often contact open contact x2 x2 sorry x1 x1 and rising it is a sm411 SM411 is the 200 ms clock relay and offhand contact X2 and application instruction INB increment D2 a measured value PB PB value increment D2 D2 friend here you increment D2 value I will increment that time I increment command legacy I can have them for double one is the 200 millisecond clock 20 millisecond clock pulse and and application operation OpenContact X2 and application instruction DEC Decrement D2 DEC In this way, we will increment and decrement the increment account. contact X 2 X 2 FM 400 FM 400 always on switch always on switch and firstly application instruction move and move instruction move friend now i will use parameter in d200 value proportional integral derivation time and integral time differential time differential gain these I will calculate now firstly list of parameters sampling sampling time sampling time t s economic t s k calculate t l one two both three thousand six hundred sixty millisecond one two one two both three thousand six hundred sixty millisecond k k hundred sorry k and 200 value 200 and d d d 200 i mean d200 um parameter parameter value 200 millisecond 200 millisecond and vertical line and move function move friend economic operation setting a city economy operation setting a city select turbo and beat zero forward operation and one backward operation beat one zero forward input input variation alarm is invalid one input variation alarm is valid beat two zero output variation alarm is valid and one output variation alarm is and bit 4 0 auto tuning is not executed and one auto tuning is executed and i will use this function diagram bit 5 upper and lower upper and lower limit of output value is valid i mean functionally we have our guru it's a bit five pieces and calculate quickly and popo K30 I will use K30 Then I will use D201 Operation setting ACT This is my operation setting ACT Then I will do input filtering constant input filtering constant for this I need to go to move function move move input filter constant input filter constant 0 to 99% 0 to 99% when 0 is set the input filter is not provided input filter constant now I setting MOV K0 D2 202 okay and trend economic or book proportional gain KP professional gain keeping proportional gain KP s3 plus three professional gain KP one to thirty two thousand seven hundred six seven percent this below now I will use the MOV function MOV K 300 300 and D 203 trend economy integral time integral time integral time calculate moop ti integral time ti s3 plus 4 s3 plus 4 Integral time TR Here 0 to 42767 into 100 ms Friends, now I setting Integral time MOV K8 K8 and D to 200 4 it is the integral time k8 is the integral time move d to 204 now i now i setting differential gain differential gain trend differential gain kd differential gain kt 0 to 100 percent 0 to 100 percent differential gain we know that when we set the proportional gain, integer, integral time and derivation gain of temp controller here also we set the PID in programming so friends now i am setting differential gain Kd, calculation will do, Kd, move, K5, K5, K5 is the differential gain, K5 is the differential gain, and move to D, 205, 205, and last, calculation differential time differential time most important differential time move more differential time 0 to 32 767 into 10 milliseconds into 10 millisecond and derivative time td now i calculate derivative time k 18 k 18 into move to d 206 206 okay Trend our program process complete my program and now I compile this program compile and start stop simulation on press shift and touch to turn on X0 X1 is on decrement value and this value is the input filtering sampling time this value is the sampling time and this value is the of operational operational setting act operation setting act and this setting is the input filter constant input filter constant and this setting is the proportional gain and integer integer integer time differential gain and differential time 200 ms clock relay and always on relay SM400 is always on relay increment D2 is the measuring value of PV D0 is the setting 100, State below 100, Target below 100 data decrement now data decrement d0 target value sb sb sb means save value save value and d2 and d2 data is the measuring value pb present value and d200 is the parameter parameter means this a program blue parameter parameter parameter program D20 is the output MB Dear friends, I hope you understand how to decontrol your fee Thank you for watching this video Please subscribe to my channel Please activate the bell icon Thank you for watching this video I hope you will be very happy to see these videos And friends, we have also worked with PLC program and HMI program We have also done PLC and HMI troubleshooting You can do any work with us for PLC, HMI, industrial controlling devices, sales and services And friends, those who have subscribed to my channel, thank you very much And those who have not subscribed yet, I hope you will subscribe too I am here with a new video for you all. If you are watching this video, please subscribe to my channel and press the bell icon. Thank you for watching this video. May Allah bless you all.