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

Скачать
Страница из 294
 
 
 
11 - 5 
11   COMMUNICATION BETWEEN THE MASTER STATION AND THE 
LOCAL STATION 
MELSEC-QnA 
 
11.3 Creating a Program 
11.3.1 Program for the master station 
(1)   Program for 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
K2
D0
MOV
K7
D1
MOV
K1
D2
MOV
D0
K3
TO
H0004
H0001
K0
D3
MOV
D3
K1
TO
H0004
H0006
M301
H2101 D4
MOV
H2102 D5
MOV
D4
K2
TO
H0004
H0020
M301
RST
 Station information
Parameter 
setting 
Number of connected
modules 
Number of retries 
Number of automatic
return modules 
Operation specification  
when the CPU goes
down (stop) 
 Local station 
 (station No.1, occupies
 1 station) 
 Local station 
 (station No.2, occupies
 1 station)