Справочник Пользователя для Mitsubishi Electronics 13JW55

Скачать
Страница из 350
 
 
7 - 5
 
 
 
7.3    Communication with Intelligent Function Module 
7.3.1    Communication methods with intelligent function modules 
The following table shows the communication methods between a QCPU and an 
intelligent function module. 
 
Table 7.2    Communication method with intelligent function modules 
Communication 
method 
Function Setting 
method 
Initial setting, 
Auto refresh 
setting 
Performs initial settings and auto refresh settings of intelligent function modules. 
These settings allow writing/reading data to/from intelligent function modules regardless 
of communication program creation or buffer memory address. 
 
Ex.) When A/D converter module Q64AD is used 
 
Initial setting   
: •
 
A/D conversion enable/disable setting 
 
Sampling/averaging processing specification, 
 
Time average/number of times average specification, 
 
Average time/average number of times specification 
(Set data in auto refresh settings is stored to the 
intelligent function module parameter on a QCPU.) 
 
Auto refresh setting   
: Set a device on a QCPU to store the following data to. 
 
Digital output from Q64AD 
 
Maximum and minimum values of Q64AD 
 
Error code 
(Set data in auto refresh settings is stored to the 
intelligent function module parameter on a QCPU.) 
Use GX Works2. 
Device initial 
value 
Writes set data in device initial settings of intelligent function modules to the intelligent 
function modules at the following timings. 
 
At power-on of a QCPU 
 
At reset 
 
At switching from STOP to RUN 
Use GX Works2 to 
specify the range 
for intelligent 
function module 
devices (U \G ).
FROM/TO 
instruction 
Read or write data from or to the buffer memory on an intelligent function module. 
Use this instruction 
in a sequence 
program. 
Intelligent 
function module 
device (U \G ) 
Directly handles the buffer memory on an intelligent function module as a device of a 
QCPU. 
Unlike "FROM/TO instruction", this requires only one instruction for processing data that 
is read from an intelligent function module. 
Specify this device 
as a device in a 
sequence 
program. 
Intelligent 
function module 
dedicated 
instruction 
Used to simplify programming for using the functions of intelligent function modules. 
Use this instruction 
in a sequence 
program.