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

Скачать
Страница из 294
 
 
 
6 - 5 
6   PARAMETER SETTING 
MELSEC-QnA 
 
6.3 Setting from a Sequence Program 
The parameter setting from a sequence program is described. 
 
(1)   Program overview 
This program assumes that the master station's first I/O number is X/Y20 to 3F. 
 
(a)   When debugging 
 
to
X002F
X0020
M0
M1
M1
M1
Number of connected  
modules 
Number of retries 
Number of automatic  
return modules 
Operation specification  
when CPU is down
 Reserved station 
 specification 
Invalid station  
specification 
Station information  
(set for the number of 
connected modules)
Only when 
required 
PLS
M0
SET
M1
MOV
D0
MOV
D2
MOV
D1
MOV
D3
TO
H0002      H0001     D0       K3
TO
H0002      H0006     D3       K1
MOV
D4
MOV
D5
MOV
D6
MOV
D7
MOV
D8
MOV
D9
MOV
D10
MOV
D11
TO
H0002      H0010     D4       K8
TO
H0002      H0020     D13     K
MOV
D
MOV
D13
RST
M1