5-36
5.3 Output Instructions
5.3.7 Setting and resetting annunciators
SET, RST
Program
E
xam
pl
e
In the following program, the annunciator F11 is turned ON when X1 turns ON, and the value 11
is stored to the special register (SD64 to SD79). Further, the annunciator F11 is reset when X2
turns ON, and the value 11 is deleted from the special registers (SD64 to SD79).
[Structured ladder]
[ST]
SET(X1,F11);
RST(X2,F11);
[Operation]
SD
6
3
SD
6
4
SD
65
SD
66
SD78
SD79
SD
6
4
SD
65
SD78
SD79
SD
6
4
SD
65
SD
66
SD79
SD78
W
h
en
X2
is ON
W
h
en
X1
is ON
SD
66
Su
b
tracts
1
0
0
0
0
0
0
SD
6
3
SD
6
7
1
11
0
0
0
0
0
SD
6
3
SD
6
7
0
0
0
0
0
0
0
Adds
1
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......