144
9 CREATING A HARDWARE LOGIC
9.2 Multi Function Counter Block
Parameter
The following tables show the parameters of the latch event detection block.
• Parameter of "Detector Select"
• Parameters of "Select Box"
Output
The following table shows the outputs of the latch event detection block.
*1 The latch event detection block and the Latch terminals of the counter timer blocks are automatically linked in the following
combinations, and the links cannot be deleted.
⋅ "Output 0" terminal (latch event detection block) and "Latch" terminal ("Counter_Timer_0")
⋅ "Output 1" terminal (latch event detection block) and "Latch" terminal ("Counter_Timer_1") (This combination cannot be used for 32-bit
multi function counter blocks.)
*2 The terminal is not displayed when a 32-bit multi function counter block is used.
Variable name Data type Valid range Default value Description
Detector Select Word Set the condition to detect signals. Click the [Detector
Select] button to open the "Select Box" window.
The Detector Select on the upper side is for detecting
signals of "Input A".
The Detector Select on the lower side is for detecting
signals of "Input B".
Variable name Data type Valid range Default value Description
A: Rise
("B: Rise" for lower-side
Detector Select for a 16-
bit multi function counter
block)
Rise Bit OFF
ON
OFF When the rise of Input has been detected, Output turns
to High only for one clock cycle.
A: Fall
("B: Fall" for lower-side
Detector Select for a 16-
bit multi function counter
block)
Fall Bit OFF
ON
OFF When the fall of Input has been detected, Output turns
to High only for one clock cycle.
Variable name Data type Linkable block Valid range Description
Output 0 Bit Counter timer
*1
0, 1 Outputs signals detected with the detector.
Output 1
*2
Input terminal
Output terminal
Input terminal
Output terminal