EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 165

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 SEQUENCE INSTRUCTIONS
5.3 Output Instructions
163
5
RST
The annunciator designated by (D) is turned OFF when the execution command is turned ON.
The annunciator numbers (F numbers) of annunciators that have gone OFF are deleted from the special registers (SD64 to
SD79), and the value of SD63 is decremented by 1.
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 "USER" LED in the front of the CPU module
turns OFF.
*1
The number of basic steps for the RST F instruction is 2.
*1 When using the Basic model QCPU, the "ERR." LED goes OFF.
Ex.
[Operations which take place when SD63 is 16]
Operation error
There is no operation error in the SET F or RST F instruction.
Program example
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

Table of Contents

Related product manuals