9 CREATING A HARDWARE LOGIC
9.2 Multi Function Counter Block
163
9
Output
The following table shows the output of the cam switch block.
*1 The cam switch block and "Cam Output" terminal are linked automatically and the link cannot be deleted.
Operation examples
The following describes operation examples of the cam switch block.
■When the number of steps is set to 6
• Setting details
*1 Set it in the counter timer block.
• Operation
Variable name Data type Linkable block Output value Description
Output Bit Cam switch output
*1
0, 1 Outputs signals created in the cam switch block. Only
the "Cam Output" terminal can be linked to the "Output"
terminal.
Item Setting value
Number of Step 6
Lower Limit
*1
-2147483648
Lower Limit Output State Low
Step No.0 100
Step No.1 250
Step No.2 400
Step No.3 550
Step No.4 700
Step No.5 850
Upper Limit
*1
2147483647
No. Description
(1) For "Lower Limit" ≤ Count value < "Step No.0", the output status set with "Lower Limit Output State" is applied.
When the count value is equal to or larger than the set value of "Step No.0", the output status turns to High.
(2) When the count value is equal to or larger than the set value of "Step No.1", the output status turns to Low.
After that, the output status turns to High or Low depending on the magnitude relationship between the count value and "Step No.".
ON
OFF
0
(1)
(2)
12345
100 250 400 550 700 850
Step No.
"Output" terminal
"Count Value"