Cam switch block
Multi function
In a multi function counter block detail window, one cam switch block ("Cam_Switch") linked to a counter timer block is
arranged across the fourth and fifth sections. However, no cam switch block is arranged in a 16-bit multi function counter
block.
The values in the cam switch block are compared with "Count Value" in the counter timer block and the High/Low signals are
output.
Input
The following table shows the input of the cam switch block.
Variable
Data type
Linkable block
name
Input
Word
Counter timer
*1 "Count Value" in the counter timer block and the cam switch block is linked automatically and the link cannot be deleted.
*2 The valid range is determined by the type of the multi function counter block arranged in the hardware logic outline window.
*3 When "User Address" is used, variability of 100ns or less occurs when the output turns to High or Low.
Valid range
*1
• -2147483648 to 2147483647 (32-bit
*2
signed counter)
• 0 to 4294967295 (32-bit unsigned
*2
counter)
Description
Inputs the compare value of the counter timer block.
When "User Address" of the step No. is not used, set
the refreshing cycle of the count value to 0.1s or
more. When "User Address" is used, set it to 0.2s
*3
or more.
3 CREATING A HARDWARE LOGIC
3.2 Multi Function Counter Block
3
173