EasyManua.ls Logo

Mitsubishi Electric MELSEC-L Series LD40PD01 - Page 177

Mitsubishi Electric MELSEC-L Series LD40PD01
264 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...
10 BLOCK LINK EXAMPLES
10.1 Coincidence Detection
175
10
Counter_1 (32bit_Unsigned)
The items other than the above need not to be set.
Operation
The following shows operation of coincidence detection when the count value becomes 1000.
Block Variable name Setting value Description
Input 0 
Input_Signal_Event Detector Select User Setting (ON only in A: Rise) Set "Only A: Rise is on".
Detector Select This parameter is not used in this link example.
Output 
No. Description
(1) The count value is increased by one every time the UP terminal of the Counter_0 block turns to High.
(2) When the count value becomes 1000 (Coincidence detection value), the cam switch output terminal turns to High.
(3) Through the OUT 0 block in the hardware logic outline window, Input 0 of the multi function counter block_1 turns to High. The input signal event
detection block detects the rise of the signal from Input 0, Output 0 turns to High and to Low, and an interrupt request is sent to the CPU module.
1 999 1000 1001
High
Low
(1)
0
High
Low
High
Low
High
Low
High
Low
(3)
(2)
...................
......
Count value
(Multi function counter block_0)
UP terminal
(Multi function counter block_0)
Cam switch output terminal
(Multi function counter block_0)
Output terminal
(Multi function counter block_1)
Output terminal 0 of the input signal
event detection block
(Multi function counter block_1)
Input terminal 0
(Multi function counter block_1)
Controlled by the flexible high-speed I/O control module

Table of Contents

Related product manuals