Lg Electronics G4F-AD3A Manuale Utente

Pagina di 78
Chapter 8 MK Programming 
 
 
8 - 2 
 
8.1.2  G3F-AD3A / G4F-AD3A 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
PUT   0002  00000  h0019  00001 
PUT   0002  00001  00000  00001 
PUT   0002  00002  h0009  00001 
PUT   0002  00003  00100  00001 
PUT   0002  00006  00050  00001 
PUT   0002  00011  00001  00001 
GET   0002  00012  D0112  00001 
GET   0002  00015  D0115  00001 
GET   0002  00016  D0116  00001 
GET   0002  00020  D0120  00001 
GET   0002  00021  D0121  00001 
GET   0002  00024  D0124  00001 
GET   0002  00025  D0125  00001 
Slot 
number 
Buffer 
memory 
Data 
No. of 
words 
Channel to be used 
(use channel 0, 3, and 4) 
Assign analog input 
range (DC4 ~ 20mA) 
Assign average 
processing channel 
(channel 0 and 3) 
Set Averaging count of 
channel 0 (100 times) 
Set Averaging count of 
channel 3 (50 times) 
Validate the new setting 
value 
Execution 
condition 
Execution 
condition 
Slot 
number 
Buffer 
memory 
Destination  
of data 
No. of 
words 
Read the A/D converted 
value of channel 0, and 
store it into D0112 
Read the A/D converted 
value of channel 3, and 
store it into D0115 
Read the A/D converted 
value of channel 4, and 
store it into D0116 
Read the operating 
status, and store it into 
D0120 
Read the error code of 
channel 0, and store it 
into D0121 
Read the error code of 
channel 3, and store it 
into D0124 
Read the error code of 
channel 4, and store it 
into D0125