Gebruiksaanwijzing /service van het product G4F-AD3A van de fabrikant LG Electronics
Ga naar pagina of 78
User ’ s Manual LG Programmable Logic Controller LG Industrial Systems G3F - AD3A G4F - AD3A G6F - AD2A.
Safety Precautions Be sure to read carefully this safety precaution given in data sheet and user ’ s manual before operating the module and follow them.
Safety Precautions Wiring Precautions When grounding a FG termi nal, be sure to provide class 3 grounding which is dedicated to the PLC. Before the PLC wiring, be sure to check the rated voltage and terminal arrangement for the module and observe them correctly.
◎ CONTENTS ◎ Chapter 1. INTRODUCTION 1.1 Features · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·.
3.2 Wiring · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · .
Chapter 8 . MK Programming 8 .1 Basic Programming · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · .
Chapter 1 Introduction 1 - 1 1 Introduction The G3F - AD3A, G4F - AD3A, and G6F - AD2A modules are ana log - to - d i gital conversion modules for use with the GLOFA PLC GM1/2/3/4 / 6 series and MASTER - K PLC K200S / 300S /1000S series.
Chapter 1 Introduction 1 - 2 1.2 Terminology 1.2.1 Analog value : A Ana l og value is a continuously changing value such as voltage, current, te mpera ture, speed pressure, flux, etc. Te m peratur e, for exa m ple, is continuously changing according to the ti me .
Chapter 1 Introduction 1 - 3 1.3 Analog - to - Digital conversion characteristics 1.3.1 Voltage input The A/D modu l e converts the analog input fro m external devices to the digital value that can be handled by CPU module. When t he analog input is voltage input, the K4F - AD3A and K7F - AD3A has t wo input ranges such as 1 ~ 5VDC and 0 ~ 10VDC.
Chapter 1 Introduction 1 - 4 2) 0 ~ 10VDC range When the A/D modu le operates with 0 ~ 10VDC range, the 0VDC analog input i s conver t ed to d i gital 0, and the 10VDC analog input i s converted into digital output 40 00. Therefore, the resolution per 1 digital value is 0.
Chapter 1 Introduction 1 - 5 1.3.2 Current input When t he ana l og i npu t i s current input, the A/D conversion modu le has only one input ranges such as 4 ~ 20 m A. W ith all analog input range, the digital output is varied in the range of 0 ~ 4000.
Chapter 2. SPECIFICATIONS 2 - 1 Chapter 2 . SPECIFICATIONS Table 2.1 shows the general specifications of GLOFA GM series and MASTER - K series. Item Specification s Standard Operating ambient temperat.
Chapter 2. SPECIFICATIONS 2 - 2 Table 2 - 2 shows performance specifications of A/D conversion modul e. 1) G3F - AD3A, G4F - AD3A Specifications Item s G3F - AD 3 A G4F - AD 3 A I/O points 16 points V.
Chapter 2. SPECIFICATIONS 2 - 3 2) G6F - AD2A Item s Specifications I/O points 16 points Volta ge 1 ~ 5 VDC (input resistance 1 ㏁ ) 0 ~ 10 VDC (input resistance 1 ㏁ ) - 10 ~ 10VDC (input resistanc.
Chapter 2. SPECIFICATIONS 2 - 4 The names of parts and functions of the A/D conversion module are shown as below. 2.3.1 G3F - AD 3 A 2.3 N ames of Parts and Functions.
Chapter 2. SPECIFICATIONS 2 - 5 2.3.2 G4F - AD3A No Description ← RUN LED Indicates the operating status of the G3F - AD3A and G4F - AD3A. ↑ Selection switch of voltage/current 1)The switch status at voltage selection The switch locates off sta tus.
Chapter 2. SPECIFICATIONS 2 - 6 2.3.3 G 6 F - AD 2 A No Description ← RUN LED Indicates the operating status of the G6F - AD2A. ↑ Selection switch of volta ge/current Analog Input Input Range Sele.
Chapter 2. SPECIFICATIONS 2 - 7 Input / Output (hereafter I/O) conversion characteristics are expressed with the angle of the line between analog input(voltage and current) and matched digital value. I/O conversion characteristics of the G3F - AD3A, G4F - AD3A are expressed with Fig 2.
Chapter 2. SPECIFICATIONS 2 - 8 [Fig 2.1] I/O C onversion C haracteristics REMARK 1. The analog output value of over 4047 or – 48(2047 or – 2048) is fixed as 4047 or – 48(2047 or – 2048). 2. Keep the input voltage and current not to exceed +15V and 25mA.
Chapter 2. SPECIFICATIONS 2 - 9 (2)Voltage input range : DC 1 ~ 5V Digital output value for input voltage is shown as follows. Analog input voltage (V) 0.
Chapter 2. SPECIFICATIONS 2 - 10 2.4. 2 Current I nput C haracteristics 1) G3F - A D3A, G4F - AD3A For current input, the corresponding input selection switch of each channel should be set to "o n ". - Digital output value for input current is shown as follows.
Chapter 2. SPECIFICATIONS 2 - 11 2.4. 3 Simultaneous V oltage and C urrent I nput C haracteristics 1) G3F - AD3A, G4F - AD3A For simultaneous voltage and current input, the input conversion switch of each channel is set to c orresponding voltage and current range.
Chapter 2. SPECIFICATIONS 2 - 12 2.4. 4 Analog input and Digital output characteristics 1) G3F - AD3A, G4F - AD3A 2) G6F - AD2A No Input range Digital output value Resolution Analog input value ℵ DC 0~10V 2.5 mV 5.000 ~ 5.0025 5.0025 ~ 5.005 5.005 ~ 5.
Chapter 2. SPECIFICATIONS 2 - 13 2.5.1 Sampling processing A/D conversion system The anal og values input to the channels designated for sampling processing by the CPU are converted to digital output values one by one and the digital output values are stored in the buffer memory.
Chapter 3 Installation and wiring 3 - 1 3 Installation and wiring 3.1 Installation 3.1.1 Installation ambiance The A/D module has designed to have high reliability regardless of its installation ambiance. However, please be sure to check the following precautions for higher reliability and stability of s ystem.
Chapter 3 Installation and wiring 3 - 2 3.2 Wiring 3.2.1 Wiring precaution s ① Separate AC and external input signal of A/D module wiring not to be affected by surge or induced noise in the AC. ② External wiring has to be at least AWG32 (0.3mm 2 ), and be selected in consideration of operating ambiance and/or allowable current.
Chapter 3 Installation and wiring 3 - 3 2) G3F - AD3A / G4F - AD3A ① Voltage input ② Current input *1: Use a two - core twisted pair shielded cable *2 : If noise is expected, ground the cable as shown in figure.
Chapter 4. FUNCTION BLOCK 4 - 1 CHAPTER 4 . FUNCTION BLOCK This shows function block for A/D conversion module on the GMWIN. A kind of function block is as follows. The function block type and functions of input/ou tput parameters of G3F - AD3A and G4F - AD3A are same.
Chapter 4. FUNCTION BLOCK 4 - 2 4.2.1 Module Initialization 1) G3F - AD3A, G4F - AD3A Module Initialization function block is used in a program with setting of A/D conversion module located base number, slot number of located module on base, specifying a channel enable, analog input data type and the information of average process ing .
Chapter 4. FUNCTION BLOCK 4 - 3 2) G6F - AD2A Module Initializati on function block is used in a program with setting of A/D conversion module located base number, slot number of located module on base, specifying a channel enable, analog input data type and information of average process ing .
Chapter 4. FUNCTION BLOCK 4 - 4 4.2.2 Module Read ing - Array Type 1) G3F - AD3A, G4F - AD3A Array type of function block for reading the module is performed for every channel in block an d the specified channels are used to read output variable of data displayed from A/D conversion digital value.
Chapter 4. FUNCTION BLOCK 4 - 5 4.2.3 Module Read ing - Single Type 1) G3F - AD3A, G4F - AD3A Single type of func tion block for reading the module is performed for only one channel and the specified channel is used to read output variable of data displayed from A/D conversion digital value.
Chapter 4. FUNCTION BLOCK 4 - 6 4 .3 Remote Function Block 4.3.1 Module Initialization 1) G3F - AD3A, G4F - AD3A Module Initialization function block is a program for the use in setting the location n.
Chapter 4. FUNCTION BLOCK 4 - 7 2) G6F - AD2A Module Initialization function block is a program for the use in setting the location number of the slot on which the communication module of A/D conversi.
Chapter 4. FUNCTION BLOCK 4 - 8 4.3.2 Module R ead ing 1) G3F - AD3A, G4F - AD3A Function block for reading the module is performed for every channel in block and the specified channels are used to read output variable of data displayed from A/D conversion digital value.
Chapter 4. FUNCTION BLOCK 4 - 9 2) G6F - AD2A Function block for reading the module is performed for every channel in block and the specified channels are used t o read output variable of data displayed from A/D conversion digital value.
Chapter 4. FUNCTION BLOCK 4 - 10 4 .4 Error s on Function Block This shows errors and resolutions in accordance with them. Function block Read STAT No.
Chapter 5. GM PROGRAMMING 5 - 1 Chapter 5 . GM PROGRAM MING 5 .1 Program ming for Distinction of A/D Conversion Value 1) System Configuration GM 3 - PA 1A GM 3 - CPUA G 3 F - AD 3 A G 3 Q - RY 4 A 2) .
Chapter 5. GM PROGRAMMING 5 - 2 4 ) Prog ramming E xample AD_INI AD3INI REQ DONE 0 BASE STAT INI_STAT CH AD_CH TYPE DATATYPE AVG - EN AVG_EN AVG - NUM SLOT ACT 0 러정보 INI_ACT 0 SLOT CH AD_CH RD_S.
Chapter 5. GM PROGRAMMING 5 - 3 5) Spec ifying initial value of input/output variables on the program. ( Specifying channels ) This denotes 4 channels Select this and this screen appears Channel No. To sp ecify channel enable/disable Select this and this screen appears To select previous Ch.
Chapter 5. GM PROGRAMMING 5 - 4 6) Input/output variables on Programming AD_CH : VAR : ARRAY [0..7] OF BOOL : = { 1,0,1,0,1,0,0,0,0 } AD_INI : VAR : FB instance AD_RD : V AR : FB instance AVG_EN : VAR : ARRAY [0..7] OF BOOL : = { 0,1,0,1,0,0,0,0 } AVG_NUM : VAR : ARRAY [0.
Chapter 5. GM PROGRAMMING 5 - 5 5. 2 Program m ing for Display of A/D Conversion Value and Error Code on BCD Display 1 ) System Configuration GM4 - PA2A GM4 - CPUA G4I - D22A G4Q - RY2A G4Q - RY2A G4F.
Chapter 5. GM PROGRAMMING 5 - 6 4) Programming AD_INI AD3INI %I0.0.0 REQ DONE 0 BASE STAT INI_STAT CH AD_CH TYPE DATATYPE AVG - EN AVG_EN AVG - NUM SLOT ACT 3 러정보 INI_ACT 3 SLOT CH 0 RD_STAT STAT CH0_DATA DATA 0 BASE START S START AD_RD AD3AD REQ DONE AVG_NUM %I0.
Chapter 5. GM PROGRAMMING 5 - 7 5) Input/output variables on the programming AD_CH : VAR : ARRAY [0..7] OF BOOL : = {1,0,0,0,0,0,0,0} AD_INI : VAR : FB Instance AD_RD : VAR : FB Instance AVG_EN : VAR : ARRAY [0..7] OF BOOL : = {1,0,0,0,0,0,0,0} CH0_DATA : VAR : INT DATA : VAR : DINT DATATYPE : VAR :ARRAY [ 0.
Chapter 5. GM PROGRAMMING 5 - 8 5 .3 Programming for Loading the A/D Conversion Module on Remote I/O St a tion 1) System Configuration 2) Initial Settings (1) A/D conversion enabling channel: channel .
Chapter 5. GM PROGRAMMING 5 - 9 4) Programming example Execution condition and initial setting Execution request when the initializing function block is not operated It indicates on when operated normally, and off when operated abnormally or down from Live data of opposite station It indicates information on power - off state of opposite station.
Chapter 5. GM PROGRAMMING 5 - 10 5) Input/output variables used on the programming AD_CH : VAR : ARRAY [0..7] OF BOOL : = {0,0,0,0,0,0,0,0} AD_D ATA : VAR : ARRAY [0..7] OF INT AD_INI : VAR : FB Instance AD_RD : VAR : FB Instance AVG_EN : VAR : ARRAY [0.
Chapter 6 Buffer memory 6 - 1 6 Buffer memory The A/D module has buffer memory used for data exchange with CPU module. This chapter describes the configuration and contents of buffer memory.
Chapter 6 Buffer memory 6 - 2 6.1.2 G3F - AD3A / G4F - AD3A The buffer memory of G3F - AD3A and G4F - AD3A has same configuration. Address (decimal) Name Description Default value Remark 00 Channel en.
Chapter 6 Buffer memory 6 - 3 6.2 The Cont ents and description of buffer memory 6.2.1 G6F - AD2A 1) Channel enable (Address 00) - When the power is on, all bits are set as 0 (off) and all channels are disabled. - In order to enable a channel, set the corresponding bit as 1 (on).
Chapter 6 Buffer memory 6 - 4 3) Average processing enable (Address 02) - To use the average processing, set the corresponding bit as ‘ 1 ’ . - The default va lue is 0 (sampling processing).
Chapter 6 Buffer memory 6 - 5 6) Digital output value (Address 08 ~ 11) - The digital value converted from analog input value is stored at this area. - If an error occurs, the d igital output value keeps the previous value.
Chapter 6 Buffer memory 6 - 6 6.2.2 G3F - AD3A / G4F - AD3A 1) Channel enable (Address 00) - When the power is on, all bits are set as 0 (off) and all channels are disabled. - In order to enable a channel, set the corresponding bit as 1 (on). For example, turn on the bit 2 to enable the channel 2.
Chapter 6 Buffer memory 6 - 7 3) Average processing enable (Address 02) - To use the average processing, set the corresponding bit as ‘ 1 ’ . - The defaul t value is 0 (sampling processing).
Chapter 6 Buffer memory 6 - 8 6) Digital output value (Address 12 ~ 19) - The digital value converted from analog input value is stored at this area. - If an error occurs, the digital output value keeps the previous value.
Chapter 7 Buffer read/write instructi ons 7 - 1 7 Buffer read/write instructions 7.1 Buffer read instructions 7.1.1 GET / GETP instruction GET, GETP FUN(230) GET FUN(231) GETP Applicable CPU K200S K30.
Chapter 7 Buffer read/write instructi ons 7 - 2 - In the following cases, operation error occurs; a) Special function module is not founded at the slot number specified at ‘ n1 ’ b) The value of ‘ n2 ’ is greater than 512, or [ D + n2 ] is exceeds the range of specified device.
Chapter 7 Buffer read/write instructi ons 7 - 3 7.1.2 RGET instructions RGET FUN(232) RGET Applicable CPU K200S K300S K1000S Available devices Flag Instructions M P K L F T C S D #D Integer Steps Erro.
Chapter 7 Buffer read/write instructi ons 7 - 4 [ Remote station ] [ Self station ] Buffer memory of A/D module CPU module [ S ] [ D ] [ S+n2 - 1 ] ‘ n2 ’ words [ D+n2 - 1 ] ‘ n2 ’ w ords - Co.
Chapter 7 Buffer read/write instructi ons 7 - 5 2) Program example - Program that reads 8 wo rds, through the Fnet module mounted at the slot 03, from the address 11 of the buffer memory of the G3F - AD3A module mounted at the slot 01 of remote station h1D.
Chapter 7 Buffer read/write instructi ons 7 - 6 7.2 Buffer write instructions 7.2.1 PUT / PUTP instructions PUT, PUTP FUN(234) PUT FUN(235) PUTP Applicable CPU K200S K300S K1000S Available devices Fla.
Chapter 7 Buffer read/write instructi ons 7 - 7 - In the following cases, operation error occurs; a) Special function module is not founded at the slot number specified at ‘ n1 ’ b) Th e value of ‘ n2 ’ is greater than 512, or [ D + n2 ] is exceeds the range of specified device.
Chapter 7 Buffer read/write instructi ons 7 - 8 7.2.2 RPUT instructions RPUT FUN(233) RPUT Applicable CPU K200S K300S K1000S Available devices Flag Instructions M P K L F T C S D #D Integer Steps Erro.
Chapter 7 Buffer read/write instructi ons 7 - 9 [ Remote station ] [ Self station ] Buffer memory of A/D module CPU module [ D ] [ S ] [ D+n2 - 1 ] ‘ n2 ’ words [ S+n2 - 1 ] ‘ n2 ’ words - Cod.
Chapter 7 Buffer read/write instructi ons 7 - 10 2) Program example - Program that write 10 words, through the Fnet module mounted at the slot 02, from the D0200 ~ D0209 of self station to the address 11~20 of the buffer memory of the G3F - AD3A module mounted at the slot 02 of remote station h0E.
Chapter 7 Buffer read/write instructi ons 7 - 11 Remarks The structure of ‘ SS ’ (Link status) of RPUT/RGET instruction is as foll o wing; bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Bit 0 : Turns on during 1 scan after the commun ication is completed normally.
Chapter 8 MK Programming 8 - 1 8 MK Programming 8.1 Basic programming The following example program shows how to set the operation condition for buffer memory of A/D conversion module. In this example, assume that the A/D module is mounted on the slot 2.
Chapter 8 MK Programming 8 - 2 8.1.2 G3F - AD3A / G4F - AD3A PUT 0002 00000 h0019 00001 PUT 0002 00001 00000 00001 PUT 0002 00002 h0009 00001 PUT 0002 00003 00100 00001 PUT 0002 00006 00050 00001 PUT .
Chapter 8 MK Programming 8 - 3 8.2 Example programming 8.2.1 A program for comparison of A/D converted value 1) System configuration (A/D module is mounted on slot 0) 2) Initial setting for A/D module.
Chapter 8 MK Programming 8 - 4 4) Programming PUT 0000 00000 h0015 00001 PUT 0000 00001 00000 00001 PUT 00 00 00002 h0014 00001 PUT 0000 00005 00100 00001 PUT 0000 00007 00050 00001 PUT 0000 00011 000.
Chapter 8 MK Programming 8 - 5 8.2.2 Output the analog input value by 7 - segment display 1) System configuration (A/D module is mounted on slot 2) 2) Initial setting for A/D module No Item Setting Bu.
Chapter 8 MK Programming 8 - 6 4) Programming PUT 0002 00000 h0001 00001 PUT 0002 00001 00000 00001 PUT 0002 00002 h0001 00001 PUT 0002 00003 00010 00001 PUT 0002 00007 00001 00001 GET 0000 00008 D0008 00001 GET 0000 00013 D0013 00001 Slot number Buffer memory Data No.
Chapter 8 MK Programming 8 - 7 8.2.3 An A/D module mounted on a remote station 1) System configuration Fnet communication module on self - station : slot 2 Fnet remote module o f remote station : stat.
Chapter 8 MK Programming 8 - 8 4) Programming MOVP 00001 D0000 RPUT hC002 h0001 D0000 00000 00004 M000 Buffer memory Start address of data No. of words Channel to be used (use channel 0) Assign analog.
Chapter 9 Dimension 9 - 1 9 Dimension 9.1 G3F - AD3A Unit : mm.
Chapter 9 Dimension 9 - 2 9.2 G4F - AD3A Unit : mm.
Chapter 9 Dimension 9 - 3 9.3 G6F - AD2A Unit : mm.
Chapter 9 Dimension 9 - 4.
Een belangrijk punt na aankoop van elk apparaat LG Electronics G4F-AD3A (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen LG Electronics G4F-AD3A heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens LG Electronics G4F-AD3A vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding LG Electronics G4F-AD3A leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over LG Electronics G4F-AD3A krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van LG Electronics G4F-AD3A bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de LG Electronics G4F-AD3A kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met LG Electronics G4F-AD3A . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.