10 BLOCK LINK EXAMPLES
10.1 Coincidence Detection
173
10
10.1
Coincidence Detection
The output of the multi function counter block is turned on when a count value matches with a compare value. The compare
value is required to be set in advance as a coincidence detection value.
The following describes a link and parameter example of coincidence detection. With the example setting, an external output
signal turns on when the count value becomes 1000 and an interrupt request is sent to the CPU module. Note that this link
example is for when a 32-bit unsigned multi function counter block is used.
Link and parameter
The following shows a link example of the hardware logic outline window and a link example and parameter setting example
of the multi function counter block detail window.
■
Hardware logic outline window
High
Low
1000
1001
High
Low
999
Count value
Coincidence
output signal
Interrupt request signal
to the CPU module
Phase A
input pulse
Phase B
input pulse
Coincidence
detection signal
Interrupt program
start
Output signal from Counter_0
Summary of Contents for MELSEC-L Series LD40PD01
Page 2: ......
Page 9: ...7 MEMO ...
Page 24: ...22 2 PART NAMES MEMO ...
Page 35: ...4 PROCEDURES BEFORE OPERATION 33 4 MEMO ...
Page 263: ......