7. EXAMPLES OF SEQUENCE PROGRAMS
IMSRM52-E4
60
7.2 Example of Initialize Sequence Program
X0 X0F
01: Staion number 1
4: Occupies 4 stations
1: Remote device station
Data link startup
Master unit module initialize
Station information
H 1 4 0 1
Operation specification when the CPU
goes down
(0 = Dato link stop when a fault)
Error invalid station specification
(0 = No error invalid station)
Reserved station specification
(0 = No reservation made)
Number of automatic recovery stations
(1 station)
Number of retries (3 times)
Number of connected stations (1 station)
MOVK1 D0
MOVK3 D1
MOVK
D2
M1
PLS
M1
MOVH1401
D12
M1
MOVK0 D4
MOVK0 D5
MOVK0 D6
MOVK0 D7
M1
MOVK0 D8
MOVK0 D9
MOVK0 D10
MOVK0 D11
TO
H0
H10 D4
K8
MOVK0 D3
M1
SET
Y0
(Only one scan turned on after control start)
SM1038
PLS
M2
SET
M3
M2
SET
Y6
M3
RST
Y6
X6
RST
M3
( Data link startup completes normally)
X0 X0F
TO
H0
H20 D12
K1
TO
H0
H6
D3
K1
TO
H0
H1
D0
K3
(Master fault) (Master ready)
(Master fault)
(Master ready)