High-speed Counter Function
10-18
10.4 High-speed Counter Cam Control Instruction
10.4.1 [F165 CAM0] High-speed Counter Cam Control Instruction
Performs the cam output up to a maximum of 32 points (ON/OFF) according to the elapsed
value of the high-speed counter.
Instruction format
Operand
Operand Settings
S
Starting number of data table
Memory area type that can be specified
Operand WX WY WR WL SV EV DT LD I
Constant
Index
modifier
K H
S - - - - - - A - - - - A
Outline of operation
• Performs the cam output up to a maximum of 32 points (ON/OFF) according to the elapsed
value of the high-speed counter in the pattern specified for the data table starting with [S].
The output device can be selected from internal relay, output relay and link relay.
• The ON set value and OFF set value can be arbitrarily specified as a paired target values for
a single cam output regardless of the magnitude of target values or the order for one cam
output. The pattern of ON/OFF varies according to the setting.
12000
9000
7000
5000
t
y
R0
R9110
R100
R101
INT0
X2
DT90052
(bit0)
1000
0
Elapsed
value
12000 0
1000 to 4999
R100:ON
7000 to 8999
R101:ON
Target value 1
ON set value
1000
Target value 2
OFF set value
9000
Target value 2
ON set value
7000
Target value 1
OFF set value
5000