{"id":3220,"date":"2026-11-17T18:38:36","date_gmt":"2026-11-17T10:38:36","guid":{"rendered":"https:\/\/resource.fatek.com\/index.php\/2026\/11\/17\/mplc-m03-en-13\/"},"modified":"2026-11-17T18:38:36","modified_gmt":"2026-11-17T10:38:36","slug":"mplc-m03-en-13","status":"publish","type":"post","link":"https:\/\/resource.fatek.com\/index.php\/2026\/11\/17\/mplc-m03-en-13\/","title":{"rendered":"Chapter 13 PID temperature control"},"content":{"rendered":"<h3>13-1  Temperature Control Instruction Description and Examples<\/h3>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>PID temperature control instruction 2(Build-in PID auto-tunning)<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Symbol<\/p>\n<\/td>\n<td colspan=\"3\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p><img decoding=\"async\" alt=\"D:\\patrick\\\u8aaa\u660e\u66f8\u7ffb\u8b6f_\u529f\u80fd\u7bc7\\\u5716\\FUM99.png\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-001.png\" \/><\/p>\n<\/td>\n<td colspan=\"2\">\n<p>ID: The number of the expansion module used as the<\/p>\n<p>input signal<\/p>\n<p>CH: Channel number for input signal<\/p>\n<p>SR: Process control setup start register<\/p>\n<p>PR: Gain setup start register<\/p>\n<p>OR: Output start register<\/p>\n<p>WR: Working start register<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"4\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>Range<\/p>\n<p>Operand<\/p>\n<\/td>\n<td>\n<p>HR<\/p>\n<\/td>\n<td>\n<p>IR<\/p>\n<\/td>\n<td>\n<p>OR<\/p>\n<\/td>\n<td>\n<p>SR<\/p>\n<\/td>\n<td>\n<p>ROR<\/p>\n<\/td>\n<td>\n<p>DR<\/p>\n<\/td>\n<td>\n<p>K<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R0<\/p>\n<p>\u2223<\/p>\n<p>R34767<\/p>\n<\/td>\n<td>\n<p>R34768<\/p>\n<p>|<\/p>\n<p>R34895<\/p>\n<\/td>\n<td>\n<p>R35024<\/p>\n<p>\u2223<\/p>\n<p>R35151<\/p>\n<\/td>\n<td>\n<p>R35280<\/p>\n<p>\u2223<\/p>\n<p>R40279<\/p>\n<\/td>\n<td>\n<p>R40280<\/p>\n<p>\u2223<\/p>\n<p>R48471<\/p>\n<\/td>\n<td>\n<p>D0<\/p>\n<p>\u2223<\/p>\n<p>D7999<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>ID<\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>\n<p>0-64<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CH<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>0-127<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>0-63<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>PR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>\n<p>\u25cb*<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>OR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>\n<p>\u25cb*<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>WR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>\n<p>\u25cb*<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Description<\/p>\n<\/td>\n<td colspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<ul>\n<li>PID temperature control (FUN99) uses the temperature module and the temperature<\/li>\n<\/ul>\n<p>planning form to measure the current external temperature value as a Process Variable (PV), and the temperature Set Point (SP) set by the user, and the program-controlled variable through the software PID mathematical formula to obtain the appropriate output control value to control the temperature within the temperature range expected by the user.<\/p>\n<ul>\n<li>Convert the numerical result after PID operation into time-proportional ON\/OFF (PWM) output, and control the heating or cooling circuit connected in series with the SSR through the transistor-type contact output, and you can get quite precise control results. It is also possible to control the conduction angle of the SCR or the proportional valve through the D\/A analog output module to control the SCR conduction angle or the proportional valve for precise temperature control.<\/li>\n<li>EN: Execute temperature control when ON, stop when OFF<\/li>\n<li>UPD: When ON, the parameters will be updated to the specified channel of the module<\/li>\n<li>A\/M: PID manual mode (PID manual mode), if enabled, the output will be in manual control mode, and the MOUT value will be automatically copied to MV instead of using the PID calculation result as the output.<\/li>\n<li>H\/C: Perform heating or cooling control.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>PID control<\/p>\n<ul>\n<li>The PID control system is independently operated by the modules, and the PLC scan cycle will not be increased due to multiple modules performing PID at the same time.<\/li>\n<li>Each channel will be able to execute the desired PID computation. The temperature control mode must be set as PID control in order to carry out the temperature control more efficiently through the proportional (P), integral action (I) and derivative action (D). It can also execute the P, PI, PD and PID control according to actual demand.<\/li>\n<li>Proportional (proportional): The amount of output quantity (MV) will configure an output proportion according to the error (E) between the measured value (PV) and the setup value (SV). The bigger the setup of proportional, the lighter the fluctuation.<\/li>\n<li>Integral time: The output quantity will be increased and decreased according to the error (E) between the measured value (PV) and the setup value (SV) in order to reduce the error that will be finally produced by P action. The smaller the integral time, the stronger the fluctuation and the quicker the rising; on the contrary, it will become lighter and slower. The scape is 0\u20133600s. If the integral time is set at \u201c0\u201d, then the system will not execute the integral control.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-002.jpg\" \/><\/p>\n<ul>\n<li>Derivative time (derivative time); The output quantity will be increased or decreased according to the error (E) change rate between the measured value (PV) and the setup value (SV).<\/li>\n<\/ul>\n<p>Even though abrupt change has resulted due to the noise influence, it can be restored to stabilized status through the derivative action. The smaller the derivative time, the lighter the fluctuation and the slower the noise reaction; on the contrary, it will become larger and quicker. Its scope is 0\u20133600s. If the derivative time becomes \u201c0\u201d, the system will not execute the derivative control.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>SR Parameter<\/p>\n<\/td>\n<td>\n<p>Word size <\/p>\n<\/td>\n<td>\n<p>Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>TS<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Time cycle size, <\/p>\n<p>the unit is 0.1s (0.1s~30.0s)<\/p>\n<p>When Out mode=0, the TS setting time must be greater than or equal to PERIOD; if the setting time is less than PERIOD, the system will automatically set it to PERIOD.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SV<\/p>\n<\/td>\n<td>\n<p>2<\/p>\n<\/td>\n<td>\n<p>Set value, <\/p>\n<p>the unit is 0.1 degree<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DEAD BAND<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Reach the dead band near the SV, the range is 0.1%~10.0%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DOUT<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Output points<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>PERIOD<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>PWM cycle, <\/p>\n<p>the unit is 100ms<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Out mode<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>0, PWM output<\/p>\n<p>1, else<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<ul>\n<li>PID_Deadband: The setting scope is rated at 0\u201310.0% (input scope). During the PID control, such zone is an offset (E) inactive area. When the temperature process value (PV, temperature control value) enters such deadband, the system will still execute the PID computation until it rides through the set value (SV, setup value). At this time, the system will replace \u201c0\u201d with \u201cE\u201d to resolve in the formula. After riding through such zone, it will restore to normal status to execute the PID computation. Taking the following figure as the example, the system will take \u201cE\u201d in A-zone as \u201c0\u201d.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-003.jpg\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>PR<\/p>\n<\/td>\n<td>\n<p>Word size <\/p>\n<\/td>\n<td>\n<p>Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Kp<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Proportional, <\/p>\n<p>real number<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Ti<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Integral time, 0~3600s <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Td<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Differential time, 0~3600s<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Bias<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Output bias, real number<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Output upper limit<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Higher output limit<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Output lower limit<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Lower output limit<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>PID Method<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>0: Standard PID<\/p>\n<p>1: Minimum transcending<\/p>\n<p>3: Standard PID incremental mode<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>AT<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Enable\/Disable AT<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MAUTO<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>MOUT values change with MV or not<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<ul>\n<li>Kp, Ti, Td\uff1aPID parameter, to specify or turn on the automatic generation of AT and adjust<\/li>\n<\/ul>\n<p>it for use.<\/p>\n<ul>\n<li>Bias\uff1aOutput bias, users can use it to increase or decrease the output value, but it will still be limited by the setting of the output range.<\/li>\n<li>High\/Low output limit\uff1aLimitation of output range, to set the high and low limits of PID output. If the output lower limit is greater than or equal to the output upper limit, an error alarm will be issued.<\/li>\n<li>PID Method\uff1aChoose the appropriate PID algorithm.<\/li>\n<li>AT\uff1aEnable\/disable Autotuning to get PID control parameters.<\/li>\n<li>MAUTO\uff1aTo copy MV values to MOUT.<\/li>\n<\/ul>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>OR<\/p>\n<\/td>\n<td>\n<p>Word size <\/p>\n<\/td>\n<td>\n<p>Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MV<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Report of output values<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MOUT<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Setting of Manual Output Values (MV)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>WR<\/p>\n<\/td>\n<td>\n<p>Word size <\/p>\n<\/td>\n<td>\n<p>Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>PID operating state<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>=0, Idle<\/p>\n<p>=1, Working <\/p>\n<p>=2, Error<\/p>\n<p>=3, AT now<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>AT working state<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>=0, Idle<\/p>\n<p>=1, Running<\/p>\n<p>=2, Error<\/p>\n<p>=3, Finish<\/p>\n<p>=4, Time out<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>PV<\/p>\n<\/td>\n<td>\n<p>2<\/p>\n<\/td>\n<td>\n<p>Programmed return values<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Auto tuning<\/p>\n<ul>\n<li>Based on the environment of the control system, such function will calculate the PID parameters suitable for proportional (P), integral time (I) and differential time (D) automatically and shall become active when it is required to select the PID control mode to execute the temperature control. Before this, it will execute the calculation according to the waveforms being obtained after the ON\/OFF control in order to present the optimal PID parameters. After that, the system will write the parameters in the memory of the respective PID automatically where the parameter will be converted to PID control mode to carry out the temperature control.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-004.jpg\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<ul>\n<li>During the auto tuning period, the system will execute the output according to the output upper limit and the output lower limit. The auto tuning will become active when the output cycle is not set as \u201c0\u201d.<\/li>\n<li>If SV exceeds the temperature scope value, the auto tuning will not be executed.<\/li>\n<li>If the auto tuning is not completed after being run for 2 hours, then the system will signal the auto tuning overdue error alarm. <\/li>\n<li>The channel being set as close will not be able to execute the auto tuning function.<\/li>\n<li>To change the value set for SV, dead band, TC module calibration, output upper limit, output cycle, control mode and channel closing, the system will stop the auto tuning and then signal the error alarm in order to trigger the relay (i.e. ON).<\/li>\n<li>Execution method: Through temperature control command<\/li>\n<li>Ending method: Report the ending of Auto tuning.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Auto Tuning Example<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>SSR Example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step0 Related settings of M04TC\/ M04TCR module<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-005.jpg\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step1 Setting parameters:<\/p>\n<p>Fill in the required TS, SV, DOUT, PWM period, set the output upper limit to 1, the output lower limit to zero, and AT to 1, as shown in the figure below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-006.png\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R0 = Control cycle (unit is 0.1s)<\/p>\n<\/td>\n<td>\n<p>=25seconds.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR1 = setting value<\/p>\n<\/td>\n<td>\n<p>=55<sup> o<\/sup>C \/<sup>o<\/sup>F, determined by the setting of Step0 whether it is <sup>o<\/sup>C or <sup>o<\/sup>F.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R4 = point number of the output<\/p>\n<\/td>\n<td>\n<p>=4, the table output is Y4 of the CPU Unit<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R5 = PWM control period<\/p>\n<\/td>\n<td>\n<p>=25, control once every 2500 milliseconds<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R6= output mode<\/p>\n<\/td>\n<td>\n<p>=0, PWM mode (1 is other modes, it will output MV out, allowing users to move to the required OR register)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR16 = output upper limit<\/p>\n<\/td>\n<td>\n<p>=1, 1 times of full scale (ex: K type is 1350-(-200)=1550*1<sup> o<\/sup>C)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR18 = output lower limit<\/p>\n<\/td>\n<td>\n<p>=0, 0 times the full scale (same as above, please refer to the thermocouple temperature table for the full scale)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R21 = Auto tuning ON<\/p>\n<\/td>\n<td>\n<p>=1, 1 ON; 0 OFF<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R40 = PID state<\/p>\n<\/td>\n<td>\n<p>=0, idle<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R41 = Auto tuning state<\/p>\n<\/td>\n<td>\n<p>=0, idle<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR42 = Programmed return value (PV)<\/p>\n<\/td>\n<td>\n<p>=55.1<sup> o<\/sup>C\/<sup>o<\/sup>F<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>In Step2 Auto tuning:<\/p>\n<p>During Auto tuning, you need to wait for relevant parameters (Kp, Ki, Kd, Auto tuning status = 3, that is, Tune is completed), and Error will be output if it exceeds 2 hours.<\/p>\n<p>As shown below<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-007.png\" \/><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M0=Turn on temperature control<\/p>\n<\/td>\n<td>\n<p>=1, trigger command<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M3=Output point output is heating or cooling<\/p>\n<\/td>\n<td>\n<p>=1, heating<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R40=PID state<\/p>\n<\/td>\n<td>\n<p>=3, in Auto tuning<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R41=Auto tuning status<\/p>\n<\/td>\n<td>\n<p>=1, Auto tuning is in progress<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR42 = Programmed return value (PV)<\/p>\n<\/td>\n<td>\n<p>=36.3<sup> o<\/sup>C\/<sup>o<\/sup>F<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step3 Auto tuning completed:<\/p>\n<p>After Auto tuning is completed, the relevant parameters Kp, Ki, and Kd should have corresponding parameters and Auto tuning status=3<\/p>\n<p>As shown below<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-008.png\" \/><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M0=Turn on temperature control<\/p>\n<\/td>\n<td>\n<p>=1, trigger command<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M3=Output point output is heating or cooling<\/p>\n<\/td>\n<td>\n<p>=1, heating<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR10=Kp, proportional item<\/p>\n<\/td>\n<td>\n<p>=0.0159\u2026&#8230; (output as floating-point number)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R12=Ki, integration time<\/p>\n<\/td>\n<td>\n<p>=23, the unit is second<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R13=Kd, differential time<\/p>\n<\/td>\n<td>\n<p>=6, unit is second<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R40=PID state<\/p>\n<\/td>\n<td>\n<p>=1, PID is executing<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R41=Auto tuning state<\/p>\n<\/td>\n<td>\n<p>=3, Auto tuning completed<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR42 = Programmed return value (PV)<\/p>\n<\/td>\n<td>\n<p>=55.1<sup> o<\/sup>C\/<sup>o<\/sup>F<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>On\/Off mode<\/p>\n<p>Example:<\/p>\n<\/td>\n<td colspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step0 Related settings of M04TC\/ M04TCR module<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-009.jpg\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>On\/Off mode<\/p>\n<p>Example:<\/p>\n<\/td>\n<td colspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step1 Fill in the required TS, SV, dead band, DOUT, output upper limit, output lower limit, and trigger the command<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-010.png\" \/><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M0=Turn on temperature control<\/p>\n<\/td>\n<td>\n<p>=1, trigger command<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M3=Output point output is heating or cooling<\/p>\n<\/td>\n<td>\n<p>=1, heating<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R0 = control period<\/p>\n<p>(Unit is 0.1s)<\/p>\n<\/td>\n<td>\n<p>=25 seconds<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR1 = Set value<\/p>\n<\/td>\n<td>\n<p>=55<sup>o<\/sup>C\/<sup>o<\/sup>F, determined by Step0 setting is <sup>o<\/sup>C or <sup>o<\/sup>F<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3= Dead band<\/p>\n<\/td>\n<td>\n<p>=1, i.e., 0.1% of full scale, taking K type thermocouple as an example, when filling 1 in the temporary register, it means that 0.1% of full scale will be used as the dead band size, i.e., (1350-(-200)) *0.1% is approximately equal to 1.5 <sup>o<\/sup>C, the upper limit of the dead zone is 55+1.5, and the lower limit is 55-1.5 (please refer to the thermocouple temperature range table for the full scale)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R4 = Point number of the output<\/p>\n<\/td>\n<td>\n<p>=4, the table output is Y4 of the CPU Unit<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R5 = PWM control period<\/p>\n<\/td>\n<td>\n<p>=25, control once every 2500 milliseconds<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR16 = Output upper limit<\/p>\n<\/td>\n<td>\n<p>=1, 1 times of full scale (ex: K type is 1350-(-200) =1550*1<sup> o<\/sup>C)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR18 = Output lower limit<\/p>\n<\/td>\n<td>\n<p>=0, it is 0 times of full scale (ex: K type is 1350-(-200) =1550*0<sup> o<\/sup>C)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-011.jpg\" \/><\/p>\n<p>Schematic diagram of ON\/OFF control action<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Auto tuning Example:<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>SCR example, this is an example with the M04DA analog output module<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step0<\/p>\n<p>Related settings of M04TC\/ M04TCR module<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-012.jpg\" \/><\/p>\n<p>Related settings of M04DA\/ M04DAR module<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-013.jpg\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step1 Setting parameters: Setting parameters and ladder diagram program, the detailed content and explanation of the table are on the next page<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-014.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-015.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R0 = control period (unit is 0.1 second)<\/p>\n<\/td>\n<td>\n<p>=100(10 seconds)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR1 = set value (unit 0.1 degree)<\/p>\n<\/td>\n<td>\n<p>=500(50.0<sup>o<\/sup>C\/<sup>o<\/sup>F), determined by the M04TC module setting<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R5=PWM output period (unit 100 millisecond)<\/p>\n<\/td>\n<td>\n<p>=10(1 seconds)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R6= output mode<\/p>\n<\/td>\n<td>\n<p>=1, other modes (0 is PWM mode, it will output according to the set output point<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR106=Output upper limit<\/p>\n<\/td>\n<td>\n<p>=16383 (corresponding to the upper limit of the digital value of the M04DA module)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR108=output lower limit<\/p>\n<\/td>\n<td>\n<p>=0 (corresponding to the lower limit of the digital value of the M04DA module)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R111=AT open<\/p>\n<\/td>\n<td>\n<p>=1 (AT is on)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R300=PID state<\/p>\n<\/td>\n<td>\n<p>=0(idle)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R301=AT state<\/p>\n<\/td>\n<td>\n<p>=1(idle)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R21 = Auto tuning ON<\/p>\n<\/td>\n<td>\n<p>=1, 1 ON; 0 OFF<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R40 = PID state<\/p>\n<\/td>\n<td>\n<p>=0, idle<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R41 = Auto tuning state<\/p>\n<\/td>\n<td>\n<p>=0, idle<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR302=Programmed value return<\/p>\n<\/td>\n<td>\n<p>=494 (49.4<sup>o<\/sup>C\/<sup>o<\/sup>F)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>The command H\/C is short-circuited, which means that when there is output, it is heating control; if it is empty, it means cooling control<\/p>\n<p>After filling in the above setting values, you can turn M0 ON, trigger the command and perform Autotuning.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>In Step2 Auto tuning:<\/p>\n<p>During Auto tuning, you only need to wait for relevant parameters (Kp, Ki, Kd appear, Auto tuning status = 3, that is, Tune is completed, you can enter Step 3), and Error will be output if it exceeds 2 hours.<\/p>\n<p>As shown below<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-016.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-017.png\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M0=Turn on temperature control<\/p>\n<\/td>\n<td>\n<p>=1, trigger command<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>H\/C= stands for heating\/cooling control<\/p>\n<\/td>\n<td>\n<p>=1, for heating control (ex: connected to a heating rod to control heating)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R300=PID state<\/p>\n<\/td>\n<td>\n<p>=3, in Auto tuning<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R301=AT state<\/p>\n<\/td>\n<td>\n<p>=1, Auto tuning is running<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR42 = Programmed return value (PV)<\/p>\n<\/td>\n<td>\n<p>=36.3<sup> o<\/sup>C\/<sup>o<\/sup>F<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR200=MV output value, for integer output<\/p>\n<\/td>\n<td>\n<p>=16383, it is the output control value after instruction operation<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R35024=OR register,<\/p>\n<p>This example is CH0 of M04DA output channel register<\/p>\n<\/td>\n<td>\n<p>=16383 (the value transferred into R200 by instruction FUN8)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step3 Auto tuning completed:<\/p>\n<p>After Auto tuning is completed, the relevant parameters Kp, Ki, and Kd should have corresponding parameters and Auto tuning status=3<\/p>\n<p>As shown below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-018.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-019.png\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R300=PID state<\/p>\n<\/td>\n<td>\n<p>=1 (PID is executing)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R301=AT state<\/p>\n<\/td>\n<td>\n<p>=3(AT completed)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R111=AT open<\/p>\n<\/td>\n<td>\n<p>=1 (AT is on)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR100=Kp, proportional item<\/p>\n<\/td>\n<td>\n<p>=963 (for floating point output)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R102=Ki, integral time<\/p>\n<\/td>\n<td>\n<p>=50, unit is second<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R103=Kd, differential time<\/p>\n<\/td>\n<td>\n<p>=1, unit is second<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR200=MV output value (for integer output)<\/p>\n<\/td>\n<td>\n<p>=16383, it is the output control value after instruction operation<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>On\/Off mode<\/p>\n<p>Example:<\/p>\n<\/td>\n<td colspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step0<\/p>\n<p>Related settings of M04TC\/ M04TCR module<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-020.png\" \/><\/p>\n<p>Related settings of M04DA\/M04DAR module<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-021.jpg\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>On\/Off mode<\/p>\n<p>Example:<\/p>\n<\/td>\n<td colspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step1 Setting parameters: Setting parameters and ladder diagram program, the detailed content and explanation of the table are on the next page<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-022.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-023.png\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<td>\n<p>PID temperature control instruction 2<\/p>\n<\/td>\n<td>\n<p>FUN99 P<\/p>\n<p>TPCTL2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M0=Turn on temperature control<\/p>\n<\/td>\n<td>\n<p>=1, trigger command<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>H\/C = Heating Cooling Control<\/p>\n<\/td>\n<td>\n<p>=1 (short connection), 1 for heating control; 0 for cooling control<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R0=control cycle (unit 0.1S)<\/p>\n<\/td>\n<td>\n<p>=100(10 seconds)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR1=set value (unit 0.1 degree)<\/p>\n<\/td>\n<td>\n<p>=500(50.0<sup>o<\/sup>C\/<sup>o<\/sup>F), determined by the M04TC module setting<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3= dead band<\/p>\n<\/td>\n<td>\n<p>=1, 0.1% of full scale, taking K type thermocouple as an example, when filling 1 in the temporary register, it means that 0.1% of full scale will be used as the dead band size<\/p>\n<p>, that is (1350-(-200)) *0.1% is approximately equal to 1.5oC, the upper limit of the dead zone is 55+1.5, and the lower limit is 55-1.5 (please refer to the thermocouple temperature range table for the full scale)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R5 = PWM control period<\/p>\n<\/td>\n<td>\n<p>=10, control once every 1 seconds<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R6=Output mode<\/p>\n<\/td>\n<td>\n<p>=1 (Other output, namely MV output scratchpad output)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR302=Programmed value return<\/p>\n<\/td>\n<td>\n<p>=30 (3.0<sup>o<\/sup>C\/<sup>o<\/sup>F)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR106 = Output upper limit<\/p>\n<\/td>\n<td>\n<p>=16383 (corresponding to the upper limit of the digital value of the M04DA module)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR108 = Output lower limit<\/p>\n<\/td>\n<td>\n<p>=0 (the lower limit of the digital value of the M04DA module)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-024.jpg\" \/><\/p>\n<p>Schematic diagram of ON\/OFF control action<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<h3>13-2 General-Purpose PID Control Instruction Description and Examples<\/h3>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Symbol<\/p>\n<\/td>\n<td colspan=\"3\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-025.jpg\" \/><\/p>\n<\/td>\n<td colspan=\"2\">\n<p>ID: The number of the expansion module used as the input signal.<\/p>\n<p>CH: Channel number for input signal.<\/p>\n<p>SR: The starting register number of the program-controlled setting value, occupying 8 registers in total.<\/p>\n<p>OR: PID output register number<\/p>\n<p>PR: The starting register number of the parameter setting value, occupying 7 registers in total<\/p>\n<p>WR: The initial number of the working register used by this command occupies 5 registers in total, and cannot be reused in other places.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"4\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>Range<\/p>\n<p>Operand<\/p>\n<\/td>\n<td>\n<p>HR<\/p>\n<\/td>\n<td>\n<p>IR<\/p>\n<\/td>\n<td>\n<p>SR<\/p>\n<\/td>\n<td>\n<p>ROR<\/p>\n<\/td>\n<td>\n<p>DR<\/p>\n<\/td>\n<td>\n<p>K<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R0<\/p>\n<p>\u2223<\/p>\n<p>R34767<\/p>\n<\/td>\n<td>\n<p>R34768<\/p>\n<p>\u2223<\/p>\n<p>R34895<\/p>\n<\/td>\n<td>\n<p>R35280<\/p>\n<p>\u2223<\/p>\n<p>R43223<\/p>\n<\/td>\n<td>\n<p>R43224<\/p>\n<p>\u2223<\/p>\n<p>R47319<\/p>\n<\/td>\n<td>\n<p>D0<\/p>\n<p>\u2223<\/p>\n<p>D7999<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>ID<\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>\n<p>0\uff5e127<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CH<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>0 ~ 63<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>OR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td>\n<p>\u25cb*<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>PR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>WR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Function Description<\/p>\n<\/td>\n<td colspan=\"3\"><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<ul>\n<li>The general-purpose PID2 command (FUN38) regards the currently measured external analog input value as a process variable (Process Variable, referred to as PV), and uses the set point (Set Point, referred to as SP) set by the user to process the variable through After the software PID mathematical calculation, the appropriate output control value is obtained through the D\/A analog output module or reprocessed through other interfaces to control the controlled program within the user&#8217;s desired setting range.<\/li>\n<li>The digitalize PID calculation formula is as follows:<\/li>\n<\/ul>\n<p>Mn = [KpxEn]- [KpxTdx(PVn-PVn-1)\/Ts] + Bias<\/p>\n<p>Mn = Control output at &quot;n&quot; time<\/p>\n<p>Kp: Proportional term real number (Range: \u00b1(1.8*10<sup>-38<\/sup>~3.4*10<sup>38<\/sup>))<\/p>\n<p>Ti: Integral time constant (range: 0~3600, equivalent to 0~3600 Repeats\/Seconds)<\/p>\n<p>Td: Derivative time constant (range: 0~3600, equivalent to 0~3600 Seconds)<\/p>\n<p>PVn: Program-controlled variable value at &quot;n&quot; time<\/p>\n<p>PV n-1: The value of the program-controlled variable last time &quot;n&quot;<\/p>\n<p>En: Error at &quot;n&quot; time = set value (SP) &#8211; program variable value (PVn) at &quot;n&quot; time<\/p>\n<p>Ts: Interval time between PID operations (Range: 1~300, unit: 0.1s)<\/p>\n<p>Bias: Bias output (Range:\u00b1(1.8*10<sup>-38<\/sup>~3.4*10<sup>38<\/sup>))<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<ul>\n<li>When the control selection &quot;A\/M&quot;=0, it means the manual control mode, and the PID operation will not be executed. Directly filling the output register (OR) can control the analog output to control the program-controlled response.<\/li>\n<li>When the control selection &quot;A\/M&quot;=1, it represents the automatic control mode, the value of the output register (OR) is calculated by PID, and the program-controlled load is controlled through the analog output module or other interfaces to implement closed-loop program control.<\/li>\n<li>When the control selection &quot;A\/M&quot;=1 and the operation direction &quot;D\/R&quot;=1, the program control is forward PID control; that is, when the error (SP-PVn) is positive, the control output of the PID operation result, the larger the value is; when the error is negative, the control output of the PID calculation result is smaller.<\/li>\n<li>When the control selection &quot;A \/ M&quot; = 1 and the operation direction &quot;D\/R&quot; = 0, the program control is reverse PID control; that is, when the error (SP-PVn) is positive, the control output of the PID operation result, the smaller the value is; when the error is negative, the control output of the PID operation result is larger.<\/li>\n<li>When the program control setting value or parameter setting value is wrong, the PID instruction will not be executed, and the error indicator &quot;ERR&quot;=1 is set.<\/li>\n<li>If you want to update the parameters, turn UPD OFF-&gt;ON after updating the content of the relevant register.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>SR Parameter<\/p>\n<\/td>\n<td>\n<p>Word size <\/p>\n<\/td>\n<td>\n<p>Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>TS<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Time cycle size, unit: 0.1s(0.1s~30.0s)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SV<\/p>\n<\/td>\n<td>\n<p>2<\/p>\n<\/td>\n<td>\n<p>Set value, unit: 0.1 degree<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DEAD BAND<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Reach the dead band near the SV, the range is 0.1%~10.0%<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<ul>\n<li>PID_Deadband setting range is 0~10.0% (input range). In PID control, this area is a bias (E) inactive area. When the temperature process value (PV) enters the dead band at the beginning, it will still operate PID normally. The operation is performed until the set value (SV) is crossed, then the E will be substituted into the formula with 0, and the normal PID operation will resume after crossing this area. For example, E in area A in the figure is regarded as 0.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-026.jpg\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>PR<\/p>\n<\/td>\n<td>\n<p>Word size <\/p>\n<\/td>\n<td>\n<p>Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Kp<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Proportional item,<\/p>\n<p>real number<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Ti<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Integral time, 0~3600s <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Td<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Differential time, 0~3600s<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Bias<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Proportional, <\/p>\n<p>real number<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>High output limit<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Integral time, 0~3600s <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Low output limit<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Differential time, 0~3600s<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>PID Method<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>0: Standard PID <\/p>\n<p>1: Minimum Transcendence Method <\/p>\n<p>3: Standard PID Incremental Mode<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>BUM<\/p>\n<\/td>\n<td>\n<p>2<\/p>\n<\/td>\n<td>\n<p>Smooth transfer enables (1: enable, 0: disable), it is a function of smooth transfer when manual to automatic control mode.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>AT<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>Enable\/Disable AT<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MAUTO<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>MOUT values change with MV or not<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<ul>\n<li>Kp, Ti, Td\uff1aPID parameter, to specify or turn on the automatic generation of AT and adjust<\/li>\n<\/ul>\n<p>it for use.<\/p>\n<ul>\n<li>Bias\uff1aOutput bias, users can use it to increase or decrease the output value, but it will still be limited by the setting of the output range.<\/li>\n<li>High\/Low output limit\uff1aLimitation of output range, to set the high and low limits of PID output. If the output lower limit is greater than or equal to the output upper limit, an error alarm will be issued.<\/li>\n<li>PID Method\uff1aChoose the appropriate PID algorithm.<\/li>\n<li>AT\uff1aEnable\/disable Autotuning to get PID control parameters.<\/li>\n<li>MAUTO\uff1aTo copy MV values to MOUT.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>WR<\/p>\n<\/td>\n<td>\n<p>Word size <\/p>\n<\/td>\n<td>\n<p>Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>PID Operating State<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>=0, Idle<\/p>\n<p>=1, Working <\/p>\n<p>=2, Error<\/p>\n<p>=3, AT now<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>AT Working State<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>=0, Idle<\/p>\n<p>=1, Running<\/p>\n<p>=2, Error<\/p>\n<p>=3, Finish<\/p>\n<p>=4, Time out<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>PV<\/p>\n<\/td>\n<td>\n<p>2<\/p>\n<\/td>\n<td>\n<p>Programmed return value<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>OR<\/p>\n<\/td>\n<td>\n<p>Word size <\/p>\n<\/td>\n<td>\n<p>Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MV<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Report of output values<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MOUT<\/p>\n<\/td>\n<td>\n<p>2(floating point)<\/p>\n<\/td>\n<td>\n<p>Setting of Manual Output Values (MV)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Auto tuning Example:<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>SCR example, this is an example of M04DA analog output and M04AD analog input module<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step0 <\/p>\n<p>Open the conversion channel of the analog input<\/p>\n<p>Related settings of M04DA\/ M04DAR module<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-027.png\" \/><\/p>\n<p>Related settings of M04DA\/ M04DAR module<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step1 Setting parameters: Setting parameters and ladder diagram program, the detailed content and explanation of the table are on the next page.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-028.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-029.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R1000 = Control Period (unit is 0.1 second)<\/p>\n<\/td>\n<td>\n<p>=10(10 seconds)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR1001 = Set Value (unit 0.1 degree)<\/p>\n<\/td>\n<td>\n<p>=500, the reading value of the module set by the command, take this example as the reading value of channel 0 with module ID 2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR1106=Output upper limit<\/p>\n<\/td>\n<td>\n<p>=16383 (corresponding to the upper limit of the digital value of the M04DA module)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR1108=Output lower limit<\/p>\n<\/td>\n<td>\n<p>=0 (corresponding to the lower limit of the digital value of the M04DA module)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R1112=AT ON<\/p>\n<\/td>\n<td>\n<p>=1 (AT is on)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R1300=PID State<\/p>\n<\/td>\n<td>\n<p>=0(Idle)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R1301=AT State<\/p>\n<\/td>\n<td>\n<p>=0(Idle)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR1302=Programmed Value Return<\/p>\n<\/td>\n<td>\n<p>=10<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>The command H\/C is short-circuited, which means that when there is output, it is heating control; if it is empty, it means cooling control.<\/p>\n<p>After filling in the above setting values, you can turn M0 ON, trigger the command and perform Autotuning.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>In Step2 Auto tuning:<\/p>\n<p>During Auto tuning, you only need to wait for relevant parameters (Kp, Ki, Kd appear, Auto tuning status = 3, that is, Tune is completed, you can enter Step 3), and Error will be output if it exceeds 2 hours.<\/p>\n<p>As shown below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-030.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-031.jpg\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M0=Enable PID control =1, trigger command<\/p>\n<\/td>\n<td>\n<p>M0=Enable PID control =1, trigger command<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>D\/R= stands for forward\/reverse control<\/p>\n<\/td>\n<td>\n<p>=1, for positive control (ex: AO voltage rise)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R1300=PID state<\/p>\n<\/td>\n<td>\n<p>=3, Auto tuning<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R1301=AT state<\/p>\n<\/td>\n<td>\n<p>=1, Auto tuning executing<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR1302 = Programmed return value (PV)<\/p>\n<\/td>\n<td>\n<p>=10<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR200=MV output value, output as floating-point number<\/p>\n<\/td>\n<td>\n<p>=16383, it is the output control value after instruction operation<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R35024=OR register,<\/p>\n<p>This example is CH0 of M04DA<\/p>\n<p>output channel register<\/p>\n<\/td>\n<td>\n<p>=16383 (the value of R1600 converted into an integer by instruction FUN8 into R1600 by instruction FUN201)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Step3 Auto tuning completed:<\/p>\n<p>After Auto tuning is completed, the relevant parameters Kp, Ki, and Kd should have corresponding parameters and Auto tuning status=3<\/p>\n<p>As shown below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-032.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-033.jpg\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<td>\n<p>PID 2<\/p>\n<\/td>\n<td>\n<p>FUN38<\/p>\n<p>PID2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Example usage parameters and related definitions<\/p>\n<\/td>\n<td>\n<p>The meaning of the corresponding parameters in the example<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R300=PID state<\/p>\n<\/td>\n<td>\n<p>=1 (PID is executing)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R301=AT state<\/p>\n<\/td>\n<td>\n<p>=3(AT completed)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R111=AT open<\/p>\n<\/td>\n<td>\n<p>=1 (AT is on)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR100=Kp, proportional item<\/p>\n<\/td>\n<td>\n<p>=963 (for floating point output)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R102=Ki, integral time<\/p>\n<\/td>\n<td>\n<p>=50, unit is second<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R103=Kd, differential time<\/p>\n<\/td>\n<td>\n<p>=1, unit is second<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>DR200=MV output value (for integer output)<\/p>\n<\/td>\n<td>\n<p>=16383, it is the output control value after instruction operation<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<h3>13-3  General PID operation (Main Unit)<\/h3>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>General PID operation<\/p>\n<\/td>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Symbol<\/p>\n<\/td>\n<td colspan=\"3\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-034.png\" \/><\/p>\n<\/td>\n<td colspan=\"2\">\n<p>Ts\uff1aSolution interval between calculations<br \/>\uff081\uff5e3000 ; unit in 0.01S\uff09<\/p>\n<p>SR\uff1aStarting register of loop settings ;<br \/>it takes 8 registers in total.<\/p>\n<p>OR\uff1aOutput register of PID loop operation.<\/p>\n<p>PR\uff1aStarting register of loop parameters;<br \/>it takes 7registers.<\/p>\n<p>WR\uff1aStaring register of working registers for this instruction ,it takes 5 registers and can&#8217;t be repeated in using.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"4\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>Range<\/p>\n<p>Operand<\/p>\n<\/td>\n<td>\n<p>R<\/p>\n<\/td>\n<td>\n<p>ROR<\/p>\n<\/td>\n<td>\n<p>D<\/p>\n<\/td>\n<td>\n<p>K<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R0<\/p>\n<p>\u2223<\/p>\n<p>R34767<\/p>\n<\/td>\n<td>\n<p>R43224<\/p>\n<p>\u2223<\/p>\n<p>R47319<\/p>\n<\/td>\n<td>\n<p>D0<\/p>\n<p>\u2223<\/p>\n<p>D7999<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>Ts<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>1\uff5e3000<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb*<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>OR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb*<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>PR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb*<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>WR<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb*<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Description<\/p>\n<\/td>\n<td colspan=\"3\"><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<td>\n<p>PID <\/p>\n<\/td>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<ul>\n<li>The M PLC software algorithm uses mathematical functions to simulate a three-mode (PID) analog controlling technique to provide direct digital control. The control technique responds to an error with an output signal. The output is proportional to the error, the error&#8217;s integral and the rate of change of the process variable. Control algorithms include, P, PI, PD and PID which all include the features of auto\/manual operation, bumpless\/balanceless transfers, reset wind-up protection, and adaptive tuning of gain, integral, and derivative terms.  <\/li>\n<li>The digitized mathematical expression of M PLC PID instruction as bellows:<\/li>\n<\/ul>\n<p>Mn\t\uff1a Control output at &quot;n&quot; time<\/p>\n<p>Mn<\/p>\n<p>R35765  \uff1aThe gain constant, the default is 1000, which can be set between 1\uff5e5000.<\/p>\n<p>Pb  \uff1aProportional band<\/p>\n<p>The expression stating the percent change in error required to change the output full scale. ( Range\uff1a1\uff5e5000\uff0cunit in 0.1%\uff1bKc(gain)=R35765\/P )<\/p>\n<p>Ki\t\uff1a Integral tuning constant\uff08range\uff1a0\uff5e9999\uff0cit means 0.00\uff5e99.99 Repeats\/Minute\uff09<\/p>\n<p>Td\t\uff1a Derivative tuning constant\uff08range\uff1a0~3600\uff0cequivalent to 0~3600 Seconds\uff09<\/p>\n<p>\t\uff1a Process variable at time &quot;n&quot;<\/p>\n<p> \uff1aProcess variable when loop was last solved<\/p>\n<p>En\t\uff1a The difference between the set point (SP) and the process variable (PV) at time &quot;n&quot;.<\/p>\n<p>En = SP \u2013  .<\/p>\n<p>Ts\t\uff1a Solution interval between calculations\uff08Range\uff1a1\uff5e3000, unit in 0.01S\uff09<\/p>\n<p>Bias \uff1a Offset to the output\uff08Range\uff1a0\uff5e16383\uff09<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<td>\n<p>PID <\/p>\n<\/td>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Principle of PID parameter adjustment <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<ul>\n<li>As the proportional band (Pb) adjustment getting smaller, the larger the proportional contribution to the output.  This can obtain a sensitive and rapid control reaction.  However, when the proportional band is too small, it may cause oscillation.  Do the best to adjust \u201cPb\u201d smaller (but not to the extent of making oscillation), which could increase the process reaction and reduce the steady state error.<\/li>\n<li>Integral item may be used to eliminate the steady state error.  The larger the number (Ki, integral tuning constant), the larger the integral contribution to the output.  When there is steady state error, adjust the \u201cKi\u201d larger to decrease the error. <br \/>When the \u201cKi\u201d = 0, the integral item makes no contribution to the output.<br \/>For ex, if the reset time is 6 minutes, Ki=100\/6=17\uff1bif the integral time is 5 minutes, Ki=100\/5=20.<\/li>\n<li>Derivative item may be used to make the process smoother and not too over shoot.  The larger the number (Td, derivative tuning constant), the larger the derivative contribution to the output.  When there is too over shoot, adjust the \u201cTd\u201d larger to decrease the amount of over shoot. <br \/>When the \u201cTd\u201d = 0, the derivative item makes no contribution to the output.<br \/>For ex, if the rate time is 1 minute, then the Td = 100; if the rate time is 2 minutes, then the Td = 200.<\/li>\n<li>Properly adjust the PID parameters can obtain an excellent result for loop control.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<td>\n<p>PID <\/p>\n<\/td>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Instruction description <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<ul>\n<li>When control input &quot;A\/M&quot;=0, it performs manual control and will not execute the PID calculation. Directly fill the output value into the output register (OR) to control the loop operation. <\/li>\n<li>When control input &quot;A\/M&quot;=1, it defines the auto mode of loop control; the output of the loop operation is loaded by the PID instruction every time it is solved. It is equal to Mn (control loop output) in the digital approximation equation. <\/li>\n<li>When control input &quot;BUM&quot;=1, it defines bumpless transfer while the loop operation changing from manual into auto mode. <\/li>\n<li>When control input &quot;A\/M&quot;=1, and direction input &quot;D\/R&quot;=1, it defines the direct control for loop operation;<br \/>it means the output increases as error increases <\/li>\n<li>When control input &quot;A\/M&quot;=1, and direction input &quot;D\/R&quot;=0, it defines the reverse control for loop operation; <br \/>it means the output decreases as error increases<\/li>\n<li>When comes the error setting of loop setting points or loop parameters, the PID operation will not be performed and the output indication &quot;ERR&quot; will be ON<\/li>\n<li>While the engineering value of the controlling process is greater than or equal to the user set High Limit, the output indication &quot;HAL&quot; will be ON regardless of &quot;A\/M&quot; state. <\/li>\n<li>While the engineering value of the controlling process is less than or equal to the user set Low Limit, the output indication &quot;LAL&quot; will be ON regardless of &quot;A\/M&quot; state.<\/li>\n<li><strong>Description of operand Ts\uff1a<\/strong><\/li>\n<li>Ts\uff1aIt defines the solution interval between PID calculations, the unit is in 0.01 sec; this term may be constant or variable data.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<td>\n<p>PID <\/p>\n<\/td>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<ul>\n<li><strong>Description of operand SR (Loop setting registers)\uff1a<\/strong><\/li>\n<li>SR+0 = Scaled Process Variable\uff1aThis register is loaded by the PID instruction every time it gets solved. A linear scaling is done on SR+6 using the high \tand low engineering range found in SR+4 and SR+5. <\/li>\n<li>SR+1 = Setpoint (SP) \uff1aThe user must load this register with the desired setpoint the loop should control at. The setpoint is entered in engineering units, it must be the range\uff1aLER \u2266 SP \u2266 HER<\/li>\n<li>SR+2 = High Alarm Limit (HAL)\uff1a The user must load this register with the value at \twhich the process variable should be alarmed as a high alarm (above the setpoint). This value is entered as the actual alarm point in engineering \tunits and it must be the range\uff1aLER \u2266 LAL &lt; HAL \u2266 HER<\/li>\n<li>SR+3 = Low Alarm Limit (LAL)\uff1a The user must load this register with the value at which the process variable should be alarmed as a low alarm (below the setpoint). This value is entered as the actual alarm point in engineering units and it must be the range\uff1aLER \u2266 LAL &lt; HAL \u2266 HER<\/li>\n<li>SR+4 = High Engineering Range (HER)\uff1a The user must load this register with the\t highest value for which the measurement device is spanned. (For example a thermocouple might be spanned for 0 to 500 degrees centigrade, resulting in a 0 to 10V analog input to the M PLC (0V=0\u2103, 10V=500\u2103); the high engineering range is 500, this is the value entered into SR+4.) The high engineering range must be\uff1a-9999 &lt; HER \u2266 19999<\/li>\n<li>SR+5 = Low Engineering Range (LER)\uff1aThe user must load this register with the lowest value for which the measurement device is spanned. The low engineering range must be\uff1a-9999 \u2266 LER \u2266 LAL &lt; HAL \u2266 HER .<\/li>\n<li>SR+6 = Raw Analog Measurement (RAM)\uff1aThe user&#8217;s program must load this register with the process variable (measurement). It is the value that the content of analog input register\uff08R34768\u301cR34895\uff09is added by the offset if necessary. It must be the range\uff1a0 \u2266 RAM \u2266 16380 if the analog input is 14-bit format but valid 12-bit resolution, and 0 \u2266 RAM \u2266 16383 if the analog input is 14-bit format and valid 14-bit resolution.The resolution of analog input can be defined by register R35764, R35764=0, it means 14-bit format but valid 12-bit resolution ; R35764=1, it means 14-bit format and valid 14-bit resolution.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<td>\n<p>PID <\/p>\n<\/td>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<ul>\n<li>SR+7 = Offset of Process Variable (OPV)\uff1aThe user must load this register with the value as described follows: OPV must be 0 if the raw analog signal and the measurement span of the analog input module are all 0\u301c20mA, there is no loss of the measurement resolution; OPV must be 3276 if the raw analog signal is 4\u301c20mA but the measurement span of the analog input module is 0\u301c20mA, there will have few loss of the measurement resolution\uff0816383\u00d74 \/ 20 = 3276\uff09. It must be the range\uff1a 0 \u2266 OPV &lt; 16383 .<\/li>\n<li>When the setting mentioned above comes error, it will not perform PID operation and the output indication &quot;ERR&quot; will be ON.<\/li>\n<li><strong>Description of operand OR\uff1a<\/strong><\/li>\n<li>OR\uff1aOutput register, this register is loaded directly by the user while the loop in manual operation mode. While the loop in auto operation mode, this register is loaded by the PID instruction every time it is solved. It is equal to Mn (control loop output) in the digital approximation equation. It must be the range\uff1a0 \u2266 OR \u2266 16383<\/li>\n<li><strong>Description of operand PR (Loop parameters)\uff1a<\/strong><\/li>\n<li>PR+0 = Proportional Band (Pb)\uff1aThe user must load this register with the desired \t\tproportional constant. The proportion constant is entered as a value between 1 and 5000 where the smaller the number, the larger the proportional contribution. <\/li>\n<\/ul>\n<p>(This is because the equation uses R35765 divided by Pb.) <\/p>\n<p>It must be the range\uff1a1 \u2266 Pb \u22665000, unit is in 0.1%. <\/p>\n<p>Kc(gain)=R35765\/ Pb; the default of R35765 is 1000, and it&#8217;s range is 1 \u2266 R35765 \u2266 5000.<\/p>\n<ul>\n<li>PR+1 = Integral tuning Constant (Ki)\uff1aThe user may load this register to add \tintegral action to the calculation. The value entered is &quot;Repeats\/Minute&quot; and is entered as a number between 0 and 9999.  (The actual range is 00.00 to 99.99 Repeats\/Minute.) The larger the number, the larger the integral contribution to the output. <\/li>\n<\/ul>\n<p>It must be the range\uff1a0 \u2266 Ki \u2266 9999 (0.00\uff5e99.99 Repeats\/Minute) <\/p>\n<ul>\n<li>PR+2 = Rate Time Constant (Td)\uff1aThe user may load this register to add derivative action to the calculation. The value is entered as minutes and entered as a number between 0 and 9999. (The actual range is 0.00 to 99.99 minutes.) The larger the number, the larger the derivative contribution to the output. \t<\/li>\n<\/ul>\n<p>It must be the range\uff1a0 \u2266 Td \u2266 9999 (0.00\uff5e99.99 Minutes)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<td>\n<p>PID <\/p>\n<\/td>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<ul>\n<li>PR+3 = Bias\uff1aThe user may load this register if a bias is desired to be added to the output when using PI or PID control. A bias must be used when running proportional only control. The bias is entered as a value between 0 and 16383 and is added directly to the calculated output. Bias is not required for most applications and may be left at 0. <\/li>\n<\/ul>\n<p>It must be the range\uff1a0 \u2266 Bias \u2266 16383<\/p>\n<ul>\n<li>PR+4 = High Integral Wind_up Limit (HIWL)\uff1aThe user must load this register with \t\t the output value, (1 to 16383), at which the loop shoud go into &quot;anti-reset\twind-up&quot; mode. Anti-reset wind-up consists of solving the digital approximation for the integral value. For most applications this should be set to 16383. <\/li>\n<\/ul>\n<p>It must be the range\uff1a1 \u2266 HIWL \u2266 16383<\/p>\n<ul>\n<li>PR+5 = Low Integral Wind_up Limit (LIWL)\uff1aThe user must load this register with \t\t the output value, (0 to 16383), at which the loop shoud go into &quot;anti-reset wind-up&quot; mode. It functions in the same manner as PR+4. For most applications this should be set to 0.<\/li>\n<\/ul>\n<p>It must be the range\uff1a0 \u2266 LIWL \u2266 16383<\/p>\n<ul>\n<li>PR+6 = PID Method\uff1a<\/li>\n<\/ul>\n<p>=0 , Standard PID method; <\/p>\n<p>=1 , Minimum Overshoot Method;<\/p>\n<p>Method 0 is prefer because most applications using PI control (Td=0).<\/p>\n<p>The user may try method 1 when using PID control and the result is not stable. <\/p>\n<ul>\n<li>When the setting mentioned above comes error, it will not perform PID operation and the output indication &quot;ERR&quot; will be ON.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<td>\n<p>PID <\/p>\n<\/td>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<ul>\n<li><strong>Description of operand WR (Working registers)\uff1a<\/strong><\/li>\n<li>WR+0 = Loop status register\t\uff1a<\/li>\n<\/ul>\n<p>Bit0 =0 , Manual operation mode<\/p>\n<p>    =1 , Auto mode<\/p>\n<p>Bit1 : This bit will be a 1 during the scan the solution is being solved, <\/p>\n<p>     and it is ON for a scan time. <\/p>\n<p>Bit2=1 , Bumpless transfer<\/p>\n<p>Bit4 : The status of &quot;ERR&quot; indication <\/p>\n<p>Bit5 : The status of &quot;HAL&quot; indication<\/p>\n<p>Bit6 : The status of &quot;LAL&quot; indication<\/p>\n<ul>\n<li>WR+1 = Loop timer register\uff1aThis register stores the cyclic timer reading from the system&#8217;s 1ms cyclic timer each time the loop is solved. The elapsed time is calculated by calculating the difference between the current reading of the system&#8217;s 1ms cyclic timer and the value stored in this register. This difference is compared to 10\u00d7 the solution interval. If the difference is greater than or equal to the solution interval, the loop should be solved this scan. <\/li>\n<li>WR+2 = Low order integral summation\uff1aThis register stores the low order 16 bits of \t the 32-bit sum created by the integral term. <\/li>\n<li>WR+3 = High order integral summation\uff1aThis register stores the high order 16 bits of the 32-bit sum created by the integral term.<\/li>\n<li>WR+4 = Process variable &#8211; previous solution\uff1aThe raw analog input (Register SR+6) at the time the loop was last sovled. This is used for the derivative control mode. <\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<td>\n<p>PID <\/p>\n<\/td>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Program example <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m03-en-13\/mplc-m03-en-13-035.jpg\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>PID <\/p>\n<\/td>\n<td>\n<p>FUN30<\/p>\n<p>PID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>R999\t\uff1aThe setting of solution interval between calculations; for example the content of R999 is 200, it means it will perform this PID operation every 2 seconds.<\/p>\n<p>R1000\t\uff1aScaled process variable, which is the engineering unit loaded by the PID instruction every time it gets solved. A linear scaling is done on R1006 using the high and low engineering range found in R1004 and R1005.<\/p>\n<p>R1001\t\uff1aSetpoint, it is the desired value the loop should control at; which is entered in engineering unit. For example the span of controlling process is 0\u00b0C\uff5e500\u00b0C, the setting of R1001 is equal to 100, it means the desired result is at 100\u00b0C. <\/p>\n<p>R1002\t\uff1aThe setting of high alarm limit; which is entered in engineering unit. <br \/>The example mentioned above, if the setting of R1002 is equal to 105, it means there will have the high alarm while the loop is greater than or equal to 105\u00b0C. <\/p>\n<p>R1003\t\uff1aThe setting of low alarm limit; which is entered in engineering unit.  The example mentioned, if the setting of R1003 is equal to 95, it means there will have the low alarm while the loop is less than or equal to 95\u00b0C.<\/p>\n<p>R1004\t\uff1aThe setting of high engineering range.  The example mentioned, if the setting of R1004 is equal to 500, it means the highest value of this loop is 500\u00b0C.<\/p>\n<p>R1005\t\uff1aThe setting of low engineering range.  The example mentioned, if the setting of R1005 is equal to 0, it means the lowest value of this loop is 0\u00b0C.<\/p>\n<p>R1006\t\uff1aRaw analog measurement; it is the value that the content of analog input register (R34768\u301cR34895) is added by the offset of 2048.<\/p>\n<p>R1007\uff1aOffset of process variable; let it be 0 if the raw analog signal and\t the span of the analog input module are all 0\u301c10V.<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>R1020\t\uff1aThe setting of proportional band; for example the content of R1020 is 20, <br \/>it means the proportional band is 2.0% and the gain is 50.<\/p>\n<p>R1021\t\uff1aThe setting of integral tuning constant; <br \/>for example the content of R1021 is 17, <br \/>it means the reset time is 6 minutes <br \/>(100\/6\u225217).<\/p>\n<p>R1022\t\uff1aThe setting of derivative tuning constant; for example the content of R1022 is 0, it means PI control. <\/p>\n<p>R1023\t\uff1aThe setting of the bias to the output; <br \/>most applications let it be 0.<\/p>\n<p>R1024\t\uff1aThe setting of high integral wind-up; <br \/>most applications let it be 16383.<\/p>\n<p>R1025\t\uff1aThe setting of low integral wind-up; <br \/>most applications let it be 0.<\/p>\n<p>R1026\t\uff1aThe setting of PID method; <br \/>most applications let it be 0.<\/p>\n<p>R1030 = Loop status register\t<\/p>\n<p>Bit0 =0, Manual operation mode<br \/>=1, Auto operation mode<\/p>\n<p>Bit1 : This bit will be a 1 during the scan the solution is being solved, and \tit is ON for <br \/>a scan time.<\/p>\n<p>Bit2=1 , Bumpless transfer<\/p>\n<p>Bit4 : The status of &quot;ERR&quot; indication<\/p>\n<p>Bit5 : The status of &quot;HAL&quot; indication<\/p>\n<p>Bit6 : The status of &quot;LAL&quot; indication<\/p>\n<p>R1031\uff5eR1034: They are the working registers, please refer to the description of operand WR.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>13-1 Temperature Control Instruction Description and Ex [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-3220","post","type-post","status-publish","format-standard","hentry","category-en-mplc-m03"],"_links":{"self":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts\/3220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/comments?post=3220"}],"version-history":[{"count":0,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts\/3220\/revisions"}],"wp:attachment":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/media?parent=3220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/categories?post=3220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/tags?post=3220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}