LG G3F-AD3A User manual

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.
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 the GLOFA GM3/4/6 User’smanual.
A precaution is given with a hazard alert triangular symbol to call your attention, and precautions
are represented as follows according to the degree of hazard.
However, a precaution followed with can also result in serious conditions.
Both of two symbols indicate that an important content is mentioned, therefore, be sure to
observe it.
Keep this manual handy for your quick reference in necessary.
If not provided with proper prevention, it can cause death
or fatal injury or considerable loss of property.
If not properly observed, it can cause a hazard situation
to result in severe or slight injury or a loss of property.
WARNING
CAUTION
CAUTION
Safety Precautions
Design Precautions
Do not run I/O signal lines near to high
voltage line or power line. Separate
them as 100mm or more as possible.
Otherwise, noi
se can cause module
malfunction.
CAUTION
Installation Precautions
Operate the PLC in the environment
conditions given in the general
specifications
If operation in other environment not
specified, it can cause an electric shock,
a fire, malfunction or damage or
degradation of the module.
Make sure the module fixing projections
is inserted into the module fixing hole
and fixed.
Improper installation of the module can
causemalfunction,disorderorfalling.
CAUTION

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
applied or wrong wiring is provided, it can cause a fire or disorder of the module.
Fasten the terminal screws firmly to the defined torque. If loosely fasten, it can cause
short circuit, a fire or malfunction.
Be careful that any foreign matter like wire scraps
should not enter into the module. It can
cause a fire, disorder or malfunction.
CAUTION
Test Run and Maintenance Precautions
Do not contact the terminals while the
power is applied. It can cause
malfunction.
When cleaning or driving a terminal
screw, perform them after the power
has been turned off.
Do not perform works while the power
is applied, which can cause disorder
or malfunction.
CAUTION
Do not separate
the module from the
printed circuit board (PCB), or remodel
the module. Th
ey can cause disorder,
malfunction, damage of the module or a
fire.
When mounting or dismounting the
module, perform them after the power
has been turned off.
WARNING
Waste Disposal Precautions
When disposing the module, do it as anindustrial waste.
CAUTION

◎
CONTENTS
◎
Chapter1. INTRODUCTION
1.1 Features·································································································································································1-1
1.2 Terminology··························································································································································1-2
1.2.1 Analog Value:A ··················································································································································1-2
1.2.2 Digital Value: D···················································································································································1-2
1.3 Analog to Digital Conversion Characteristics ····················································································1-3
1.3.1 Voltage input························································································································································1-3
1.3.2 Current input························································································································································1-5
Chapter2. SPECIFICATIONS
2.1 General Specifications ··································································································································2-1
2.2 Performance Specifications ·······················································································································2-2
2.3 Names of Parts and Functions ··················································································································2-4
2.3.1 G3F-AD3A·························································································································································2-4
2.3.2 G4F-AD3A·························································································································································2-5
2.3.3 G6F-AD2A·························································································································································2-6
2.4 I/O Conversion Characteristics ·················································································································2-7
2.4.1 Voltage Input Characteristics ··························································································································2-8
2.4.2 Current Input Characteristics ··························································································································2-10
2.4.3 Simultaneous Voltage and Current Input Characteristics ················································································2-11
2.4.4Analog input and Digital output characteristics ·······························································································2-12
2.5 Processing Specification······························································································································2-13
2.5.1 Sampling processingA/D conversion system···································································································2-13
2.5.2Averaging processing A/D conversion system ·································································································2-13
Chapter3. INSTALLATIONANDWIRING
3.1 Installation ··························································································································································3-1
3.1.1 Installation Ambience··········································································································································3-1
3.1.2 Handling Precautions ········································································································································3-1

3.2 Wiring ···································································································································································3-2
3.2.1 WiringPrecautions ············································································································································3-2
3.2.2 Wiring Examples ···············································································································································3-2
Chapter4.FUNCTIONBLOCK
4.1 Registration of theFunction Block for the A/DConversion ModuleontheGMWIN ·········4-1
4.2 Function Block for Local································································································································4-2
4.2.1 ModuleInitialization ···········································································································································4-2
4.2.2 Module Reading -Array Type ···························································································································4-4
4.2.3 Module Reading -Single Type····························································································································4-5
4.3 Remote Function Block ································································································································4-6
4.3.1 ModuleInitialization ···········································································································································4-6
4.3.2 Module Reading ··················································································································································4-8
4.4 Errors onFunction Block ··························································································································4-10
Chapter5.GM PROGRAMMING
5.1 Programming for Distinction of A/DConversion Value····································································5-1
5.2 Programming for Display of A/DConversion Value and Error Code on BCD Display...·····5-5
5.3 Programming for Loading the A/DConversion Module onRemoteI/O Station ··················5-8
Chapter6.Buffer Memory
6.1 The configuration of buffer memory·········································································································6-1
6.1.1G6F-AD2A···························································································································································6-1
6.1.2 G3F-AD3A / G4F-AD3A······································································································································6-2
6.2 The contents and description of buffer memory·················································································6-3
6.2.1 G6F-AD2A···························································································································································6-3
6.2.2 G3F-AD3A / G4F-AD3A······································································································································6-8
Chapter7.Buffer read/write instructions
7.1 Buffer read instructions··································································································································7-1
7.1.1 GET/GETP instruction·········································································································································7-1
7.1.2 RGET instruction·················································································································································7-3
7.2 Buffer write instructuins·································································································································7-6
7.2.1 PUT/PUTP instruction·········································································································································7-6
7.2.2 RPUT instruction·················································································································································7-8

Chapter8.MKProgramming
8.1 Basic Programming ········································································································································8-1
8.1.1 G6F-AD2A ·························································································································································8-1
8.1.2 G3F-AD3A / G4F-AD3A ····································································································································8-2
8.2 Example Programming ·································································································································8-3
8.2.1 A program for comparision of A/D conversion value ························································································8-3
8.2.2 Output the analog input value by 7-segment display ·······················································································8-5
8.2.3 An A/D module mounted on a remote station·····································································································8-7
Chapter9.DIMENSIONS
9.1 G3F-AD3A Dimensions ·································································································································9-1
9.2 G4F-AD3A Dimensions ·································································································································9-2
9.3G6F-AD2A Dimensions ·································································································································9-3

Chapter 1 Introduction
1-1
1Introduction
The G3F-AD3A, G4F-AD3A, and G6F-AD2A modules are analog-to -digital 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 is used with GM1/2/3 series and K1000S
series, G4F-AD3A is used with GM4 series and K300S series, and G6F-AD2A is used
with GM6 series and K200S series. (Hereafter the G3F-AD3A, G4F-AD3A, and G6F-
AD2A modules are called as the A/D conversion module)
The A/D conversion module is to convert an analog input sig nal (voltage or current) from
external devices into a 12-bit signed binary digital value.
1.1 Features
1) Multi-channel analog to digital conversion is possible with a single A/D module.
-G6F-AD2A : 4 channels
-G4F-AD3A and G3F-AD3A : 8 channels
2) The select of voltage input or current input is possible by channel of A/D module.
3) The unlimited number of A/D modules can be mounted on a base board.
The maximum number of A/D modules depends on the power capacity of power supply
module.( In case of use to the G6F-AD2A withG6F-DA2V and G6F-DA2I, it is depends
on the power capacity of the GM6-PAFB)

Chapter 1 Introduction
1-2
1.2 Terminology
1.2.1 Analog value : A
Analog value is a continuously changing value such as voltage, current, temperature,
speed pressure, flux, etc. Temperature, for example, is continuously changing according
to the time. Because this temperature itself is not available for input of the PLC, the
temperatureshould be converted an analog electrical signal by transducer. Moreover, the
converted analog signal (voltage or current) has to be converted into a digital value with
the A/D module because the PLC can handle only digital values.
Figure 1.1Analog value
1.2.2 Digital value : D
Digital value is adiscrete data that are described in numbers such as 0, 1, 2, …In
general, a binary code system that are consist of 0(off) and 1(on) is used for expressing
digital value. Also, BCD or hexadecimal values are used.
Because the CPU module of PLC can handle dig ital value only, the analog signal from
external devices should be converted into analog signals with A/D module.
In the other hand, the digital output of CPU module should be converted into analog
signal to be used for external devices. The D/A module (digital-analog converter) is used
for converting digital values into analog output (voltage or current).
Figure 1.2Digital value
time
value
time
value

Chapter 1 Introduction
1-3
1.3 Analog-to-Digital conversion characteristics
1.3.1 Voltage input
The A/D module converts the analog input from external devices to the digital value that
can be handled by CPU module.
When the analog input is voltage input, the K4F-AD3A and K7F-AD3A has two input
ranges such as 1 ~ 5VDC and 0 ~ 10VDC. The K3F-AD2A has three input range such as
1 ~ 5VDC, 0 ~ 10VDC, and –10 ~ 10VDC.
With all analog input range, the digital output is varied in the range of 0 ~ 4000. Therefore,
the resolution of the A/D module is obtained by following equation;
1) 1 ~ 5VDC range
When the A/D module operates with 1 ~ 5VDC range, the 1VDC analog input is
converted to digital 0, and the 5VDC analog input is converted into digital output 4000.
Therefore, the resolution per 1 digital value is 0.001VDC.
Figure 1.3A/D conversion characteristics ( 1 ~ 5VDC )
2000
2001
2002
1998
1999
3.000V
3.001V
2.999V
3.002V
2.998V
4000
2000
03V
5V
Analog input voltage
Digital output value
1V
4000 voltageinputMinimumvoltageinputMaximum
moduleA/DofResolution −
=

Chapter 1 Introduction
1-4
2) 0 ~ 10VDC range
When the A/D module operates with 0 ~ 10VDC range, the 0VDC analog input is
converted to digital 0, and the 10VDC analog input is converted into digital output 4000.
Therefore, the resolution per 1 digital value is 0.0025VDC.
Figure 1.4A/Dconversioncharacteristic ( 0 ~ 10VDC )
3) –10 ~ 10VDC range
When the A/D module operates with –10 ~ 10VDC range, the 10VDC analog input is
converted to digital 0, and the10VDC analog input is converted into digital output 4000.
Therefore, the resolution per 1 digital value is 0.005VDC.
Figure1.5A/D conversion characteristic (-10 ~ 10VDC )
2000
2001
2002
1998
1999
5.000V
5.0025V4.9975V
5.005V
4.995V
4000
2000
05V
10V
Analog input voltage
Digital output value
0V
2000
2001
2002
1998
1999
0.000V
0.005V
-0.005V
0.010V
-0.010V
4000
2000
00V
10V
Analog input voltage
Digital output value
-10V

Chapter 1 Introduction
1-5
1.3.2 Current input
When the analog input is current input, the A/D conversion module has only one input
ranges such as 4 ~ 20mA.
With all analog input range, the digital output is varied in the range of 0 ~ 4000. Therefo re,
the resolution of the A/D module is obtained by following equation;
1) 4 ~ 20mA range
When the A/D module operates with 4 ~ 20mA range, the 4mA analog input is converted
to digital 0, and the 20mA analog input is converted into digital output 4000. Therefore,
the resolution per 1 digital value is 0.004mA.
Figure 1.6A/D conversion characteristic ( 4 ~ 20mA )
4000 currentinputMinimumcurrentinputMaximum
moduleA/DofResolution −
=
2000
2001
2002
1998
1999
12.000mA
12.004mA
11.996mA
12.008mA
11.992mA
4000
2000
012mA 20mA
Analog input current
Digital output value
4mA

Chapter 2. SPECIFICATIONS
2 -1
Chapter 2.SPECIFICATIONS
Table2.1showsthe general specifications of GLOFA GM series and MASTER-Kseries.
Item SpecificationsStandard
Operatingambient
temperature
0 ~55℃
Storage ambient
temperature -25 ~70℃
Operating ambient
humidity
5~95%RH, non-condensing
Storage ambient
Humidity 5~95%RH, non-condensing
In case of occasional vibration Sweep count
Frequency Acceleration Amplitude
10
≤
f
∠
57 Hz
-0.075 mm
57
≤
f
≤
150 Hz
9.8
㎨
(1G)
-
In case of continuosvibration
Frequency Acceleration Amplitude
10
≤
f
∠
57 Hz
-0.035 mm
Vibration
57
≤
f
≤
150 Hz
4.9
㎨
(0.5G)
-
10 times ineach
direction for
X, Y, Z
IEC 61131-2
Shocks*Maximum shock acceleration:147㎨{15G}
*Duration time :11 ms
*Pulse wave: half sine wave pulse( 3 times in each of X, Yand Z directions ) IEC 61131-2
Square wave impulse noise ±1,500V LGIS
Standard
Electrostaticdischarge Voltage :4kV(contact discharge) IEC 61131-2
IEC1000-4-2
Radiated electromagnetic field 27 ~500 MHz, 10 V/m
IEC 61131-2
IEC1000-4-3
Modules
All power
modulesDigitalI/Os
( Ue≥24V)
DigitalI/Os
(Ue <24V)
AnalogI/Os
communication
I/Os
Noiseimmunity
Fast transient
&
burst noise
Voltage 2kV 1kV 0.25 kV
IEC 61131-2
IEC1000-4-4
Operating atmosphere Free from corrosive gases and excessive dust
Altitude for use Up to2,000m
Pollutiondegree 2or lower
Cooling method Self-cooling
[Table 2.1 ] General specifications
REMARK
1) IEC(InternationalElectrotechnical Commission)
:The international civilian organization which produces standards for electrical and electronics industry.
2) Pollutiondegree
:It indicates a standard of operating ambient pollution level.
Thepollution degree2meanstheconditioninwhich normally, only non-conductive pollution occurs.
Occasionally, however, a temporary conductivity caused by condensation shall be expected.
2.1 General Specifications

Chapter 2. SPECIFICATIONS
2 -2
Table2-2 shows performance specifications of A/D conversion module.
1)G3F-AD3A, G4F-AD3A
Specifications
ItemsG3F-AD3AG4F-AD3A
I/O points 16 points
Voltage 1 ~ 5 VDC (inputresistance 600㏀)
0 ~ 10 VDC (input resistance 600㏀)
Current DC 4 ~ 20 mA(input resistance 250Ω)
Analog
input
Voltage/Current selection -Adjust input selection switch for each channel on side of module.
( ON : Current, OFF : Voltage)
-Selection of voltage range by program
Digitaloutput -16 bit binary value
1~5VDC 1mV(1/4000)
0 ~10VDC 2.5mV(1/4000)
Maximum
resolution
DC 4~20mA 4㎂(1/4000)
Overall Accuracy ±0.5% (accuracy to full scale)
Max .conversion speed 5.0 ms/channel
Max . absolute input Voltage : 15V, Current :25mA
Number of analog input point 8channels/module
Isolation Between input terminals and PLC: Photo coupler isolation
(Between channels : Non-isolated)
Terminals connected 20-point terminal block
Internal current consumption 0.5 A0.5A
Weight 310 280
[Table 2.2] Performance Specifications
CAUTION
The manufacturersetvalue ofA/Dconversionmodulehasbeen current input mode.
2.2 Performance Specifications
!

Chapter 2. SPECIFICATIONS
2 -3
2) G6F-AD2A
ItemsSpecifications
I/O points 16 points
Voltage
1 ~ 5 VDC (inputresistance 1㏁)
0 ~ 10 VDC (input resistance 1㏁)
-10 ~ 10VDC(inputresistance 1㏁)
Current DC4~ 20 mA(input resistance 250Ω)
Analog
input
Voltage/Current selection -Selection with Terminal
( It has to be connected between V and I terminal to select current. )
-Selection of voltage range by switch on the side of module
Digitaloutput -12 bit binary value(-48 ~ 4047, -2048 ~ 2047)
-Digital output value is selected by program.
1~5VDC 1 mV(1/4000)
0 ~10VDC 2.5mV(1/4000)
-10 ~10VDC 5 mV (1/4000)
Maximum
resolution
DC 4~20mA 4㎂(1/4000)
Overall Accuracy ±0.5% (accuracy to full scale)
Max .conversion speed 5.0 ms/channel
Max . absolute input Voltage : 15V, Current : 25mA
Number of analog input point 4channels/module
Isolation Between input terminals and PLC: Photocoupler isolation
(Between channels : Non-isolated)
Terminals connected 18-point terminal block
+5VDC
40mA
+15VDC
50mA
Current
Consumption
-15VDC
20mA
Weight
200g
[Table 2.2] Performance Specifications
CAUTION
The factory-setvalue of A/D conversion module has been current input mode.
The G6F-AD2A has to be used with the GM6-PAFB.
!

Chapter 2. SPECIFICATIONS
2 -4
The names of parts and functionsof the A/D conversion module are shown as below.
2.3.1 G3F-AD3A
2.3 Names ofParts 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 status.
2)The switch statues at current selection
The switch locates on status
On
12 34 5678
On
12 34 5678

Chapter 2. SPECIFICATIONS
2 -6
2.3.3 G6F-AD2A
No Description
←
RUN LED
Indicates the operating status of the G6F-AD2A.
↑
Selection switch of voltage/current
AnalogInput InputRangeSelectionSwitch
DC 1~5V
DC 0~10V
Voltage
DC-10~10V
Current DC 4~20mA
1
2
3
J1
J2
12 3
J1
J2
1
23
J1
J2
1
2
3
J1
J2

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 expressed with Fig 2.2
The voltage or current input for a channel is selected by analog input selection switch and the value of
Offset / Gain can not be changed because it is fixed.
[Fig 2.1] I/O Conversion Characteristics
REMARK
1. Theanalog output value ofover 4047 or –48is fixed as 4047 or–48.
2. Keep the input voltage and current not to exceed +15V and 25mA.
2.4 I/OConversion Characteristics
Practical analog input range
Digital
Output
Value
4000
3000
2000
1000
0
0V
5V
10V
1V
3V
5V
4㎃12㎃20㎃
DC 0 ~ 10V
DC 1 ~ 5V
DC 4 ~ 20㎃
Analog
Input
-0.12V
3.808
㎃
0.952V
10.12V
20.192㎃
5.048V
4047
-48

Chapter 2. SPECIFICATIONS
2 -8
[Fig 2.1] I/O Conversion Characteristics
REMARK
1. Theanalog output value ofover 4047 or –48(2047 or–2048) isfixedas4047or–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
Forvoltageinput,thecorresponding inputselection switch of each channel should beset to "off".
–
The voltage input range is selected in program.
Inputselectionswitch has tobelocatedat off.
(1)Voltage input range : DC 0
~
10V
Digital output value for input voltage is shown as follows. Analoginput voltage(V)
-0.12 02.5 57.5 10 10.12
Digital output value -48 01000 2000 3000 4000 4047
Input selection switch
-Off : Voltage
(Thisswitchislocated
on the side of module)
On
1 2 3 4 5 6 7 8
CH01234567Number of channel
Practical analog input range
Digital
Output
Value
4000
3000
2000
1000
0
0V
5V
10V
1V
3V
5V
-10V 0V 10V
DC 0 ~ 10V
DC 1 ~ 5V
DC-10 ~ 10V
Analog
Input
-0.12V
-10.24V
0.952V
10.12V
10.24V
5.048V
4047
-
48
4㎃12 ㎃20㎃DC 4 ~ 20 ㎃
3.808
㎃
20.192
㎃
2000
1000
0
-1000
-2000
2047
-2048

Chapter 2. SPECIFICATIONS
2 -9
(2)Voltage input range : DC 1
~
5V
Digital output value for input voltage is shown as follows. Analoginput voltage(V)
0.952 123455.048
Digital output value -48 01000 2000 3000 4000 4047
2) G6F-AD2A
Forvoltageinput,thecorresponding inputis selected by selection switch and selected input voltage range is
same through whole channels.
1) Voltage input range
: DC 1
~5
V
Digital output value for input voltage is shown as follows.
Analog input voltage (V) Input range selection
switch
0.952 123455.048
-48 01000 2000 3000 4000 4047
Digital output value -2048 -2000 -1000 01000 2000 2047
2)
Voltageinput range:
DC 0
~ 10
V
Digital output value for input voltage is shown as follows.
Analoginput voltage(V) Input range selection
switch
-0.12 02.5 57.5 10 10.12
-48 01000 2000 3000 4000 4047
Digital output value -2048 -2000 -1000 01000 2000 2047
3)
Voltageinput range:
DC -10
~ 10
V
Digital output value for input voltageisshown asfollows.
Analoginput voltage(V) Input range selection
switch
-10.24 -10 -50510 10.24
-48 01000 2000 3000 4000 4047
Digital output value -2048 -2000 -1000 01000 2000 2047
12
3
11
12
12
3
J1
J2
1
2
3
11
12
1
2
3
J1
J2
1
2
3
J1
J2
This manual suits for next models
2
Table of contents
Other LG Controllers manuals

LG
LG MultiSITE MS8250 User manual

LG
LG AC Smart 5 User manual

LG
LG MultiSITE MS8000 Series User manual

LG
LG PQCSA001T0 Quick start guide

LG
LG SV008iS5-2 User manual

LG
LG MultiSITE MS8000 Series User manual

LG
LG Niagara Framework MultiSITE E10 User manual

LG
LG V-Net AC Smart II User manual

LG
LG G3L-PUEA User manual

LG
LG LLLG003 User manual