9. Appendix
9.1. Sample Ladder Program
The example of the sample rudder program for Q series sequencers of MELSEC is shown below.
This sample rudder program is programmed to operate program No. 1 automatically, if the mode of the
controller is changed to "Automatic".
X60
X61
X6F
Master-station data linking
Master-station unit abnormality
Master-station unit ready
0
4
(M1 )
M1
19
M1
21
X1000
23
M10
X1000
X1003
X1006
X1003
<> K0 SW80
Data link state of other stations
(No.17 to 32)
Under the
master
station unit
executing
normally
<> K0 SW81
<> K0 SW82
<> K0 SW83
Data link state of other stations
(No.33 to 48)
Data link state of other stations
(No.49 to 64)
↑
Under the
master
station unit
executing
normally
Operation right
Automatic
mode
Operation
right
Program
selection is
possible.
Executing
Program
selection is
possible.
Data link state of other stations
(No.1 to 16)
(M1 )
Under the
master
station unit
executing
normally
Abnormal in
the other
station link
(Y1000 )
Request of
operation
right
SET M10
Automatic mode
Program number
MOV K1 D0
Program number DIODATA(for
program numbers
MOV D0 W1000
(Y1003 )
Program reset
(Y1005 )
Program select