LG G3F-AD4A User Manual page 82

Programmable logic controller
Table of Contents

Advertisement

Chapter 8. MK PROGRAMMING
8.2.2 Programming for Display of A/D Conversion Value and Error Code on BCD Display.
(1) System Configuration
I/O Word
No.
GM3 -
K7P -
PA2A
30AS
Initial setting
)
A/D conversion value storage
A/D conversion on BCD
Error code on BCD
(2) Initial settings
① Enabled channel: channel 0
② Time average processing specification:100ms
③ Data output type setting: 0 to 16000
④ Analog input: current input( DC 4 to 20 mA)
(3) Descriptions of the program
① A/D conversion module is initialized when P0000 turns on.
② A/D conversion value is stored to D39 and error code is stored to D56 when P0001 turns on.
③ A/D conversion value is displayed on the digital BCD display when P0002 turns on.(P0030 ~ P0037)
④ Error code is displayed on the digital BCD display when P0003 turns on.(P0010 ~ P0023)
P0001
P000
~ P002
P003
G3I -
G3Q -
G3Q -
D22A
RY4A
RY2A
P0000
P0001
P0030~P0037
P0002
P0003
P0010 ~ P0023
8 - 5
Slot 3
P004
G3F –
AD4B
Channel 0 (DC 4 ~ 20 mA)
Digital BCD display(Error code)
Digital BCD display
(A/D conversion value)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G3f-ad4bG4f-ad2a

Table of Contents