Mitsubishi MELSEC Q Series Programming Manual page 178

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

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: When using the Basic model QCPU, the "ERR." LED goes OFF.
[Operations which take place when SD63 is 16]
SD63
SD64
SD65
SD66
SD78
SD79
Operation Error
(1) There are no operation errors associated with the SET F
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]
[Operation]
SD63
SD64
SD65
SD66
SD78
SD79
5-36
Turns F30 ON.
16
233
SD64
90
SD65
700
SD66
145
SD78
1027
SD79
Contents of SD63 and
those of SD64 to SD79
are not changed.
When X1 is ON
Adds 1
0
SD63
0
SD64
0
SD65
0
SD66
SD67
0
SD78
0
SD79
Resets F90.
16
233
SD64
90
SD65
700
SD66
SD77
145
SD78
1027
SD79
F30, which was ON,
is stored in SD79.
[List Mode]
Step
When X2 is ON
Subtracts 1
1
SD63
11
SD64
0
SD65
0
SD66
0
SD67
0
SD78
0
SD79
*2
16
233
700
28
F number in
SD67 is stored.
145
1027
30
or RST F
instruction.
Instruction
Device
0
0
0
0
0
0
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents