LG G3F-AD4A User Manual page 80

Programmable logic controller
Table of Contents

Advertisement

Chapter 8. MK PROGRAMMING
8.2 Application Programming
8.2.1 Programming for Distinction of A/D Conversion Value.
1) System Configuration
GM3-
K7P- G3F -
PA1A
30AS
2) Initial Settings
No.
1
Available channel
2
Data output type
Filter processing
3
enable/disable specification
4
Filter constant setting
Average processing
5
enable/disable specification
Number/time average
6
specification
Number/time average
7
processing specification
8
Analog input
Other
Set data specification
3) Descriptions of the Program
(1) Digital value less than 12000 of channel 0 turns P0010 on.
(2) Digital value more than 13600 of channel 2 turns P0011 on.
(3) Digital value 12000 or more and 13600 or less of channel 4 turns P0012 on.
(4) Digital value 12800 of channel 4 turns P0013 on.
Remark
- In the Initial setting
1) At the part of (3), if channel 0 is enabled to the filter processing, channel 0 to 3 will be enabled to the filter processing in block.
2) At the part of (4), if channel 0 is enabled to the filter constant, channel 0 to 3 will be enabled to the filter constant of 50 in block.
3) At the part of (5), if channel2 and 4 are enabled to the average processing, channel 0 to 3 and 4 to 7 will be enabled to the average
processing in block.
4) At the part of (6),if channel 2 is enabled to the number average value of 100, channel 0 to3 will be enabled to the number average value of
100 in block.
5) At the part of (7), if channel 4 is enabled to the time average value of 200ms, channel 4 to 7 will be enabled to the time average value
of 200 ms in block.
G3Q-
AD4A
RY4A
Item
Initial setting
Channel 0,2,4
- 192 ~ 16191
Channel 0
50
Channel 2,4
Average number : ch2
Average time : ch4
Average number : 100
Average time : 200ms
Input current
(DC –20 ~ 20mA)
-
8 - 3
Buffer
The value of
memory
words to write
address
0
h0015 or 00021
1
h0000 or 00000
2
h0001 or 00001
3
h0032 or 00050
7
h0003 or 00003
8
h0002 or 00002
9
h0064 or 00100
10
h00C8 or 00200
-
-
13
h0015 or 00021
Remark
Ch2 : bit0 On
Ch4 : bit1 On
Ch2 : bit0 Off
Ch4 : bit1 On

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G3f-ad4bG4f-ad2a

Table of Contents