Device Reset: Rst - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Device reset: RST

Format
RST(D)=(S)
Setting data
■Usable Data
: Usable
Setting
Usable Data
data
Bit
device
(D)
(S)
■Description, data type of result
Setting data
Description
(D)
Bit data for device reset
(S)
Condition data which determines whether device reset will be performed or not
Processing details
• If the data specified with (S) is true, the bit data specified with (D) is reset.
• (S) can be omitted. At this time, the format is "RST(D)" and device reset is made unconditionally.
• When this instruction is set as a transition condition in the last block of a transition program, whether the data specified with
(S) is true or false is returned as logical type data. In this case, (S) cannot be omitted.
Operation error
An operation error will occur if:
• (D) or (S) is an indirectly specified device and its device No. is outside the range.
Program example
■Program which resets M100 when either of M0 and X0 is 1
RST M100 = M0 + X0
M100
0
■Program which resets M100 when #0 is equal to D0
RST M100 = #0 != D0
M100
0
■Program which resets Y0 unconditionally
RST Y0
Y0
0
4 OPERATION CONTROL PROGRAMS
180
4.11 Bit Device Controls
Number of basic steps
8
Word device
16-bit
32-bit
64-bit
integer
integer
floating
type
type (L)
point
type (F)
M0
X0
#0
D0
Usable steps
F/FS
Constant
16-bit
32-bit
64-bit
integer
integer
floating
type
type
point
(K/H)
(K/H, L)
type (K)
0
+
(True)
1
100
!=
(True)
200
G
Calculation
Bit
expression
conditional
expression
Data type of result
Bit logical type (true/false)
Comparison
conditional
expression

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents