Справочник Пользователя для Lg Electronics G3F-AD3A

Скачать
Страница из 78
Chapter 8 MK Programming 
 
 
8 - 7 
 
8.2.3  An A/D module mounted on a remote station 
 
1)   System configuration 
 
 
 
 
 
 
 
 
 
 
 
Fnet communication module on self-station : slot 2 
 
Fnet remote module of remote station : station number 01 
 
A/D module of remote station : slot 0, remote code = hC0 
 
2)   Initial setting of A/D module 
 
No 
Item 
Setting 
Buffer memory 
address 
Data to be 
written 
Channel to be used 
Ch 0 
h0001 
Analog input type and range 
0 ~ 10 VDC 
h0001 
Averaging processing enable 
Ch 0 
h0001 
Averaging count 
Ch 0 : 10 times  
h000A 
Validate setting 
 
h0001 
 
 
3)   Description of program 
①  When the digital converted value of channel 0 of remote A/D module is less than 
2000, turns on P0010 of self-station. 
②  When the digital converted value of channel 0 of remote A/D module is 2000 ~ 2999, 
turns on P0011 of self-station. 
③  When the digital converted value of channel 0 of remote A/D module is 3000 ~ 3999, 
turns on P0012 of self-station. 
④  When the  digital converted value of channel 0 of remote A/D module is 4000 or 
greater, turns on P0013 of self-station. 
GM4-
PA2A 
K4P-
15AS 
G4X-
D22A 
G4Q-
TR2A 
G4L-
FUEA 
P000 
P001 
P002 
GM4-
PA2A 
G4L-
RBEA 
G4F-
AD3A 
G4Q-
TR2A 
Station 
number : 01 
Slot 0 
P0000 
Start switch for A/D 
conversion