9 CREATING A HARDWARE LOGIC
9.2 Multi Function Counter Block
167
9
Event output terminal
In the sixth section in a multi function counter block detail window, event output terminals are arranged by default. For a 16-bit
counter timer block, four event output terminals ("Event 0" to "Event 3") are arranged. For a 32-bit counter timer block, two
event output terminals ("Event 0", "Event 1") are arranged.
Event output terminals output the input signals from "Event" terminals in the multi function counter block.
• 16-bit multi function counter block
• 32-bit multi function counter block
Output
The following table shows the output of the event output terminal.
■Link of event output terminals
• The event output terminals in a 16-bit counter can be linked to the following comparison blocks.
• For event output terminals in a 16-bit counter, linkable "Output" terminals of the input signal event detection block are
different as shown below. Event output terminals are not linkable in a 32-bit counter.
Variable name Data type Linkable block Valid range Description
Event Bit • Input signal event
detection
• Comparison
0, 1 Outputs the High/Low states of Event terminals of a
multi function counter block in the hardware logic
outline window. This terminal is used for link in the multi
function counter block detail window. Multiple signals
can be input to the terminal. OR processing is
executed for all input signals.
Event output terminal Comparison block
• "Event 0"
• "Event 1"
"Compare_0"
• "Event 2"
• "Event 3"
"Compare_1"
Event output terminal Input signal event detection block
• "Event 0"
• "Event 1"
"Output 0"
• "Event 2"
• "Event 3"
"Output 1"