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

Скачать
Страница из 150
7 - 4                                                                                                                                                       7 - 4
MELSEC-Q
7   PROGRAMMING WHEN EXECUTING THE MASTER FUNCTION
7.3 Setting Parameters
This section explains examples of program for setting parameters.
If GX Configurator-DN is used, the programs described in Section 7.3.1 through
Section 7.3.3 will not be required.
7.3.1 Parameter settings using the sequence program
The following shows a method for setting parameters using the sequence program.
Command for setting the parameters 
for the master function
Sets the node number of the 
first slave node to 1 and the 
message group to 3.
Sets the connection type of the 
first slave node to polling.
Input byte module = 1, 
output byte module = 0
Input word module = 0, 
output word module = 0
Input double-word module = 0, 
output double-word module = 0
Expected packet rate default = 500 ms
Watchdog timeout action default 
= timeout
Production inhibit time 
default = 10 ms
Sets the station number of the second 
slave node to 2 and the message 
group to 3.
Sets the connection type of the 
second slave node to polling.
Input byte module = 0, 
output byte module = 1
Input word module = 0, 
output word module = 0
Input double-word module = 0, 
output double-word module = 0
Expected packet rate 
default = 500 ms
Watchdog timeout action 
default = timeout
Production inhibit time 
default = 10 ms