LG G3F-AD3A User Manual page 43

Programmable logic controller
Table of Contents

Advertisement

Chapter 5. GM PROGRAMMING
4) Programming
%I0.0.0
ROW 0
Execution condition and
Initial Setting
ROW 1
0
Base location number
specification
ROW 2
3
Slot location number
specification
ROW 3
AD_CH
Available channel
enable specification
ROW 4
DATATYPE
Data type specification
ROW 5
AVG_EN
Average processing
enable/disable specification
ROW 6
AVG_NUM
Average number
value specification
ROW 7
START
ROW 8
ROW 9
ROW 10
ROW 11
ROW 12
ROW 13
AD_INI
AD3INI
REQ
DONE
INI_STAT
STAT
BASE
Error code display in
the processing of
function block initialization
ACT
SLOT
INI_ACT
러정보
Channel operation display
in the function block
initialization
CH
TYPE
AVG-
EN
AVG-
NUM
%I0.0.1
Command for displaying the
A/D conversion value onto BCD
digital display
CH0_DATA
A/D conversion value
of channel 0
specification
%I0.0.2
Command for displaying the
error code onto BCD digital
RD_STAT
display
Error code on the
reading function
This program converts the unsigned integer type of RD_STAT, which indicates the error status
of the reading function block, into BCD data type to display it onto the BDC digital display.
5 -6
AD_RD
AD3AD
REQ DONE
0
BASE
STAT
Base location
Error code display in the processing
number
of the reading function block
specification
3
SLOT
DATA
Slot location
Data display of A/D conversion
number
value of enabled channel
specification
CH
0
Available channel
enable specification
This program converts the integer type of the A/D conversion value
CH0_DATA into BCD data type to display onto the BDC digital display.
INT_TO_BCD
EN
ENO
IN1
%QW0.1.0
OUT
USINT_TO_
BCD
EN
ENO
IN1
%QB0.2.0
OUT
START
S
A/D conversion read has
been completed normally.
RD_STAT
CH0_DATA

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G4f-ad3aG6f-ad2a

Table of Contents