Manual LG Electronics G4F-AD3A

78 pages 1.27 mb
Download

Go to site of 78

Summary
  • LG Electronics G4F-AD3A - page 1

    User ’ s Manual LG Programmable Logic Controller LG Industrial Systems G3F - AD3A G4F - AD3A G6F - AD2A ...

  • LG Electronics G4F-AD3A - page 2

    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. The precautions explained here only apply to the G3F - AD3A, G4F - AD3A, and G6F - AD2A. For safety precautions on the PLC sys tem, please see the MASTER - K 200S/300S/1000S User ’ s manual and ...

  • LG Electronics G4F-AD3A - page 3

    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. If a different power, not of the rated voltage, is applie d or wrong wiring is ...

  • LG Electronics G4F-AD3A - page 4

    ◎ CONTENTS ◎ Chapter 1. INTRODUCTION 1.1 Features · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ...

  • LG Electronics G4F-AD3A - page 5

    3.2 Wiring · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ...

  • LG Electronics G4F-AD3A - page 6

    Chapter 8 . MK Programming 8 .1 Basic Programming · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ...

  • LG Electronics G4F-AD3A - page 7

    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. The G3F - AD3A i s used w ith GM1 / 2 /3 series and K1000S series, G4F - AD 3A is used with GM4 series and K300S ...

  • LG Electronics G4F-AD3A - page 8

    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 . Because t his te mpe r a ture itself is not available for input of the PLC, the te m ...

  • LG Electronics G4F-AD3A - page 9

    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. T ...

  • LG Electronics G4F-AD3A - page 10

    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.0025VDC. Figure 1 . 4 A/D conversion ch a racteristic ( 0 ~ 10VDC ) 3) – 10 ...

  • LG Electronics G4F-AD3A - page 11

    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. Therefo re, the resolution of the A/D modu le is obtained by following equation; 1) 4 ~ 20mA rang ...

  • LG Electronics G4F-AD3A - page 12

    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 temperature 0 ~ 55 ℃ Storage ambient temperature - 25 ~ 7 0 ℃ O perating ambient humidity 5 ~ 95%RH, non - condensing Storage ambient Humidity 5 ~ 95%RH, ...

  • LG Electronics G4F-AD3A - page 13

    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 Voltage 1 ~ 5 VDC (input resistance 600 ㏀ ) 0 ~ 10 VDC (input resistance 600 ㏀ ) Current DC 4 ~ 20 mA (input resistance 250 Ω ) Analog input Volt ...

  • LG Electronics G4F-AD3A - page 14

    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 resistance 1 ㏁ ) Current DC4 ~ 20 mA (input resistance 250 Ω ) Analog input Voltage/Current selection - Selection with Terminal ( It has to be connected be ...

  • LG Electronics G4F-AD3A - page 15

    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 ...

  • LG Electronics G4F-AD3A - page 16

    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. 2)The switch statues at current selection The switch locates on status On 1 2 3 4 5 6 7 8 On 1 2 ...

  • LG Electronics G4F-AD3A - page 17

    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 Selection Switch DC 1~5V DC 0~10V Voltage DC - 1 0~10V Current DC 4~20mA 1 2 3 J1 J2 1 2 3 J1 J2 1 2 3 J1 J2 1 2 3 J1 J2 ...

  • LG Electronics G4F-AD3A - page 18

    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.1, and I/O conversion characteristics of the G6F - AD2A is expre ...

  • LG Electronics G4F-AD3A - page 19

    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. 2.4.1 Voltage Input Characteristics 1) G3F - AD3A, G4F - AD3A For voltage input, the co ...

  • LG Electronics G4F-AD3A - page 20

    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.952 1 2 3 4 5 5.048 Digital output value - 48 0 1000 2000 3000 4000 4047 2) G6F - A D2A For voltage input, the corresponding input is selected by selection switch and selected input voltage range ...

  • LG Electronics G4F-AD3A - page 21

    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. Analog input current( ㎃ ) 3.808 4 8 12 16 20 20.192 Digital output value - 4 ...

  • LG Electronics G4F-AD3A - page 22

    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. E x) V oltage input range: 0 to 3 C urrent input range: 4 to 7 - Digital outp ut valu ...

  • LG Electronics G4F-AD3A - page 23

    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.0075 5.0075 ~ 5.010 ℑ DC 1~5V 1mV 3.000 ~ 3.001 3.001 ~ 3.002 3.002 ~ 3.003 3.003 ~ 3.004 3.00 ...

  • LG Electronics G4F-AD3A - page 24

    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. As the A/D module scans each channel, the value appearing at the inst ...

  • LG Electronics G4F-AD3A - page 25

    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. 1) Ambiance requirements Avoid instal ...

  • LG Electronics G4F-AD3A - page 26

    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. ③ Separa te wi ...

  • LG Electronics G4F-AD3A - page 27

    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. R CH7 CH0 Voltage/current sel ection switch *1 *2 R *1 R R R R R Voltage range selection switch R *1 *1 *2 R CH7 CH0 Voltage/current s ...

  • LG Electronics G4F-AD3A - page 28

    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. Function Block is inserted on the execution of the GMWIN according to following ...

  • LG Electronics G4F-AD3A - page 29

    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 . F unction b ...

  • LG Electronics G4F-AD3A - page 30

    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 . F unction block I/O Varia ble Data type Descriptions R ...

  • LG Electronics G4F-AD3A - page 31

    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. Function block I/O Variable Data type Descriptions ...

  • LG Electronics G4F-AD3A - page 32

    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. F unction block I/O Variable Data type Descriptions REQ B ...

  • LG Electronics G4F-AD3A - page 33

    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 number of the slot on which the communi cation module of A/D conversion module of the master station is mount ed, the address number of communication m ...

  • LG Electronics G4F-AD3A - page 34

    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 conversion module of the mast er station is mount ed, the address number of communication module which a remote I/O station has, the base location number, and ...

  • LG Electronics G4F-AD3A - page 35

    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. F unction block I/O Variable Dat a type Descriptions REQ BOOL Function Block E ...

  • LG Electronics G4F-AD3A - page 36

    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. F unction block I/O Variable Data type Descriptions REQ BOOL Function Block Execution Request Area - The executi ...

  • LG Electronics G4F-AD3A - page 37

    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. Local /Remote Descriptions Initiali - za tion Array type Single type Resolutions 0 Operating with no fault О О О - 1 The base location number is e xceeding the proper setting range О О О Corre ...

  • LG Electronics G4F-AD3A - page 38

    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) Initial Setting s (1) Available channel enable : channel 0, 2, 3 (2) Analog i nput : current input(DC 4 ~ 20 mA) (3) Average processing setting : chan ...

  • LG Electronics G4F-AD3A - page 39

    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_STAT STAT RD_ACT ACT DATA DATA ROW 0 0 BASE START LT EN OUT OUT IN2 IN2 2000 GT EN ENO DATA[2] IN1 OUT IN2 IN2 3600 DATA[0] IN1 EQ EN ENO OUT IN2 IN2 2 ...

  • LG Electronics G4F-AD3A - page 40

    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. To select next Ch. Enabled channel : 1 Disabled channel : ...

  • LG Electronics G4F-AD3A - page 41

    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..7] OF USINT : = { 0,0,100,50,0,0,0,0 } DATA : VAR : ARRAY [0..7] OF INT DATA ...

  • LG Electronics G4F-AD3A - page 42

    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 - AD3A 2) Initial Se t tings (1) Available channel enabled : channel 0, (2) Analog input : current i n put(DC 4 to 20 mA) (3) Average processing sett ...

  • LG Electronics G4F-AD3A - page 43

    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.0.1 INT_TO_BCD EN ENO OUT CH0_DATA IN1 %QW0.1.0 USINT_TO_ BCD EN ENO OUT RD_STAT ...

  • LG Electronics G4F-AD3A - page 44

    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..7] OF BOOL : = {0,0,0,0,0,0,0,0} INI_AC ...

  • LG Electronics G4F-AD3A - page 45

    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 0 (2) Conversion data range: DC 4~20mA (3) A verage processing setting : channel 0(setting value: 50 times ) 3) Descriptions of the Program ( 1)The di ...

  • LG Electronics G4F-AD3A - page 46

    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. I ...

  • LG Electronics G4F-AD3A - page 47

    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..7] OF BOOL : = {1,0,0,0,0,0,0,0} AV G_SEL : VAR : ARRAY [0..7] OF BOOL : = {1,0,0,0,0,0,0,0} IN ...

  • LG Electronics G4F-AD3A - page 48

    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. 6.1 The configuration of buffer memory 6.1.1 G6F - AD2A Address (decimal) Name Description Default value Remark 00 Channel enable Enable / disable channel oper ...

  • LG Electronics G4F-AD3A - page 49

    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 enable Enable / disable channel operation h00 R / W 01 Input voltage / current type Assign the type of analo g input voltage / current h00 R / W 02 Aver ...

  • LG Electronics G4F-AD3A - page 50

    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). For example, turn on the bi t 2 to enable the channel 2. - Because th ...

  • LG Electronics G4F-AD3A - page 51

    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). bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 – – – – – – – – – – – – Ch3 Ch2 Ch1 Ch0 4) Av ...

  • LG Electronics G4F-AD3A - page 52

    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. Address Description 08 The digital output value of channel 0 09 The digital output value of channel 1 10 The digital output va ...

  • LG Electronics G4F-AD3A - page 53

    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. - Because the conversion time depends on the number ...

  • LG Electronics G4F-AD3A - page 54

    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). bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 – – – – – – – – Ch7 Ch6 Ch5 Ch4 Ch3 Ch2 Ch1 Ch0 4) Av ...

  • LG Electronics G4F-AD3A - page 55

    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. Address Description 12 The digital output value of channel 0 13 The digital output value of channel 1 14 The digital output val ...

  • LG Electronics G4F-AD3A - page 56

    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 K300S K1000S Available devices Flag Instructions M P K L F T C S D #D Integer Steps Error (F110) Zero (F111 ) Carry (F112) n1 ¡ S ¡ D ¡ ¡ ¡ ¡ * ¡ ...

  • LG Electronics G4F-AD3A - page 57

    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. - Execu tion conditions Input condition GET GETP 2) Program exa ...

  • LG Electronics G4F-AD3A - page 58

    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 Error (F110) Zero (F111) Carry (F112) sl ¡ st ¡ D ¡ ¡ ¡ ¡ * ¡ ¡ ¡ ¡ S ¡ n ¡ ¡ RGET SS ¡ ¡ ¡ ¡ * ¡ ¡ ¡ ¡ 13 ¡ Operand setting Upper b ...

  • LG Electronics G4F-AD3A - page 59

    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 - Code of remote special function modules are as followings; Module Code G3F - AD3A h40 G4F - AD3A hC0 G6F - AD2A h02 ( For the codes of other special fun ...

  • LG Electronics G4F-AD3A - page 60

    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. Then, stores the read data to the 8 words which begin with D0300 of self - station. The link ...

  • LG Electronics G4F-AD3A - page 61

    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 Flag Instru ctions M P K L F T C S D #D Integer Steps Error (F110) Zero (F111) Carry (F112) n1 ¡ S ¡ D ¡ ¡ ¡ ¡ * ¡ ¡ ¡ ¡ PUT PUTP n2 ¡ 9 ¡ Op ...

  • LG Electronics G4F-AD3A - page 62

    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. - Execution conditions Input condition PUT PUTP 2) Program exa ...

  • LG Electronics G4F-AD3A - page 63

    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 Error (F110) Zero (F111) Carry (F112) sl ¡ st ¡ S ¡ D ¡ ¡ ¡ ¡ * ¡ ¡ ¡ ¡ n ¡ ¡ RPUT SS ¡ ¡ ¡ ¡ * ¡ ¡ ¡ ¡ 13 ¡ Operand setting Upper b ...

  • LG Electronics G4F-AD3A - page 64

    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 - Code of remote special function modules are as followings; Module Code G3F - AD3A h40 G4 F - AD3A hC0 G6F - AD2A h02 ( For the codes of other special fun ...

  • LG Electronics G4F-AD3A - page 65

    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. The link status will be stored at M020 of self stat ...

  • LG Electronics G4F-AD3A - page 66

    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. Bit 1 : Turns on during 1 scan after a com ...

  • LG Electronics G4F-AD3A - page 67

    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. 8.1.1 G6F - AD2A PUT 0002 00000 h000B 00001 PUT 0002 00001 00000 00001 PUT 0002 00002 h0009 000 ...

  • LG Electronics G4F-AD3A - page 68

    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 0002 00011 00001 00001 GET 0002 00012 D0112 00001 GET 0002 00015 D0115 00001 GET 0002 00016 D0116 00001 GET 0002 00020 D0120 00001 GET 0002 00021 D012 ...

  • LG Electronics G4F-AD3A - page 69

    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 No Item Setting Buffer memory address Data to be written 1 Channel to be used Ch 0, 2, 4 0 h0015 2 Analog input type and range DC4~20mA 1 h0000 3 Ave ...

  • LG Electronics G4F-AD3A - page 70

    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 00001 00001 GET 0000 00012 D0012 00001 GET 0000 00014 D0014 00001 GET 0000 00016 D0016 00001 GET 0000 00021 D0021 00001 GET 0000 0002 3 D0023 00001 GET 0 ...

  • LG Electronics G4F-AD3A - page 71

    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 Buffer memory address Data to be written 1 Channel to be used Ch 0 0 h0001 2 Analog input type and range DC4~20mA 1 h0000 3 Averaging processing enable ...

  • LG Electronics G4F-AD3A - page 72

    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. of words Channel to be used (use channel 0) Assign digital output range ( - 48 ~ ...

  • LG Electronics G4F-AD3A - page 73

    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 : station number 01 A/D module of remote station : slot 0, remote code = hC0 2) Initial setting of A/D module No Item Setting Buffer memory address Data to ...

  • LG Electronics G4F-AD3A - page 74

    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 input range (0 ~ 10 VDC) Assign average processing channel (channel 0) Set Averaging count of channel 0 (10 times) Send the setting data to the remot ...

  • LG Electronics G4F-AD3A - page 75

    Chapter 9 Dimension 9 - 1 9 Dimension 9.1 G3F - AD3A Unit : mm ...

  • LG Electronics G4F-AD3A - page 76

    Chapter 9 Dimension 9 - 2 9.2 G4F - AD3A Unit : mm ...

  • LG Electronics G4F-AD3A - page 77

    Chapter 9 Dimension 9 - 3 9.3 G6F - AD2A Unit : mm ...

  • LG Electronics G4F-AD3A - page 78

    Chapter 9 Dimension 9 - 4 ...

Manufacturer LG Electronics Category Network Card

Documents that we receive from a manufacturer of a LG Electronics G4F-AD3A can be divided into several groups. They are, among others:
- LG Electronics technical drawings
- G4F-AD3A manuals
- LG Electronics product data sheets
- information booklets
- or energy labels LG Electronics G4F-AD3A
All of them are important, but the most important information from the point of view of use of the device are in the user manual LG Electronics G4F-AD3A.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals LG Electronics G4F-AD3A, service manual, brief instructions and user manuals LG Electronics G4F-AD3A. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product LG Electronics G4F-AD3A.

A complete manual for the device LG Electronics G4F-AD3A, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use LG Electronics G4F-AD3A by users. Manuals are usually written by a technical writer, but in a language understandable to all users of LG Electronics G4F-AD3A.

A complete LG Electronics manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual LG Electronics G4F-AD3A - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the LG Electronics G4F-AD3A, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the LG Electronics G4F-AD3A, that we can find in the current document
3. Tips how to use the basic functions of the device LG Electronics G4F-AD3A - which should help us in our first steps of using LG Electronics G4F-AD3A
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with LG Electronics G4F-AD3A
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of LG Electronics G4F-AD3A in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning LG Electronics G4F-AD3A?

Use the form below

If you did not solve your problem by using a manual LG Electronics G4F-AD3A, ask a question using the form below. If a user had a similar problem with LG Electronics G4F-AD3A it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)