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

Скачать
Страница из 400
 
 
 
6 - 9                                                                                                                                                                 6 - 9 
MELSEC-Q
6   PROGRAMMING 
 
6.3 Communications with I/O Modules 
This section describes the setting and programming that are required for a CPU to 
communicate with I/O modules on a remote I/O station by cyclic transmission. 
 
(1) System configuration example 
 
Remote master station
Remote I/O station (station No. 1)
Power
supply
QCPU QJ71
BR11
QJ72
BR15
QX40 QY40P
Power
supply
 
 
(2) Program 
conditions 
The following processing is performed in the program. 
•  An input from X0 of the remote I/O station turns ON M1000. 
•  When M2000 is turned ON, a signal is output to Y0 of the remote I/O station. 
 
(a)  Devices used by the user 
• Input flag from X0 of remote I/O station ········· M1000 
• Output flag to Y10 of remote I/O station ········ M2000 
 
(3) Parameter setting example 
 
(a)  Setting for the CPU module of the remote master station 
Set network parameters in GX Developer. 
 
• Network type 
: MNET/H (Remote master) 
• Starting I/O No. 
: 0000
• Network No.  
: 1 
• Total stations 
: 1 
• Mode 
 
: Online 
• Network range assignment: 
 
 
 
• Refresh parameters: 
 
 
 
(b)  Setting for the remote I/O module 
Use the default settings. (Refer to Section 5.2.1.) 
 
(4) Program example 
 
Input from remote I/O station X0.
Output to remote I/O station Y10.