Description of the Instructions
3.24 Description of the Instructions
In Chapter 6, the instructions are described in the following format.
1)
2)
5)
6)
7)
8)
Description
1) Indicates the section number, instruction outlines and instruction symbols.
2) The devices usable with the instructions are marked.
3) The digit designation that can be set is indicated for the instruction that requires digit
designation when a bit device is used.
4) The instruction for which the error flag turns on at operation error occurrence is
marked.
5) Shows the format in the ladder mode.
6) Explains the instruction.
7) Indicates the execution conditions of the instructions.
8) Shows program examples in the ladder mode and list mode.
110
Output Instructions
6.5.2
Device set, reset ... SET, RST
Bit devices
X
Y
M
{
{
SET
D
{
{
RST
SET input
RST input
Functions
SET
(1) Turns on the specified device when the SET input turns on.
(2) The device turned on is held on if the SET input turns off. It can be turned off by
the RST instruction.
SET input
RST input
(3) When the SET input is off, the device status does not change.
Execution Conditions
The SET and RST instructions are executed every scan.
Program Examples
SET
RST
,
1) Program that sets (turns on) Y8 when X8 turns on and resets (turns off) Y8 when X9
turns on.
Usable Devices
Word (16-bit)
Constants
devices
T
C
D
K
H
{
{
{
Coding
3)
4)
Error
Flag
Level
Digit
Designation
(M9010,
N
M9011)
Device number
SET
to be set (turned
on)
D
Device number
RST
to be reset