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