Download Print this page

LG G3F-AD4A User Manual

Programmable logic controller.
Hide thumbs

Advertisement

User's Manual
LG Programmable Logic Controller
G3F-AD4A
G3F-AD4B
G4F-AD2A
LG Industrial Systems

Advertisement

   Related Manuals for LG G3F-AD4A

   Summary of Contents for LG G3F-AD4A

  • Page 1

    User’s Manual LG Programmable Logic Controller G3F-AD4A G3F-AD4B G4F-AD2A LG Industrial Systems...

  • Page 2

    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 G3F-AD4A , G3F-AD4B and G4F-AD2A. For safety precautions on the PLC system, see the GLOFA GM3/4 CPU User’s Manuals and MASTER- K200S/300S/1000S CPU User’s Manuals.

  • Page 3

    Wiring Precautions CAUTION ▶ When grounding a FG terminal, 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 applied or wrong wiring is provided, it can cause a fire or disorder of the nodule.

  • Page 4: Table Of Contents

    ◎ CONTENTS ◎ Chapter 1. INTRODUCTION 1.1 Features · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·1-1 1.1.1 G3F - AD4A /G3F- AD4B ···································································...

  • Page 5

    · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·4-2 4.2.1 Module Initializ ation (G3F-AD4A: AD4I N I , G4F -AD2A: AD2I N I , G3F- AD4B: AD4BINI ) ················...

  • Page 6

    5.1 Programming for Distinction of A/D Conversion Value · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·5-1 5.2 Programming for Display of A/D Conversion Value and Error Code on BCD Display ·...

  • Page 7

    Chapter 10. DIMENSIONS 10.1 G3F-AD4A , G3F-AD4B Dimensions · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·...

  • Page 8: Features

    CPU module and the MASTER -K PLC K300S/1000S Series CPU module. The G4F-AD2A is used on GM4 series module and the K300S series module, and the G3F-AD4A and G3F -AD4B is used on the GM1/2/3 series module and the K1000S series module.

  • Page 9: Glossary

    Chapter 1. INTRODUCTION 1.2 Glossary Transducer [ Fig 1.1] Analog Value [Fig 1.2] Transducer 1.2.1 A-Analog Value Analog value is a sequentially changing value such as voltage, current, temperature, speed, pressure, flux, etc. Temperature, for example, is sequentially changing according to the time. Because this temperature is not input on the PLC through transducer, the same analog value of DC voltage (0 to ±...

  • Page 10: Analog/ Digital Conversion Characteristics

    Chapter 1. INTRODUCTION 1.2.3 Analog/ Digital Conversion Characteristics 1) Voltage input Input Voltage Input Voltage [Fig 1.5] A/D Conversion Characteristics (Voltage Input) Analog/digital conversion module allows external analog input to be converted to digital value and to be operated in the CPU. On voltage input, input of –10 V leads to digital value of 0 and 10 V to 16000. Input of 1.25 mV is equal to digital value of 1.

  • Page 11: Chapter 2. Specifications

    Chapter 2. SPECIFICATIONS Chapter 2 . SPECIFICATIONS 2.1 General Specifications Table 2.1 shows the general specifications of GLOFA GM series and MASTER-K series. Item Specifications Standard Operating ambient 0 ~ 55℃ temperature Storage ambient -25 ~ 70℃ temperature Operating ambient 5 ~ 95%RH, non-condensing humidity Storage ambient...

  • Page 12: Performance Specifications

    Chapter 2. SPECIFICATIONS 2.2 Performance Specifications Table 2-2 shows performance specifications of A/D conversion module. Specifications Items G3F-AD4A G4F-AD2A G3F-AD4B I/O points 16 points –5 ~ 5 VDC (input resistance 560㏀) 1 ~ 5 VDC Voltage –10 ~ 10 VDC (input resistance 560㏀) (input resistance 560㏀)

  • Page 13: Names Of Parts And Functions

    Chapter 2. SPECIFICATIONS 2.3 Names of Parts and Functions The names of parts and functions of the A/D conversion module are shown as below. 2.3.1 G3F-AD4A The names of parts and functions of the A/D conversion module are shown ②...

  • Page 14

    : Normal operation (2) Flicker : An error has occurred. (For more information, see the General Section 4.1) (3) Off : DC 5 V power-off or G3F-AD4A module fault. ② Offset Trimmer Used to make micro adjustment of an offset value.

  • Page 15: G4f- Ad2a

    : Normal operation. ° Input range select switch - Flicker : An error has occurred. - OFF : DC5V power-off or G3F-AD4A module fault. Switch Analog input Test mode: channel switch's range: 0 to 3 - Flicker(per 1.0sec) : No operation of offset/gain switch.

  • Page 16: G3f-ad4b

    Chapter 2. SPECIFICATIONS 2.3.3 G3F-AD4B G3F-AD4B ② 1~5V 4~20mA Description ← RUN LED Indicates the operating status of G3F-AD4B Selection switch of voltage/current ↑ 1) The switch status at voltage selection The switch locates OFF status. 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 2) The switch status at current selection The switch locates ON status.

  • Page 17: I/o Conversion Characteristics

    Input / Output (hereafter I/O) conversion characteristics are expressed by the angle of the line connecting the offset value and gain value used to convert the analog signals, input to the PLC into digital values. The I/O conversion characteristics of the A/D conversion module are shown as below. G3F-AD4A Practical analog input range Gain value...

  • Page 18: G3f-ad4a I/o Characteristics

    Chapter 2. SPECIFICATIONS 2.4.1 G3F-AD4A I/O Characteristics The G3F-AD4A allows voltage or current input to be selected per channel by the input select switch. Offset / gain setting is performed for 16 channels in block. 1) Voltage Input Characteristics For voltage input, the input select switch of each channel is set to "off".

  • Page 19

    Chapter 2. SPECIFICATIONS b) Range: -5 ~ 5 VDC -The analog input range switch has to be set upward (V1/ I) The way to set analog input range switch V1/ I (–5~5 VDC select) V2 (–10~10 VDC select) <The front side of the module> Digital Output Value...

  • Page 20: Current Input Characteristics

    Chapter 2. SPECIFICATIONS 2) Current Input Characteristics - For current input, the input select switch of each channel is set to "on". Analog input range switch has to be set upward (V1/ I). Input select switch position Analog input range switch position V1/ I (DC –20~20mA) (Current input disable) Digital...

  • Page 21: Simultaneous Voltage And Current Input Characteristics

    Chapter 2. SPECIFICATIONS 3) Simultaneous Voltage and Current Input Characteristics For simultaneous voltage and current input, the input conversion switch of each channel is set to corresponding voltage and current range. Analog input switch has to be set upward (V1/ I). Ex) Voltage input range: 0 to 7 Current input range: 8 to 15 Input select switch position...

  • Page 22: G4f-ad2a I/o Characteristics

    Chapter 2. SPECIFICATIONS 2.4.2 G4F-AD2A I/O Characteristics 1) Voltage Input Characteristics - The G4F-AD2A is capable of selecting voltage/current and adjusting offset/gain for each channel. - For voltage input, the input conversion switch may be set to the range such as from-10 to 10 VDC, or from -5 to 5 VDC.

  • Page 23

    Chapter 2. SPECIFICATIONS b) -5 ~ 5 VDC Position of input range switch Turn switch 1 off and switch 2 on. (On the left side of the module) Offset value : -5 V Gain value : 0 V Digital Offset value : 0V Output Gain value : 2.5 V Value...

  • Page 24: Current Input Characteristics

    Chapter 2. SPECIFICATIONS 2) Current Input Characteristics Offset value : -20 mA Gain value :0 mA Ex3 Offset value:4mA Digital Gain value:12mA Offset value : 0mA Output Gain value :10mA Value Offset value : 4mA Gain value :12mA -20mA 4mA 10mA 12mA 20mA Analog Input (Current) - When offset/gain setting is changed, digital output value to current input characteristics are shown as below.

  • Page 25: Simultaneous Voltage And Current Input Characteristics

    Chapter 2. SPECIFICATIONS 3) Simultaneous Voltage and Current Input Characteristics -When voltage and current are input simultaneously, the input range switch of the left side of the module has to be set to the range from -5 to 5 VDC. (Switch 1 turns Off, Switch 2 turns On ) Ex) Voltage input channel : 0, Current input channel : 1 Input range select switch...

  • Page 26

    Chapter 2. SPECIFICATIONS -When offset/gain setting is changed, digital output value to voltage/current input characteristics are shown as below. Analog input Digital Offset value Gain value Section output (Voltage (Voltage -5 V 2.5 V range / Current) / Current) - 20 mA 0 mA 4 mA 10 mA...

  • Page 27: G3f-ad4b I/o Characteristics

    Chapter 2. SPECIFICATIONS 2.4.3 G3F-AD4B I/O Characteristics ▶ I/O conversion characteristics are expressed by the angle of used to convert the analog signals(voltage or current input), input to the PLC into digital values as shown below ▶ A/D coversion module is possible to select voltage/current by analog input range select switch by channel but cannot change offset/gain value because it is set Practical analog input range 16000...

  • Page 28: Voltage Input Characteristics

    Chapter 2. SPECIFICATIONS 1) Voltage input characteristics( DC 1 ~5V) ▶ For voltage input, input variables IN_SEL of initial funtion block is set to “1” ▶ The position of voltage/current select switch is set to “off” by channel Voltage/Current select switch Channel no.

  • Page 29: Simultaneous Voltage And Current Input Characteristics

    Chapter 2. SPECIFICATIONS Simultaneous Voltage and Current Input Characteristics ▶ For the channel used to voltage input, input variable IN_SEL of initial funtion block is set to “1” by channel, and the position of voltage/current select switch is set to “off” ▶...

  • Page 30: The Connection Between Offset/gain Setting And Digital Output Value

    Chapter 2. SPECIFICATIONS 2.4.4 The connection between Offset/Gain Setting and Digital Output Value 1) Resolution Resolution is determined as below formulas. (1) Voltage input Gain value - Offset value Resolution = 5 1000 (mV) 8000 Ex) Gain value : 0 V Offset value : - 10 V 0 –...

  • Page 31: Offset / Gain Setting

    Chapter 2. SPECIFICATIONS 3) Offset / Gain Setting (1) Offset/gain setting of the G3F-AD4A a) Offset/gain sets procedure. : Offset/gain setting is performed for 16 channels in block. Select input range Setting input range switch and input select switch After making programs of...

  • Page 32

    Chapter 2. SPECIFICATIONS b) I/O characteristics in accordance with Offset/Gain setting Digital Output Value Digital Input Offset Gain Resolu output Analog input value (V) range value value tion range -192 5.000 5.00125 5.0025 5.00375 DC–1 1.25 ℵ 0~10V 5.00125 5.0025 5.00375 5.005 16191...

  • Page 33: Offset/gain Setting Of The G4f-ad2a

    Chapter 2. SPECIFICATIONS (2) Offset/Gain Setting of the G4F-AD2A a) Offset/gain Setting Procedure Set offset / gain values for each channel. Set the channel select switch for test mode to channel 0. Test mode : RUN LED flickering per 1sec After making used Write a program for the A/D conversion module to the memory of the channel program,...

  • Page 34

    Chapter 2. SPECIFICATIONS b) Input/output Characteristics According to Offset/Gain Setting Digital output value Digital Input Offset Gain Resolut output Analog input value (V) range value value range -192 5.000 5.00125 5.0025 5.00375 1.25 -10~ 10 V ℵ 5.00125 5.0025 5.00375 5.005 10 V 16191...

  • Page 35: A/d Conversion Characteristics

    : Filter constant(the range: 0.01 to 0.99) α Filter constants used here are 1 to 99. Ex1) G3F-AD4A/G4F-AD2A Offset value : –10 VDC, Gain Value : 0 VDC (Voltage input range : -10 ~ 10 VDC, Digital output range : -192 ~ 16191) When analog value is changed in the sequence like -10V, -5V, 0V, and 5V, filter output is shown as below.

  • Page 36: Sampling Processing (instantaneous Value)

    Chapter 2. SPECIFICATIONS 2.5.2 Sampling Processing (Instantaneous Value) This is general A/D conversion processing. In other words, analog input value is to be converted to digital value without average processing in direct. Sampling period for writing digital value to the memory is changed according to the number of used channels.

  • Page 37: Average Processing

    × conversion speed) } + 1] by raising the residue. Ex) Used channels: 4, Set time : 150 ms G3F-AD4A(G3F-AD4B) : 150÷(4×3) = 12 count + remain 6 13 count G4F-AD2A : 150÷(4×5) = 7 count + remain 10...

  • Page 38: Chapter 3. Installation And Wiring

    Chapter 3. INSTALLATION AND WIRING Chapter 3. INSTALLATION AND WIRING 3.1 Installation 3.1.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. 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.

  • Page 39: Wiring

    Chapter 3. INSTALLATION AND WIRING 3.2 Wiring 3.2.1 Wiring Precautions 1) Separate AC and external input signal of A/D conversion module wiring not to be affected by surge or induced noise in the AC. 2) External wiring has to be at least AWG22(0.3㎟) and be selected in consideration of operating ambience and/or allowable current.

  • Page 40: Wiring Examples

    Chapter 3. INSTALLATION AND WIRING 3.2.2 Wiring Examples G3F-AD4A Voltage Input Signal source –10 ~ 10 VDC Input select switch Input range switch (2) Current Input Signal source –20 ~ 20 mA Input select switch Input range switch *1 For the cable, use a two-core twisted shielded wire.

  • Page 41

    Chapter 3. INSTALLATION AND WIRING G4F-AD2A Voltage Input Signal source –10 ~ 10 VDC Input range switch Current Input Signal source –20 ~ 20 mA Input range switch *1 For the cable, use a two-core twisted shielded wire. *2 The SLD terminal and AGND terminal has to be connected. *3 When there is much noise, the SLD terminal and FG terminal has to be grounded.

  • Page 42

    Chapter 3. INSTALLATION AND WIRING G3F-AD4B Voltage Input CH 0 Voltage/Current select switch CH F (2) Current Input CH 0 Voltage/Current select switch CH F *1 For the cable, use a two-core twisted shielded wire. *2 When there is much noise, shielded wire has to be grounded *3 When there is much noise, the shielded wire and FG terminal has to be grounded.

  • Page 43: G4f-ad2a

    Chapter 4. FUNCTION BLOCK CHAPTER 4. FUNCTION BLOCK This shows function block for A/D conversion module on the GMWIN. A kind of function block is as follows. G3F-AD4A G4F-AD2A G3F-AD4B Function Local Remote Local Remote Local Remote AD4INI ADR4INI AD2INI...

  • Page 44: Local Function Block

    *note 1 : The number of array is G3F-AD4A of 16, G3F-AD4B of 16 and G4F-AD2A of 4 . *note 2 : The number of array is G3F-AD4A of 4, G3F -AD4B of 16 and G4F-AD2A of 4 . On the G3F -AD4A, the element number (0) is specified to channel 0, 1, 2, 3 in block, the element number (1) is specified to channel 4, 5, 6, 7, in block.

  • Page 45

    1 is written and, on the non-specified channel, 0 is written DATA [Array] A/D Conversion Value Output Area *note1 REMARK *note 1: The number of array is G3F-AD4A of 16, G3F-AD4B of 16 and G4F-AD2A of 4 , the element numbers means the channel ones. 4 - 3...

  • Page 46

    Chapter 4. FUNCTION BLOCK 4.2.3 Module Reading - Single Type : G3F-AD4B (G3F-AD4A : AD4RD, G4F-AD2A : AD2RD, : AD4BRD) Single type of function 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.

  • Page 47

    1 is written and, on the non-specified channel, 0 is written. REMARK *note 1 : The number of array is G3F-AD4A of 16, G3F-AD4B of 16 and G4F-AD2A of 4 . *note 2 : The number of array is G3F-AD4A of 4, G3F-AD4B of 16 and G4F-AD2A of 4.

  • Page 48: Module Reading (g3f- Ad4a: Adr4rd, G4f- Ad2a: Adr2rd, G3f- Ad4b: Adr4brd )

    1 is written and, on the non-specified channel, 0 is written. DATA [Array] A/D Conversion Value Output Area *note1 REMARK *note 1: The number of array is G3F-AD4A of 16, G3F-AD4B of 16 and G4F-AD2A of 4 , the element numbers means the channel ones. 4 - 6...

  • Page 49: Errors On Function Block

    Correct the value to the proper range Average number/time value exceeding (Number: 2 to 4,000 О the proper range Time: G3F-AD4A, G3F-AD4B 96 to 12,000(ms) G4F-AD2A 40 to 20,000(ms)) H/W error of the communication module See the manual for the remote communication О...

  • Page 50: Chapter 5. Gm Programming

    (3) The digital value more than 12,000 or same, and less than 13,600 or same of channel 4 turns %Q0.1.2 on. (4) The digital value of the same as 12,800 of channel 4 turns %Q0.1.3 on. 4) Programming (1) G3F-AD4A A) Precautions of the programming REMARK - In the Initial setting 1) At the part of (3), if channel 0 is enabled to the filter processing, channel 0 to 3 will be enabled to the filter processing in block.

  • Page 51

    Chapter 5. GM PROGRAMMING B) Programming Example Normal completion of execution condition A/D conve rsion reading Base location number Error code display in the processing Error code display in the Base location number specification of the read function block function block initialization specification Channel operation display in the Slot location number...

  • Page 52

    Chapter 5. GM PROGRAMMING C) Specifying initial value of input/output variables on the program. (a) Specifying channels Select this and this screen appears This denotes 16 channels Select this and this screen appears To select Channel No. previous Ch. To select next Ch.

  • Page 53

    Chapter 5. GM PROGRAMMING (b) Specifying filter enable/disable To specify G3F -AD4A channel 0,1,2, 3 in block To specify G3F -AD4A channel 4,5,6,7 in block To specify G3F -AD4A channel 8,9,10,11 in block To specify G3F -AD4A channel 12,13,14,15 in block Filter enable : 1 Filter disable : 0 To specify filter enable/disable...

  • Page 54

    (a) It is different only to input variable of initial function block (b) ※1 is used only to the G3F-AD4B (c) ※2,※3,※4,※5,※6 are filter and average processing function, it is processed 4 channel in block of the G3F-AD4A and is processed every channel of the G3F-AD4B Input G3F-AD4A...

  • Page 55

    Chapter 5. GM PROGRAMMING C) Programming Example AD_INI AD_RD READY AD4BINI AD4BARD START DONE DONE Line 0 Execution condition Normal compl e t i o n of A/D conversi o n readi n g Line 1 INI_STAT STAT BASE BASE STAT RD_STAT Base l o cat i o n number...

  • Page 56

    Chapter 5. GM PROGRAMMING 7.2 Programming for Display of A/D Conversion Value and Error Code on BCD Display 1) System Configuration Initial setting Digital conve rsion Digital conversion 2) Initial Settings (1) Available channel enabled : channel 0, (2) Time average processing specification: 100 ms (3) Data output type setting: -192 to 16191 (4) Analog input : current input(DC -20 to 20 mA) 3) Descriptions of the Program...

  • Page 57

    Chapter 5. GM PROGRAMMING 4) Programming A/D conversion read has Execution condition and been completed normally. Initial Setting Base location number Error code display in the Error code display in the processing Error code display in the Base location number specification processing of function of the reading function block...

  • Page 58

    Chapter 5. GM PROGRAMMING 5) Input/output variables on the programming Variable Name Var_Kind Data Type (AT Address) (Initial Value) AD_CH : VAR : ARRAY [0..15] OF BOOL : = {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} AD_INI : VAR : FB Instance AD_RD : VAR : FB Instance AVG_EN : VAR : ARRAY [0..3] OF BOOL...

  • Page 59

    Chapter 5. GM PROGRAMMING 7.3 Programming for Loading the A/D Conversion Module on Remote I /O Station 1) System Configuration Remote Station No. “1” 2) Initial Settings (1) A/D conversion enabling channel: channel 0 (2) Conversion data range: -192 to 16191 (3)Time average processing channel: channel 0(setting value: 1,000 ms) 3) Descriptions of the Program (1)The digital value less than 8000of channel 0 turns %Q0.1.0 on.

  • Page 60

    Chapter 5. GM PROGRAMMING 4) Programming example Execution condition Execution request when It indicates on when operated and initial setting initiali z ing function normally, and off when operated block is not operated abnormally or down from Live data of opposite station Slot location number of master Error data display in processing communication module...

  • Page 61

    Chapter 5. GM PROGRAMMING 5) Input/output variables used on the programming Variable Name Var_Kind Data Type (AT Address) (Initial Value) AD_CH : VAR : ARRAY [0..3] OF BOOL : = {0,0,0,0} AD_DATA : VAR : ARRAY [0..3] OF INT AD_INI : VAR : FB Instance AD_RD...

  • Page 62: Buffer Memory Configuration

    Chapter 6. BUFFER MEMORY CONFIGURATION AND FUNCTION Chapter 6. BUFFER MEMORY CONFIGURATION AND FUNCTION The A/D conversion module has a buffer memory for communication of data with the PLC CPU. 6.1 Buffer Memory Configuration 6.1.1 G3F-AD4A buffer memory Address Descriptions Detail descriptions...

  • Page 63

    Chapter 6. BUFFER MEMORY CONFIGURATION AND FUNCTION 6.1.2 G3F-AD4B buffer memory Address Descriptions Detail descriptions Non-initialization Remark (Decimal) Available channel specification Bit on(1):Channel enable, Bit off(0):Channel disable No allowance for use Input used specification Bit on(1):voltage input, Bit off(0):current input Set to the current input Set the data output type to 0 Data output type specification...

  • Page 64

    Chapter 6. BUFFER MEMORY CONFIGURATION AND FUNCTION Address Descriptions Detail descriptions Non-initialization Remark (Decimal) A/D Conversion value to channel 8 A/D Conversion value to channel 9 A/D Conversion value to channel 10 A/D Conversion value to channel 11 A/D Conversion value to channel 12 A/D Conversion value to channel 13 A/D Conversion value to channel 14 A/D Conversion value to channel 15...

  • Page 65

    Chapter 6. BUFFER MEMORY CONFIGURATION AND FUNCTION 6.1.3 G4F-AD2A buffer memory Address Descriptions Detail descriptions Non-initialization Remark (Decimal) Bit on(1) : Channel enable Available channel specification No allowance for use Bit off(0) : Channel disable Bit on(1) : -8192 to 8191 Set the data output type to -192 Data output type specific ation Bit off(0) : -192 to 16191...

  • Page 66: G3f - Ad4a

    ▶ Each address is composed of 16 Bit, and each Bit can be executed by specifying Bit on to 1 or Bit off to 0 6.2.1 Available Channel Specification Area (G3F-AD4A,G3F-AD4B: address 0, G4F-AD2A: address 0) 1) A/D conversion enable/ disable can be specified for every channel.

  • Page 67: Data O Utput Type Specification Area

    1) Digital data output type from analog input can be specified for every channel. 2) If output data type isn't specified, every channel will be set to the range of -192 to 19161 for the G3F-AD4A and the G4F- AD2A, and set to the range of 0 to 16000 for the G3F-AD4B.

  • Page 68: Filter C Onstant S Etting A Rea

    [Bit Off(0) : Sampling processing, Bit On(1) :Filter processing] 6.2.5 Filter Constant Setting Area (G3F-AD4A, G4F-AD2A: address 3 to 6, G3F-AD4B: address 4 to 19) 1) Filter constant setting can be specified to 4 channels of the G3F-AD4A, 1 channel of the G4F-AD2A and the G3F-AD4B.

  • Page 69: Average Processing Enable/ Disable Specification Area

    6.2.6 Average Processing Enable/ Disable Specification Area (G3F-AD4A: address7, G4F-AD2A : address 7, G3F -AD4B : address 20 ) 1) Average processing enable/disable can be specified to 4 channels of the G3F-AD4A, 1 channel of the G4F-AD2A and 1 channel of the G3F-AD4B 2) When average processing isn't specified, every channel get processed by sampling.

  • Page 70

    Chapter 6. BUFFER MEMORY CONFIGURATION AND FUNCTION 6.2.7 Number / Time Average Processing Setting Area (G3F-AD4A,G4F-AD2A: address 8, G3F-AD4B: address 21) 1) It depends on A/D conversion module channel whether average processing is followed to time or number. (G3F-AD4A for 4 channel in block, G4F-AD2A/G3F-AD4B for ev ery channel) 2) No specification of number/time average processing leads to number average processing.

  • Page 71: Average Number / Time Constant Setting Area

    Chapter 6. BUFFER MEMORY CONFIGURATION AND FUNCTION 6.2.8 Average Number / Time Constant Setting Area (G3F-AD4A, G4F-AD2A : address 9 to 12, G3F-AD4B : address 22 to 37) 1) Average number/time constant setting range is as follows. (1) Average number setting range: 2 to 4000 (count).

  • Page 72: Channel Operation Data Storage Area

    SET data specification [Bit Off (0): Disable, Bit On(1) :Enable] 6.2.10 Digital Output Area (G3F-AD4A : address 14 to 29, G4F-AD2A : address 14 to 17, G3F-AD4B : address 39 to 54) 1) Digital output value to analog input value through terminals is stored in this area.

  • Page 73

    Chapter 6. BUFFER MEMORY CONFIGURATION AND FUNCTION 2) When two types of error have occurred simultaneously, 17 and 16 are displayed in the order. 3) Error code display channel of each address is as follows. G3F-AD4A G4F-AD2A Address Specified channel...

  • Page 74: Chapter 7. Special Module Command (buffer Memory Read/ Write)

    Chapter 7. SPECIAL MODULE COMMAND (BUFFER MEMORY READ/WRITE) Chapter 7. SPECIAL MODULE COMMAND (BUFFER MEMORY READ/ WRITE) A/D conversion module occupies 16 I/O points. 7.1 Local Command 7.1.1 Buffer Memory Read - GET, GETP <Format> GET command execution condition GET n1 n2 Symbol Descriptions Device used...

  • Page 75

    Chapter 7. SPECIAL MODULE COMMAND (BUFFER MEMORY READ/WRITE) 7.1.2 Buffer Memory Write- PUT, PUTP PUT command <Format> execution condition Symbol Descriptions Device used Slot number assigned to special module Integer First address of the buffer memory of special module to Integer which data will be written.

  • Page 76: Remote Command

    REGT Symbol Descriptions Device used Upper(AB) : the code value of A/D Conversion module G3F-AD4A: 00h, G3F-AD4B: 0Ah G4F-AD2A: 80h Integer Lower (CD): the slot number of communication module upper lower (8 bit) (8 bit) of the master station.

  • Page 77: Buffer Memory Write -rput

    RPUT command execution condition RPUT Symbol Descriptions Device used Upper(AB): the code vale of A/Conversion module G3F-AD4A: 00h, G3F-AD4B: 0Ah G4F-AD2A: 80h Integer upper lower Lower (CD): the slot number of communication module (8 bit) (8 bit) of the master station.

  • Page 78

    - This shows the method of operation condition setting for buffer memory in the A/D conversion module. - The A/D conversion module is mounted on the slot 2. - A/D conversion module occupies 16 I/O points. 8.1.1 G3F-AD4A Buffer number...

  • Page 79

    Chapter 8. MK PROGRAMMING 8.1.2 G4F-AD2A buffer Buffer memory number Slot Setting address memory of word address data. slot number to write Set data The number of words to write [PUT 00002 00000 h000F 00001 Available channel specification (channel 0,1,2,3) Execution condition hexa decimal...

  • Page 80

    Chapter 8. MK PROGRAMMING 8.2 Application Programming 8.2.1 Programming for Distinction of A/D Conversion Value. 1) System Configuration GM3- K7P- G3F - G3Q- PA1A 30AS AD4A RY4A 2) Initial Settings Buffer The value of Item Initial setting Remark memory words to write address Available channel Channel 0,2,4...

  • Page 81

    Chapter 8. MK PROGRAMMING 4) Programming Example Buffer Setting memory number data address Slot number of words to write P0000 [PUT 00000 00000 h0015 00001 [PUT 00000 00001 00000 00001 [PUT 00000 00002 h0001 00001 [PUT 00000 00003 00050 00001 [PUT 00000 00007...

  • Page 82

    Chapter 8. MK PROGRAMMING 8.2.2 Programming for Display of A/D Conversion Value and Error Code on BCD Display. (1) System Configuration I/O Word P0001 Slot 3 P000 ~ P002 P003 P004 GM3 - K7P - G3I - G3Q - G3Q - G3F –...

  • Page 83

    Chapter 8. MK PROGRAMMING (4) Programming example P0000 Channel 0 enabled 00003 00000 00001 [PUTP h0001 Initial setting 00003 00001 00002 Input type setting to current input and [PUTP 00000 data out type setting to 0 to 16000 00003 00020 00002 [PUTP 00001...

  • Page 84: Programming For Loading The A/d Conversion Module On Remote I/o Station

    Chapter 8. MK PROGRAMMING 8.2.3 Programming for Loading the A/D Conversion Module on Remote I/O Station. (1) System Configuration Slot 0 GM4 - K4P - G4L - G4Q - G4I- G4I – PA1A 15AS FUEA RY2A TR2A D22A Remote Station No. “1” GM4 - G4L - G4F –...

  • Page 85

    Chapter 8. MK PROGRAMMING 4) Programming Example P0020 [ MOVP 00001 D0000 ] Initial setting command Specify channel 0 to enable channel [ MOVP 00000 D0001 ] The communication infornation The slot number of A/D conversion module The first address of device which stores data to write Code number of A/D conversion module Write the value stored on D0 and D1 onto the...

  • Page 86

    Chapter 9. TROUBLESHOOTING Chapter 9. TROUBLESHOOTING This section shows the descriptions of the error code and troubleshooting during use of the A/D conversion module. 9.1 Error Code 1.1 Error Code Indicated by RUN LED Flickering Errors occurring during RUN LED flickering are shown as below. RUN LED Descriptions Remarks...

  • Page 87

    Chapter 9. TROUBLESHOOTING 9.2 Troubleshooting 9.2.1 RUN LED Flickering RUN LED flickering G4F – AD2A only RUN LED flickering (per 0.1 sec)? The channel switch has been set to 0~ 3(Test mode). :Set the channel switch to 4~F(Normal mode) . RUN LED flickering (per 0.2sec)? Offset/gain setting has been at incorrect value area.

  • Page 88

    Chapter 9. TROUBLESHOOTING 9.2.3 Digital Value Unreadable from the CPU Module Digital value unreadable from CPU? Channel enabled for A/D conversion? Channel enabled for A/D conversion? See the available channel number and enable the correct channel. Cables connected without fault? See the Section 9.2.2 See the Section 9.2.6 9.2.4 Sudden Digital Value Change...

  • Page 89

    Chapter 9. TROUBLESHOOTING 9.2.5 Analog and Digital Value Mismatch Analog and digital value mismatch. Offset/gain setting at correct positions? Correct the offset / gain setting. Analog input switch setting in accordance with the analog input of the channels? See the correct setting positions and correct. Correct analog input wiring? See the Section 9.2.2 See the Section 9.2.6...

  • Page 90: G3f-ad4a , G3f-ad4b Dimensions

    Chapter 10. DIMENSIONS Chapter 10. DIMENSIONS 10.1 G3F-AD4A, G3F-AD4B Dimensions 10 - 1...

  • Page 91: G4f-ad2a Dimensions

    Chapter 10. DIMENSIONS 10.2 G4F-AD2A Dimensions 10 - 2...

This manual also for:

G3f-ad4b, G4f-ad2a

Comments to this Manuals

Symbols: 0
Latest comments: