
High-speed
Counter Function
10-2
10.1 Overview of High-speed Counter Function
10.1.1 Overview of High-speed Counter Function
•
This function allows the counting of input signals from external devices at high speed such
as a sensor and encoder.
•
Exclusive instructions (F166 and F167) are provided for turning on or off arbitrary outputs
(Y0 to Y1F) in the interrupt processing when the elapsed value matches the target value.
The output turned ON/OFF by an instruction is used by presetting with an instruction such as
the SET/RET instructions. The instruction (F165) which enables the cam output up to 32
points to be acquired according to the elapsed value.
•
Channels and inputs to be used are specified by system registers. The output when the
values match is specified by the operand of the instruction.
10.1.2 Counting Range and Elapsed Value (Current Value) Area
•
The elapsed value of the high-speed counter is stored in a special data register as 2-word
32-bit data.
•
The elapsed value area will be reset when the power supply turns off. It will be held when
switching the mode from RUN to PROG.
•
The high-speed counter is a ring counter. When the counted value exceeds the maximum
value, it returns to the minimum value. When the counted value exceeds the minimum value,
it returns to the maximum value.
Counting range of elapsed value (current value) area
Section
Range
High-speed
counter control
K–2,147,483,648 to K2,147,483,647
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: ......