LG G4F-AD3A User Manual
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. If restored, it turns
“On” and the “On” state is
retained until the user
program turns it “Off”.
Slot location number of master
communication module
Address of remote
station
Base location number of
A/D conversion module
Slot location number of
A/D conversion module
Available channel enable
specification
Conversion data range
specification
Average processing
enable/disable specification
Average processing
number specification
Execution request on the reading function
block with communication intervals.
Slot location number of
master communication module
Address of remote station
Base location number of
A/D conversion module
Slot location number of
A/D conversion module
Error data display
Error code display at
occurring error
Normal channel
operation display
Error data display in processing of
initialization function block
Error code display in processing of
initialization function block
Normal channel operation
display
The digital value less than
2000 of channel 0
turns %Q0.1.0 on.
The digital value more than
2000 or same, and less than
3000 or same turns %Q0.1.1
on.
The digital value more than
3000 or same, and less
than 4000 turns %Q0.1.2
on.
The digital value more than
12000 or same
turns %Q0.1.3 on.
A/D conversion value
READY
START
AD_INI
ADR3INI
REQ
NDR
NET_
NO
NDR
ST_
NO
BASE
STAT
ACT
SLOT
CH
TYPE
AVG
_EN
0
1
0
SRD_ST
INI_ACT
AC_CH
INI_STAT
INPUT TYPE
AVG_EN
AVG_NUM
MOVE
EN
ENO
IN1
OUT
0
READY
Line 0
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
Line 9
Line 10
Line 11
Lind 12
Line 13
Line 14
Line 15
Line 16
Line 17
Line 18
Line 19
Line 20
Line 21
Line 22
Line 23
Line 24
Line 25
Line 26
Line 27
Line 28
START
_NETO_LIV[1]
0
AVG
_NUM
S
_NETO_RST[1] _NETO_LIV[1]
MOVE
EN
ENO
IN1
OUT
0
_NETO_RST[1]
START
AD_RD.NDR _NETO_LIV[1]
AD_RD
ADR3RD
REQ
NDR
NET_
NO
ERR
ST_
NO
BASE
STAT
ACT
SLOT
0
1
0
RD_ERR
RD_ACT
RD_STAT
0
DATA AD_DATA
CH
AD_CH
LT
EN
ENO
IN1
OUT
AD_DATA[0]
% Q0.1.0
IN2
2000
GE
EN
ENO
IN1
OUT
AD_DATA[0]
IN2
2000
LT
EN
ENO
IN1
OUT
AD_DATA[0]
% Q0.1.1
IN2
3000
GE
EN
ENO
IN1
OUT
AD_DATA[0]
IN2
3000
LT
EN
ENO
IN1
OUT
AD_DATA[0]
% Q0.1.2
IN2
4000
GE
EN
ENO
IN1
OUT
AD_DATA[0]
% Q0.1.2
IN2
4000