User’’s Manual LG Programmable Logic Controller MASTER-K K7F – PIDA K4F – PIDA LG Industrial Systems
CONTENTS Chapter 1. INTRODUCTION 1.1 Features 1-1 Chapter 2. SPECIFICATIONS 2.1 General Specifications 2-1 2.2 Performance Specifications 2-2 2.3 Names of Parts and Functions 2-3 2.4 PID Control Action 2-4 2.4.
Chapter 4. 4.1 4.2 BUFFER MEMORY CONFIGURATION AND FUNCTIONS Buffer Memory Configuration 4-1 4.1.1 K7F-PIDA Buffer Memory 4-1 4.1.2 K4F-PIDA Buffer Memory 4-2 Functions of Buffer Memory 4-3 4.2.1 Specifying Loop Enable/Disable 4-3 (K7F-PIDA : addresses 0 and 1, K4F-PIDA : address 0) 4.2.
Chapter 6. PROGRAMMING 6.1 6.2 Basic Programming 6-1 6.1.1 K7F-PIDA 6-1 6.1.2 K4F-PIDA 6-2 Application Programming 6-3 6.2.1 A Program for Controlling an Electric Furnace 6-3 (with Applying the A/D Conversion Module, PID Control Module and D/A Conversion Module) 6.2.
SAFETY PRECAUTIONS 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. A precaution is given with a hazard alert triangular symbol to call your attention, and precautions are represented as follows according to the degree of hazard.
Installation Precautions ! CAUTION 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. Improper installation of the module can cause malfunction, disorder or falling.
Chapter 1. INTRODUCTION Chapter 1. INTRODUCTION 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.
Chapter 2. SPECIFICATIONS Chapter 2 . 2.1 SPECIFICATIONS General Specifications Table 2.1 shows the general specifications of MASTER-K series. No Items Specifications Operating ambient temperature Storage ambient temperature Operating ambient humidity Storage ambient humidity 1 2 3 4 5 Vibration 6 Shocks 7 0 ~ 55 -25 ~ 70 5 ~ 95%RH, non-condensing 5 ~ 95%RH, non-condensing Occasional vibration Acceleration Amplitude Sweep count 0.075 mm 9.
Chapter 2. 2.2 SPECIFICATIONS Performance Specifications Table. 2.2 shows performance specifications of the PID control module. Specifications Items K7F-PIDA K4F-PIDA 0.01 ~ Proportional constant (P) ( When integral and 0.0 sec, Setting range of Integral constant (I) derivative constants are set to proportional action is applied.) 0.0 PID 100.00 ~ 3000.0 sec ( When integral constant is set to 0.0 sec, constants integral action shall not be applied.) 0.
Chapter 2. 2.3 SPECIFICATIONS Names of Parts and Functions The following gives names of parts : K7F-PIDA No. K4F-PIDA Descriptions Loop Run LED ① It shows the PID control module run status. ! 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.
Chapter 2. SPECIFICATIONS 2.4 PID Control Action 2.4.
Chapter 2. SPECIFICATIONS 2.4.2 1) Control Action 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: ✕E MV = Kp✕ where Kp is a proportional constant and means gain. (3) When deviation occurs, the MV by P action is shown in Fig. 2.1. [Fig. 2.
Chapter 2. SPECIFICATIONS [Fig. 2.2] When the proportional constant Kp is large. [Fig. 2.3] When the proportional constant Kp is small.
Chapter 2. SPECIFICATIONS 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. Therefore, the offset which occurs in P action can be eliminated by I action.
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.
Chapter 2. SPECIFICATIONS 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.
Chapter 2. SPECIFICATIONS 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.
Chapter 2. SPECIFICATIONS 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. 2.9. [Fig. 2.9] Forward and reverse action with MV, PV and SV (3) Fig 2.
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.
Chapter 4. BUFFER MEMORY CONFIGURATION AND FUNCTIONS 4.1.
Chapter 4. BUFFER MEMORY CONFIGURATION AND FUNCTIONS 4.2 Functions of Buffer Memory Each address in the buffer memory occupies one word and it is represented with 16 bits. In the 16 bits which compose an address, every bit can be set to either “1” when it should be turned On or “0” when Off in order to implement the function of each bit. 4.2.1 Specifying Loop Enable/Disable (K7F-PIDA : Addresses 0, 1, K4F-PIDA : Address 0) 1) Loop enable/disable specification is possible on every channel.
Chapter 4. 4.2.3 BUFFER MEMORY CONFIGURATION AND FUNCTIONS Specifying Forward/Reverse Action (K7F-PIDA : Addresses 4, 5, K4F-PIDA : Address 2) 1) Turns the corresponding bit Off(0) for forward action processing and On (1) for reverse action processing. 2) Default is forward action. 3) The following show the bit corresponding to each loop. K7F-PIDA K4F-PIDA 4.2.
Chapter 4. 8.2.5 BUFFER MEMORY CONFIGURATION AND FUNCTIONS Loop Run Information (K7F-PIDA : Addresses 8, 9, K4F-PIDA : Address 4) 1) This area stores information on run status of each loop. K7F-PIDA K4F-PIDA 8.2.6 etting PID Control Data 1) The addresses for PID control data and their setting range are given as follows.
Chapter 4. 4.2.7 BUFFER MEMORY CONFIGURATION AND FUNCTIONS 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. 4.2.8 Setting Error Information (K7F-PIDA : Addresses 234 to 265, K4F-PIDA : Addresses 61 to 68) 1) When setting the control data for each loop, if any setting exceeds its range the error information is indicated on this area.
Chapter 5. DEDICATED INSTRUCTIONS FOR SPECIAL MODULES Chapter 5. DEDICATED INSTRUCTIONS FOR SPECIAL MODULES (Read from /Write to Buffer memory) The PID module is available only for local and occupies 16 I/O points. 5.1 Read from Buffer Memory ⋅ ⋅ ⋅ GET, GETP execution condition for GET GET Format n1 n1 n2 D n3 Descriptions The slot No. where a special module is mounted Head address of the special module buffer memories from which the data will be read.
Chapter 5. DEDICATED INSTRUCTIONS FOR SPECIAL MODULES 5.2 Write to Buffer Memory ⋅ ⋅ ⋅ PUT, PUTP execution condition for PUT PUT n1 Format n1 n2 D n3 n2 S n3 Descriptions 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 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.
Chapter 6. 6.1.2 PROGRAMMING 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.
Chapter 6. 6.2 PROGRAMMING 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 K7S122S 1) K7S30AS K7X310S K7X310S K7FAD4A K7FPIDA Ch. 0 Loop 0 K7FDI4A K7S132S K7Y201S Ch.
Chapter 6. (2) (3) (4) 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. MV, the result from PID processing is output at the channel 0 of the D/A conversion module.
Chapter 6.
Chapter 6. 10.2.2 1) PROGRAMMING A Program for Control Using a RTD (with Applying the RTD Input Module, PID Control Module and D/A Conversion Module) System Configuration K7S122S K7P30AS K7X310S K7X210S K7FRD3A K7FPIDA K7FAD4A Ch. 0 Loop 0 Ch.
Chapter 6.
Chapter 6. 6.2.3 1) PROGRAMMING A Program for Control Using a Thermocouple (with Applying the TC Input Module, PID Control Module and D/A Conversion Module) System Configuration K7S122S K7S30AS K7X210S K7FTC4A K7FPIDA K7FDI4A Ch. 0 Loop 0 Ch. 0 K7Y201S K7Y201S K7S132S Power conversion device TC (K type) SV ( 200.
Chapter 6. 4) PROGRAMMING Program Specifying TC of channel to K type TC input module initialization Specifying TC input module SET data enable 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. 7.1 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) Flickering (cycle: 0.2 sec) 7.
Chapter 7. 4.2.3 TROUBLESHOOTING Unreadable Processing Result of PID control module Is RUN LED turned OFF? See Section 7.2.2. Is RUN LED flickering? See Section 7.2.1. Are the numbers of the loops used in the processing correctly specified? Specify correctly the loop numbers. See Section 7.2.5. 4.2.4 Run LED of enabled Loops Off Is RUN LED turned OFF? See Section 7.2.2. Is RUN LED flickering? See Section 7.2.1.
Chapter 8. DIMENSIONS Chapter 8. DIMENSIONS 8.1 K7F-PIDA Dimensions.
Chapter 8. DIMENSIONS 8.