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

Скачать
Страница из 294
 
 
 
9 - 4 
9   COMMUNICATION BETWEEN THE MASTER STATION AND THE 
REMOTE I/O STATION 
MELSEC-QnA 
 
9.2 Creating a Program 
9.2.1 Program for parameters 
This program automatically initiates the data link when the programmable controller 
CPU starts running. 
 
[When debugging] 
 
X0040 X004F
PLS
M300
M300
SET
M301
M301
K5
D0
MOV
Number of connected
modules 
K7
D1
MOV
Number of retries
K1
D2
MOV
Number of automatic 
return modules 
D0
K3
H0004
TO
H0001
K0
D3
MOV
Operation specification
when the CPU goes 
down (Stop) 
D3
K1
TO
H0004
H0006
M301
H0101 D4
MOV
AJ65BTB1-16D 
(Station No.1) 
H0102 D5
MOV
H0103 D6
MOV
D4
K5
TO
H0004
H0020
H0104 D7
MOV
H0105 D8
MOV
AJ65BTC1-32D 
(Station No.2)  
AJ65BTB1-16T 
(Station No.3) 
AJ65BTC1-32T 
(Station No.4) 
AJ65BTB1-16DT 
(Station No.5) 
Station information
M301
RST
Parameter setting