Chapter 1. INTRODUCTION 1.1 Features 1-1 Chapter 2. SPECIFICATIONS 2.1 General Specifications 2.2 Performance Specifications 2.3 Names of Parts and Functions 2.4 PID Control Action 2-4 2.4.1 Processing Type 2-4 1) Velocity Type Processing 2-4 2) Measured Value Derivative Type (Pre-Derivative Type) 2-4 2.4.2 Control Actions 2-5...
Page 3
4.1.2 K4F-PIDA Buffer Memory 4-2 4.2 Functions of Buffer Memory 4.2.1 Specifying Loop Enable/Disable 4-3 (K7F-PIDA : addresses 0 and 1, K4F-PIDA : address 0) 4.2.2 Specifying Auto/Manual Processing (K7F-PIDA : addresses 2 and 3, 4.2.3 Specifying Forward/Reverse Action 4-4 (K7F-PIDA : addresses 4 and 5, 4.2.4 Specifying SET Data Enable/Disable 4-4...
7.2.3 Unreadable Processing Result of PID Control Module 7-2 7.2.4 Run LED of Enabled Loops Off 7-2 7.2.5 PID Control Module Hardware Defect Chapter 8. DIMENSIONS 8.1 K7F-PIDA Dimensions 8.2 K4F-PIDA Dimensions 6-1 6-3...
Page 5
Be sure to read carefully the safety precautions given in data sheet and user’s manual before operating the module and follow them. The precautions explained here only apply to the K7F-PIDA and K4F-PIDA. For safety precautions on the PLC system, see the MASTER-K200S/300S/1000S User’s Manuals.
Page 6
Installation Precautions Operate the PLC in the environment conditions given in the general specifications. If operated in other environment not specified in the general specifications, it can cause an electric shock, a fire, malfunction or damage or degradation of the module Make sure the module fixing projections is inserted into the module fixing hole and fixed.
These two modules are called K7F-PIDA and K4F-PIDA. The K7F-PIDA is used with the CPU of K1000S series, and the K4F-PIDA is used with the CPU of K300S series. Hereafter, the two modules will be commonly called the PID control module.
! ON : The corresponding loop is running. ! OFF : The corresponding loop is running. ! Flickering : Error status. Error Value is displayed. RUN LED It shows the PID module Operating status. ! ON: Normal ! Flickering : Error K4F-PIDA Descriptions 2 - 3...
2.4 PID Control Action 2.4.1 Processing type 1) Velocity type Velocity type is a processing that in PID processing, the present Manipulated Value(MV) is obtained by adding the calculated variation of MV ( MV) to the previous MV 2) Measured Value Derivative Type (Pre-derivative) Measured value derivative processing, in PID processing, uses the process value(PV) for the derivative term.
2.4.2 Control Action 1) Proportional Action (P Action) (1) P action means a control action that obtains a MV which is proportional to the deviation (E: the difference between SV and PV). (2) The expression which denotes the change relationship of E to MV in P action is shown as follows: where Kp is a proportional constant and means gain.
Page 13
Chapter 2. SPECIFICATIONS [Fig. 2.2] When the proportional constant Kp is large. [Fig. 2.3] When the proportional constant Kp is small. 2 - 6...
2) Integral Action (I Aaction) (1) When a deviation(E) occurs between SV and PV, Integral action continuously adds the deviation to or subtracts it from the MV in accordance time in order to eliminate the deviation When a deviation is small it is not expected that the MV will be changed by P action but I action will eliminate it.
Page 15
Chapter 2. SPECIFICATIONS Set Value [Fig. 2.5] When a long integration time is given. [Fig. 2.5] When a short integration time is given. 2 - 8...
Page 16
3) Derivative Action (D Action) (1) When a deviation occurs due to alteration of SV or external disturbances, D action restrains the changes of the deviation by producing MV which is proportioned with the change velocity (a velocity whose deviation changes at every constant interval) in order to eliminate the deviation.
Page 17
4) PID Action (1) PID action controls the control object with the manipulation quantity produced by (P+I+D) action. (2) PID action when a given deviation has occurred is shown as the following Fig. 2.8. [Fig. 2.8] PID action at a constant deviation 5) PID Processing Expression PID expressions are of measured value derivative type.
6) Forward/Reverse Actions (1) PID control has two kinds of action, forward action and reverse action. a) Forward action makes PV reach SV by outputting MV when PV is less than SV. b) Reverse action makes PV reach SV by outputting MV when PV is more than SV. (2) A diagram in which forward and reverse actions are drawn using MV, PV and SV is shown as Fig.
Chapter 3. INSTALLATION Chapter 3. INSTALLATION 3.1 Installation Ambience This module has high reliability regardless of its installation ambience. But be sure to check the following for system in higher reliability and stability. 1) Ambience Requirements Avoid installing this module in locations, which are subjected or exposed to: - Water leakage and dust a large amount of dust, powder and other conductive power, oil mist, salt, of organic solvent exists.
Chapter 4. BUFFER MEMORY CONFIGURATION AND FUNCTIONS Chapter 4. BUFFER MEMORY CONFIGURATION AND FUNCTIONS The PID control module has the PLC CPU and the buffer memories for communications. 4.1 Buffer memory Configuration The followings describe buffer memory configuration. 4.1.1 K7F-PIDA Buffer Memory Address (Decimal) Loop enable/disable...
Chapter 4. BUFFER MEMORY CONFIGURATION AND FUNCTIONS 4.1.2 K4F-PIDA Buffer Memory Address Function (Decimal) Loop enable/disable Specification area Auto/Manual operation Specification area Forward/Reverse action Specification area SET data enable/disable Specification area Loop run information 5 to 12 SV of each loop...
M_MV set before by the user. 2) Default is auto processing. 3) The followings show the bit corresponding to each loop. K7F-PIDA K4F-PIDA (K7F-PIDA : Addresses 0, 1, K4F-PIDA : Address 0) (K7F-PIDA : Addresses 2, 3, K4F-PIDA : Address 1) 4- 3...
2) If PID control data is outside the range, the execution continues with the setting range of the previous processing. 3) If PID control data is outside its setting range, error information appear on the setting error information area. (K7F-PIDA : Addresses 8, 9, K4F-PIDA : Address 4) Item K4F-PIDA 5~12 13~20...
Chapter 4. BUFFER MEMORY CONFIGURATION AND FUNCTIONS 4.2.7 Outputting Manipulated Value (K7F-PIDA : Addresses 202 to 233, K4F-PIDA : Addresses 53 to 60) 1) This area stores the MV of each loop. 2) The MV output range is 0 to 16000.
Chapter 5. DEDICATED INSTRUCTIONS FOR SPECIAL MODULES Chapter 5. DEDICATED INSTRUCTIONS (Read from /Write to Buffer memory) The PID module is available only for local and occupies 16 I/O points. Read from Buffer Memory <Format> execution condition for GET Format The slot No.
Chapter 5. DEDICATED INSTRUCTIONS FOR SPECIAL MODULES 5.2 Write to Buffer Memory <Format> execution condition Format The slot No. where a special module is mounted. Head address of the special module buffer memories to which the data will be written.. Head address of the device where the data to be written has been stored, or an integer Number of data to be written.
Chapter 6. PROGRAMMING Chapter 6. PROGRAMMING 6.1 Basic Programming The following describes the method to set the running conditions in the buffer memories of the PID control module. The PID control module is already mounted on the slot 0. The PID control module occupies 16 I/O points. 6.1.1 K7F-PIDA 10 - 1 SET data are processed with...
Chapter 6. PROGRAMMING 6.1.2 K4F-PIDA SET data are processed with triggering P21 whenever the contents in the buffer memories (addresses: 1,1,4,5,10~ 41 and 74 ~ 202) are changed. processing 10 - 2...
Chapter 6. PROGRAMMING 6.2 Application Programming 6.2.1 A Program for Controlling an Electric Furnace (with Applying the A/D Conversion Module, PID Control Module and D/A Conversion Module) 1) System Configuration K7S- K7S- 122S 30AS Initial Settings PID control module A) Specifying used loop : loop 0 B) Specifying forward/reverse action : forward action C) Setting SV: 12800 D) Specifying auto/manual processing : auto processing...
Page 31
Chapter 6. PROGRAMMING In the PID control module, 100 C (where the signal converter output is 12 mA, 12800 as a digital value.) is set as SV. With regards to P.I.D constants, the manipulated value in the BCD digital switch is set as the proportional constant when P0020 turns on, as the integral constant when POO21 turns on, and as the Derivative constant when P0022 turns on.
Page 32
Chapter 6. PROGRAMMING 5) Program Making the PV of PID control module be set to the A/D conversion value 10 - 5 D/A conversion Module initialization switch...
Chapter 6. PROGRAMMING 10.2.2 A Program for Control Using a RTD (with Applying the RTD Input Module, PID Control Module and D/A Conversion Module) 1) System Configuration K7S- K7P- K7X- 122S 30AS 310S Initial Settings (1) PID control module A) Specifying used loop : loop 0 B) Specifying forward/reverse action: forward action C) Specifying the Set Value: 8000 D) Specifying auto/manual processing : auto processing...
Page 34
Chapter 6. PROGRAMMING 4) Program RTD input module 10 - 7 Reading the BCD digital Switch value and then using it as P or I or D value Making the PV of PID Control module be set to the detected temperature value...
Chapter 6. PROGRAMMING 6.2.3 A Program for Control Using a Thermocouple (with Applying the TC Input Module, PID Control Module and D/A Conversion Module) System Configuration K7S- K7S- K7X- 122S 30AS 210S TC (K type) Initial Settings (1) TC input module A) Specifying used channel : channel 0 B) Specifying TC type: K type (2) PID control module...
Page 36
Chapter 6. PROGRAMMING Program Reading the digital conversion value of the TC input module to D0 and error information to D1. If an error occurs at the channel 0 of the TC input module, M10 turns on. If the channel 0 of the TC input module runs normally, auto processing is specified in the PID control module.
Chapter 7. TROUBLESHOOTING Chapter 7. TROUBLESHOOTING The followings explain errors that could occur during operating the PID control module and their troubleshooting. Errors Indicated by RUN LED Flickering Errors indicated by PID control module RUN LED flickering are given below. RUN LED Status Flickering (cycle: 0.1 sec)
Chapter 7. TROUBLESHOOTING 4.2.3 Unreadable Processing Result of PID control module Is RUN LED turned OFF? Is RUN LED flickering? Are the numbers of the loops used in the processing correctly specified? See Section 7.2.5. 4.2.4 Run LED of enabled Loops Off Is RUN LED turned OFF? Is RUN LED flickering? Are the loops that should be executed correctly specified?