Edge Relay (V); Step Relay (S) - Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

Edge relay (V)

The edge relay is a device that memorizes operation results (on/off information) from the head of the ladder block, allowing its
use only by the EGP/EGF instruction. This device is executed for various objectives such as the rising (off and on) detection
in the structured programs by the index modification.
SM400
MOV K0 Z1
*1
*1
X0Z1
V0Z1
SM400
*1 Edge relay V0Z1 memorizes on/off information of X0Z1.
ON
X0
OFF
ON
V0
OFF
Z1 = 0
ON
OFF
M0
X1
OFF
OFF
Z1 = 1
V1
M1
OFF
(1) When X1 is rising, this device is turned on for one scan duration.

Step relay (S)

This device is used when specifying SFC program steps. This device is also used when specifying step No. through such
methods as verifying (monitor, current value changes) SFC programs with SFC control instructions or the engineering tool.
( MELSEC iQ-R Programming Manual (Program Design))
Clear the index register (Z1).
Specify the number of repeats
FOR K10
(10 times).
Turn on M0Z1 for 1 scan by the
M0Z1
rise of X0Z1.
Increment (+1) of the index
INC Z1
register (Z1)
NEXT
Return to the FOR instruction.
1 scan
ON
ON
ON
1 scan
(1)
21
21 DEVICES
337
21.3 User Device

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents