5-36
SET F,RST F
(3) When the value of SD63 is "16", the annunciator numbers are deleted from SD64 to SD79
by the use of the RST instruction. If the annunciators whose numbers are not registered in
SD64 to SD79 are ON, these numbers will be registered.
If all annunciator numbers from SD64 to SD79 are turned OFF, the LED display device on
the front of the CPU module, or the "USER" LED, will be turned OFF.
*2
*2: When using the Basic model QCPU, the "ERR." LED goes OFF.
[Operations which take place when SD63 is 16]
Operation Error
(1) There are no operation errors associated with the SET F or RST F instruction.
Program Example
(1) The following program turns annunciator F11 ON when X1 goes ON, and stores the value 11
at the special register (SD64 to SD79). Further, the program resets annunciator F11 if X2
goes ON, and deletes the value 11 from the special registers (SD64 to SD79).
[Ladder Mode] [List Mode]
[Operation]
16SD63
233
90
700
145
1027
SD64
SD65
SD66
SD78
SD79
16
233
90
700
145
1027
SD64
SD65
SD78
SD79
16
233
700
28
145
30
SD64
SD65
SD66
SD77
SD79
1027SD78
Resets F90.Turns F30 ON.
SD66
F number in
SD67 is stored.
Contents of SD63 and
those of SD64 to SD79
are not changed.
F30, which was ON,
is stored in SD79.
Step
Instruction
Device
SD63
SD64
SD65
SD66
SD78
SD79
SD64
SD65
SD78
SD79
SD64
SD65
SD66
SD79
SD78
When X2 is ONWhen X1 is ON
SD66
Subtracts 1
0
0
0
0
0
0
SD63
SD67
1
11
0
0
0
0
0
SD63
SD67
0
0
0
0
0
0
0
Adds 1