Mitsubishi Electronics A1SJ61BT11 Home Theater Server User Manual


 
6 - 8
6 PARAMETER SETTING
MELSEC-QnA
(2) Program example
A parameter-setting program example with the following system configuration is
shown below:
(a) System configuration example
Station No.1 Station No.2
Station No.3
Station No.11
Invalid station
1
Remote
I/O station
(occupies 1
station)
2 Remote
I/O station
(occupies 1
station)
(X/Y20 to 3F)
Master
station
6 Local
station
(occupies
1 station)
3 Local
station
(occupies
4 stations)
Reserved station
(to be connected in the future)
Station No.9
Station No.7
4 Remote device
station
(occupies 2
stations)
5 Remote device
station
(occupies 2
stations)
(b) Program example
1
When debugging
X002F
X0020
PLS M0
TO H0002 H0001 K3 D0
SET M1
M0
Number of connected
modules (6 modules)
Reserved station
specification
MOV D0K6
M1
M1
Number of retries (3 times)
Number of automatic return
modules (2 modules)
Operation specification
when CPU is down (stop)
Invalid station
specification
MOV D1K3
MOV D2K2
MOV D3K0
MOV D4H0004
MOV D5K0
MOV D6K0
MOV D7K0
MOV D8H0100
MOV D9K0
MOV D10K0
MOV D11K0
TO H0002 H0006 K1 D3
TO H0002
H0010 K8D4