LG G3F-AD3A User Manual page 46

Programmable logic controller
Table of Contents

Advertisement

Chapter 5. GM PROGRAMMING
4) Programming example
READY
Line 0
Execution condition
Execution request when the
initializing function block is not
and initial setting
Line 1
operated
Line 2
_NETO_RST[1] _NETO_LIV[1]
Line 3
It indicates information on
power-off state of opposite
Line 4
station. If restored, it turns
"On " and the "On" state is
retained until the user
Line 5
program turns it "Off".
Line 6
START
AD_RD.NDR
Line 7
Execution request on the reading function
block with communication intervals.
Line 8
Line 9
Line 10
Line 11
Lind 12
Line 13
EN
Line 14
AD_DATA[0]
IN1
Line 15
2000
IN2
Line 16
Line 17
Line 18
EN
Line 19
AD_DATA[0]
IN1
Line 20
3000
Line 21
Line 22
Line 23
Line 24
Line 25
Line 26
Line 27
Line 28
It indicates on when operated normally,
and off when operated abnormally or down
from Live data of opposite station
START
_NETO_LIV[1]
MOVE
EN
ENO
EN
0
OUT
0
READY
IN1
IN1
AD_RD
_NETO_LIV[1]
ADR3RD
REQ
NDR
0
ERR
NET_
Slot location number of
master communication module
NO
1
ST_
STAT
Address of remote station
NO
0
BASE
ACT
Base location number of
A/D conversion module
0
SLOT
DATA
Slot location number of
A/D conversion module
AD_CH
CH
LT
ENO
AD_DATA[0]
OUT
% Q0. 1 . 0
The digital value less than
2000 of channel 0
turns %Q0.1.0 on.
GE
ENO
LT
EN
ENO
OUT
AD_DATA[0]
OUT
IN2
IN1
4000
IN2
AD_DATA[0]
4000
5 -9
AD_INI
ADR3INI
REQ
NDR
0
NDR
NET_
Slot location n umber of master
NO
communication module
1
ST_
STAT
Address of remote
NO
MOVE
station
0
BASE
ACT
ENO
Base location number of
A/D conversion module
_NETO_RST[1]
0
SLOT
OUT
Slot location number of
A/D conversion module
AC_CH
CH
Available channel enable
specification
INPUT TYPE
TYPE
Conversion data range
specification
AVG_EN
AVG
Average processing
_EN
enable/disable specification
AVG_NUM
RD_ERR
AVG
Average processing
Error data display
_NUM
number specification
RD_STAT
Error code display at
occurring error
RD_ACT
Normal channel
operation display
AD_DATA
A/D conversion value
GE
EN
ENO
EN
OUT
IN1
2000
AD_DATA[0]
IN2
IN1
3000
IN2
% Q0. 1 . 2
The digital value more than
3000 or same, and less
than 4000 turns %Q0.1.2
on.
GE
EN
ENO
OUT
IN1
% Q0. 1 . 2
The digital value more than
12000 or same
IN2
turns %Q0.1.3 on.
START
S
SRD_ST
Error data display in processing of
i n i t i a l i z ati o n functi o n bl o ck
INI_STAT
Error code display in processing of
i n i t i a l i z ati o n functi o n bl o ck
INI_ACT
Normal channel operation
display
LT
ENO
OUT
% Q0. 1 . 1
The digital value more than
2000 or same, and less than
3000 or same turns %Q0.1.1
on.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G4f-ad3aG6f-ad2a

Table of Contents