Kommunikation zwischen Master- und dezentraler E/A-Station
7.1.4
Erstellung eines Programms
Programm zur Parametrierung
Im folgenden Programmbeispiel wird beim Start der SPS das CC-Link-Master-Modul automa-
tisch initialisiert.
Abb. 7-5: Programm zur Parametrierung (1)
7 - 4
M8000
M35
M20
M0
M1
M1
FROM
K0
HA
K4M20
PLS
SET
MOV
K3
MOV
K7
MOV
K2
TO
K0
H0001
D0
MOV
K0
TO
K0
H0006
D3
MOV
H0101
D12
MOV
H0102
D13
MOV
H0103
D14
TO
K0
H0020
D12
RST
Programmierung
BFM #A
—>
H
K1
M35–M20
M0
M1
Anzahl der ange-
schlossenen
D0
Module (3 Module)
Anzahl der
Wiederholungen
D1
(7-mal)
Anzahl der Module,
die automatisch
wieder eingegliedert
D2
werden (2 Module)
K3
Einstellungen für
den Betrieb nach
D3
einem Stopp der
CPU
K1
Dezentrale E/A-
Station
(AJ65BTB1-16D)
Dezentrale E/A-
Station
(AJ65BTB1-16T)
Dezentrale E/A-
Station
(AJ65BTB1-16DT)
Stations-
K3
informationen
M1
FXLM060c
MITSUBISHI ELECTRIC