Edge Relay (V) - Mitsubishi Q00JCPU User Manual

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

10
DEVICE EXPLANATION

10.2.6 Edge relay (V)

(1) Definition
(2) Edge relay applications
(3) Precautions
10
- 23
10.2 Internal User Devices
10.2.6 Edge relay (V)
An edge relay is a device which stores the operation results (ON/OFF information)
from the beginning of the ladder block.
Edge relays can only be used at contacts, and cannot be used as coils.
X0
Edge relays are used for detecting the leading edge (OFF to ON) in programs
configured using index modification.
[Ladder example]
SM400
1
V0Z1
X0Z1
SM400
* 1 : The ON/OFF information for X0Z1 is stored at the V0Z1 edge relay.
For example, the X0 ON/OFF information is stored at V0, and the X1 ON/OFF information is
stored at V1.
[Timing chart]
X0 OFF
V0 OFF
When Z1=0
M0 OFF
X1 OFF
V1 OFF
When Z1=1
M1 OFF
Figure 10.17 Application example and timing chart of edge relay
The edge relay of the same No. cannot be set in multiple steps of a program.
X1
X10
V1
Edge relay
Stores the X0, X1 and X10
operation results
Figure 10.16 Edge relay
MOV K0 Z1
FOR K10
1
M0Z1
INC Z1
NEXT
ON
ON
ON
1 scan
ON
ON
ON
1 scan
Index register (Z1) clear
Repetition (10 times) designation
M0Z1 is turned ON 1 scan at
leading edge of X0Z1
Increment Index Register (Z1)
(+1)
Return to FOR instruction
1 scan ON at X1 leading edge

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents