10.4
High-speed Counter Cam Control Instruction
10-23
Sample program
For FP0H mode
R0
(
)
DF
R9013
F165 CAM0
DT100
H10
DT100
F1 DMV
K1
DT102
F1 DMV
K10
DT104
F1 DMV
K2
DT106
F1 DMV
K1000
DT108
F1 DMV
K5000
DT110
F1 DMV
K7000
DT112
F1 DMV
K9000
DT114
F1 DMV
K11000
DT116
F1 DMV
K0
DT90300
F1 DMV
①
②
④
③
⑥
⑤
⑧
⑦
⑩
⑨
⑪
R9110
Code Description
①
High-speed counter channel H10: Performs the upper limit control. CH0
②
Cam output device type K1: Internal relay (R)
③
Word number of cam output device K10
④
Specification of the number of target values K2
⑤
Target value 1: ON set value K1000
⑥
Target value 1: OFF set value K5000
⑦
Target value 2: ON set value K7000
⑧
Target value 2: OFF set value K9000
⑨
Upper limit value K11000
⑩
Presets 0 as the elapsed value.
⑪
Executes the F165 (CAM0) instruction and starts the cam control.
(Note): The allocations of control active flags and elapsed value areas for the FP
Σ
mode are different.
For details of the allocation of flags, refer to "12.2.4 When Using High-speed Counter Function".
Summary of Contents for FP0H Series
Page 1: ......
Page 11: ...1 Functions of Unit and Restrictions on Combination ...
Page 19: ...2 Wiring ...
Page 23: ...3 Power ON and OFF and Items to Check ...
Page 30: ...Power ON and OFF and Items to Check 3 8 ...
Page 31: ...4 Settings of Control Unit ...
Page 52: ...Settings of Control Unit 4 22 ...
Page 53: ...5 Operation Patterns ...
Page 89: ...6 Operating Characteristics ...
Page 93: ...7 Instruction References ...
Page 124: ...Instruction References 7 32 ...
Page 125: ...8 Troubleshooting ...
Page 133: ...9 PWM Output Function ...
Page 140: ...PWM Output Function 9 8 ...
Page 141: ...10 High speed Counter Function ...
Page 151: ...10 3 High speed Counter Instruction 10 11 MEMO ...
Page 170: ......
Page 171: ...11 FPΣ Mode ...
Page 180: ...FP Mode 11 10 ...
Page 181: ...12 Specifications ...
Page 196: ...Specifications 12 16 ...
Page 198: ......
Page 199: ......
Page 200: ......