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

Скачать
Страница из 294
 
 
 
12 - 5 
MELSEC-QnA 
12   COMMUNICATION IN THE COMPOUND SYSTEM 
 
12.2 Creating a Program 
12.2.1 Program for the master station 
(1)   Parameter program 
Program for the parameter this program automatically initiates the data link when 
the programmable controller CPU starts running. 
 
[When debugging] 
 
X0040 X004F
PLS
M300
M300
SET
M301
M301
K3
D0
MOV
Number of  
connected modules
K7
D1
MOV
Number of retries 
K1
D2
MOV
Number of automatic  
return modules
D0
K3
TO H0004
H0001
K0
D3
MOV
Operation specification  
when the CPU goes down 
(stop) 
D3
K1
TO H0004
H0006
M301
H0101
D4
MOV
Remote I/O station  
(station No.1) 
H1202
D5
MOV
H2104
D6
MOV
D4
K3
TO H0004
H0020
Remote device station  
(station No. 2) 
Local station (station No.4) 
Station information
M301
RST
Parameter setting