Programming For Display Of A/D Conversion Value And Error Code On Bcd; Display - LG G3F-AD3A User Manual

Programmable logic controller
Table of Contents

Advertisement

Chapter 5. GM PROGRAMMING

5.2 Programming for Display of A/D Conversion Value and Error Code on BCD

Display

1) System Configuration
GM4-
PA2A
Initialize
Display error code with BCD
Display A/D conversion
data with BCD
2) Initial Settings
(1) Available channel enabled : channel 0,
(2) Analog input : current input(DC 4 to 20 mA)
(3) Average processing setting : 10 times
3) Descriptions of the Program
(1) % I0.0.0 turning On leads to the initial setting of A/D conversion module.
(2) % I0.0.1 turning On leads to displaying A/D conversion value on the BCD display.(%Q0.1.0 to %Q0.1.15)
(3) % I0.0.2 turning On leads to displaying error code of function block on the BCD display,
(%Q0.2.0 to %Q0.2.7)
GM4-
G4I-
G4Q-
CPUA
D22A
RY2A
%I0.0.0
%I0.0. 1
%I0.0.2
5 -5
G4Q-
G4F-
RY2A
AD3A
%Q0.2.0
~%Q0.2.7
%Q0.1.0
~%Q0.1.15
Channel 0 (4~20mA)
Digital BCD Displ a y
(displaying error)
Digital BCD Displ a y
(displaying A/D conve r-
sion value)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G4f-ad3aG6f-ad2a

Table of Contents