LG K4F-PIDA manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of LG K4F-PIDA, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of LG K4F-PIDA one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of LG K4F-PIDA. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of LG K4F-PIDA should contain:
- informations concerning technical data of LG K4F-PIDA
- name of the manufacturer and a year of construction of the LG K4F-PIDA item
- rules of operation, control and maintenance of the LG K4F-PIDA item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of LG K4F-PIDA alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of LG K4F-PIDA, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the LG service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of LG K4F-PIDA.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the LG K4F-PIDA item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    U s e r ’ ’ ’ ’ s s s s Manual LG Programmable Logic Controlle r K7F – PIDA K4F – PIDA MASTER-K LG LG LG LG Industrial Systems[...]

  • Page 2

        CONTENTS     Chapter 1. INTR ODUCTION 1.1 Features    ?[...]

  • Page 3

    Chapter 4. BU FFER MEMORY CON FIGURATION AND FUNCTIONS 4.1 Buffer Memory Configuration     4-1 4.1[...]

  • Page 4

    Chapter 6. PROG RAMMI NG 6.1 Basic Programming     6-1 6.1.1 K[...]

  • 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. A precaution is given with a hazard alert triangular[...]

  • Page 6

    CAUTION ! 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[...]

  • Page 7

    Chapter 1. INTRODUCTION 1 - 1 Chapter 1. INTRODUCTION These two modules are called K7F-P IDA 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 wil l be commonly called the PID control module. PID control means a control action that in order to keep the[...]

  • Page 8

    Chapter 2. SPECIF ICATIONS 2 - 1 Chapter 2 . SPECIFICATIONS Table 2.1 shows the general specifications of MASTER-K series. No Items Specificatio ns Standard 1 Operating ambient tem p erature 0 ~ 55  2 Storage ambient temperature -25 ~ 70  3 Operating ambient humidit y 5 ~ 95%RH, non-condensing 4 Storage ambient humidit y 5 ~ 95%RH, non-conden[...]

  • Page 9

    Chapter 2. SPECIF ICATIONS 2 - 2 2.2 Performance Specificati ons T able. 2.2 shows performance specifications of the PID control module. Specifications Items K7F-PIDA K4F-PIDA Proportional constant (P) 0.01 ~ 100.00 ( When integral and derivative constants are set to 0.0 sec, proportional action is applied.) Integral constant (I) 0.0 ~ 3000.0 sec ([...]

  • Page 10

    Chapter 2. SPECIF ICATIONS 2 - 3 2.3 Names of Parts and Functions The following gives names of parts : No. 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 V alue is displayed. RUN LED ② It shows the PID[...]

  • Page 11

    Chapter 2. SPECIF ICATIONS 2 - 4 2.4 PID Control Action 2.4.1 Processing type 1) Velocity type V elocit y type is a processing that in PID processing, the present Manipulated V alue(MV) is obtained by adding the calculated variation of MV ( ∆ MV) to the previous MV 2) Measured Value Derivative Type (Pre-der ivative) Measured value derivative proc[...]

  • Page 12

    Chapter 2. SPECIF ICATIONS 2 - 5 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 follow s: where Kp is a proportional c[...]

  • Page 13

    Chapter 2. SPECIF ICATIONS 2 - 6 [Fig. 2.2] When the propor tional constant Kp is large. [Fig. 2.3] When the propor tional constant Kp is small.[...]

  • Page 14

    Chapter 2. SPECIF ICATIONS 2 - 7 2) Integral Action (I Aaction) (1) When a deviation(E) occurs between SV and PV , Integral action continuously adds the deviat ion 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 w ill be changed by P action but I action w[...]

  • Page 15

    Chapter 2. SPECIF ICATIONS 2 - 8 [Fig. 2.5] When a long integration ti me is given. [Fig. 2.5] When a short integration time is give n. Set V alu e[...]

  • Page 16

    Chapter 2. SPECIF ICATIONS 2 - 9 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 deviat[...]

  • Page 17

    Chapter 2. SPECIF ICATIONS 2 - 10 4) PID Actio n (1) P ID action controls the control object with the manipulation quantity produced by ( P+I+D) action. (2) P ID action when a given deviation ha s occurred is shown as the fo llowing Fig. 2.8. [Fig. 2.8] PID action at a constant deviation 5) PID Processing Expression PID expressions are of measured [...]

  • Page 18

    Chapter 2. SPECIF ICATIONS 2 - 11 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 [...]

  • Page 19

    Chapter 3. INSTALLATION 3- 1 Chapter 3. INSTALLATI ON 3.1 I nstallation 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, wh ich are subjected or exposed to: - Water [...]

  • Page 20

    Chapter 4. BUFF ER MEMO RY CONFIGU RATION AND FUNCTION S 4- 1 Chapter 4. BUFFER MEMORY CONFIGURATION AND FUNCTIONS The PID control module has the PLC CPU and the buffer memories for communications. 4.1 Buffer memo ry Configuration The followings describe buffer memory configuration. 4.1.1 K7F-PIDA Buff er Memory Address (Decima l) Function Descript[...]

  • Page 21

    Chapter 4. BUFF ER MEMO RY CONFIGU RATION AND FUNCTION S 4- 2 4.1.2 K4F-PIDA Buff er Memory Address (Decima l) Function Descriptions Default Setting Read / Write 0 Loop enable/dis able Specificati on area Bit On(1): Enabled Bit Off(0): Disabled Disabl ed R/W 1 Auto/Manual operati on Specificati on area Bit On(1): Auto Bit Off(0): Manual Auto R/W 2 [...]

  • Page 22

    Chapter 4. BUFF ER MEMO RY CONFIGU RATION AND FUNCTION S 4- 3 4.2 Functions of Buffer Me m or y Each address in the buffer memory occupies one word and it is represented with 16 bits. In the 16 bits which compose an address, e very bit can be set to either “1” when it should be turned On or “0” when Off in order to implement the function of[...]

  • Page 23

    Chapter 4. BUFF ER MEMO RY CONFIGU RATION AND FUNCTION S 4- 4 4.2.3 Specifying Forward/Reverse Action (K7F-PIDA : Addresses 4, 5, K4F-PI DA : Address 2) 1) T urns 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[...]

  • Page 24

    Chapter 4. BUFF ER MEMO RY CONFIGU RATION AND FUNCTION S 4- 5 8.2.5 Loop Run Information (K7F-PIDA : Addresses 8, 9, K4F-PIDA : Address 4) 1) This area stores information on run status of each loop. 8.2.6 etting PID Contr ol Data 1) The addresses for PID control data and their setting range are given as follows. Address (10 decimal) K7F-PIDA K4F-PI[...]

  • Page 25

    Chapter 4. BUFF ER MEMO RY CONFIGU RATION AND FUNCTION S 4- 6 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. 4.2.8 Setting Error Information (K7F-PIDA : Addresses 234 to 265, K4F-PIDA : Addresses 61 to 68) 1) When sett[...]

  • Page 26

    Chapter 5. DEDIC ATED INSTR UCTION S FOR SP ECIAL MODULE S 5 - 1 Chapter 5. DEDICATED INSTRUCTIONS  FOR SPECIAL MODULES (Read from /Write to Buf fer memory) The PID module is available only for local and oc cupies 16 I/O points. 5.1 Read from Buffer Memory ⋅ ⋅⋅ ⋅ ⋅ ⋅⋅ ⋅ ⋅ ⋅⋅ ⋅ GE T , G E T P <Format> execution condi[...]

  • Page 27

    Chapter 5. DEDIC ATED INSTR UCTION S FOR SP ECIAL MODULE S 5 - 2 5.2 Write to Bu ffer Memory ⋅ ⋅⋅ ⋅ ⋅ ⋅⋅ ⋅ ⋅ ⋅⋅ ⋅ PU T, PU T P <Format> execution condition f o r P U T Format Descriptions Available Da ta Type n1 The slot No. where a special module i s mounted. Integer n2 Head address of the special module buffer memori[...]

  • Page 28

    Chapter 6. PROGRAMMING 10 - 1 Chapter 6. PROGRAMMING 6.1 Basi c Programmin g ▲ 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 d ata ar e proc essed w[...]

  • Page 29

    Chapter 6. PROGRAMMING 10 - 2 6.1.2 K4F-PIDA SET d ata ar e proc essed wit h trigger ing P 21 w henev er the conte nts in the buff er memories (addre sses: 1,1 ,4,5,10 ~ 41 and 74 ~ 20 2) are c h ang ed. proces sin g[...]

  • Page 30

    Chapter 6. PROGRAMMING 10 - 3 6.2 Applic ation Progr ammi ng 6.2.1 A P rogram for Contr olling an Electric Furnace (with Applying the A/D Conversion Module, P ID Control Module and D/A Conversion Module) 1) System Configuration 1) Initial Settings (1) PID control module A) Specifying used loop : loop 0 B) Specifying forward/reverse action : forward[...]

  • Page 31

    Chapter 6. PROGRAMMING 10 - 4 (2) In the PID control module, 100 ° C (where the signal converter output is 12 mA, 12800 as a digita l 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 [...]

  • Page 32

    Chapter 6. PROGRAMMING 10 - 5 5) Program D/A convers i on Module initia lization switch Makin g t he PV of PID contr ol mod ul e be s et to the A/ D convers ion value[...]

  • Page 33

    Chapter 6. PROGRAMMING 10 - 6 10.2.2 A Program for Control Using a R TD (with Applying the RTD Input Module, PID Control Module and D /A Conversion Module) 1) System Configuration 2) Initial Settings (1) PID control module A) Specifying used loop : loop 0 B) Specifying forward/reverse action: forward action C) Specifying the Set V alue: 8000 D) Spe[...]

  • Page 34

    Chapter 6. PROGRAMMING 10 - 7 4) Program RTD RTD in put modu le RTD RTD RTD Readi ng the BCD digi t al Switc h v alue and th en using it as P or I or D v alue Makin g t he PV of PID Contr ol modul e be set to the det ec ted t emper at ure value[...]

  • Page 35

    Chapter 6. PROGRAMMING 10 - 8 6.2.3 A Program for Contr ol Using a Thermocouple (with Applying the TC Inpu t Module, PID Control Module a nd D/A Conver sion Module) 1) System Configuration 2) Initial Settings (1) TC input module A) Specifying used channel : channel 0 B) Specifying TC type: K type (2) PID control module A) Specifying used loop : loo[...]

  • Page 36

    Chapter 6. PROGRAMMING 10 - 9 4) Program TC inpu t modu le initializatio n Speci fy ing T C in put mod ul e SET dat a en abl e Speci fying TC of c hannel to K t ype Readi ng the digital conv ersi on val ue of t he T C i nput m odule t o D0 and err or infor mati on to D 1. If an err or occ urs at t he cha nnel 0 of the TC input mo d ule, M 10 tur ns[...]

  • Page 37

    Chapter 7. TROUBLES HOOTING 7- 1 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 Flickeri ng Errors indicated by PID control module RUN L ED flickering are given below . RUN LE D Status Error T ype Loop RUN LED status Flicker[...]

  • Page 38

    Chapter 7. TROUBLES HOOTING 7- 2 4.2.3 Unreadable Processing Result of P ID control module 4.2.4 Run LED of enabled Loo ps Off 4.2.5 PID Control Module H ardware Defect  See Section 7.2.2. Is RUN LED turned OFF? See Section 7.2.1. Is RUN LED flickerin g ? A re the numbers of the loops used in the processing correctl y s p ecified?[...]

  • Page 39

    Chapter 8. DIMENSIONS 8 - 1 Chapter 8. DIMENSIONS 8.1 K7F-PIDA Dimens ions . K7F-PIDA[...]

  • Page 40

    Chapter 8. DIMENSIONS 8 - 2 8.2 K4F-PIDA Dimensions K4F-PIDA[...]