
10.3
High-speed Counter Instruction
10-9
Allocation of control codes
•
The following bits are allocated according to the specified channel and functions.
FP0H mode
FP
Σ
mode
bit no.15
0
Software reset
0 0 0 0 0 0 0 0
8 7
0: Disable 1: Enable
H00: Fixed
Count
0: Enable 1: Disable
External reset input 0: Valid 1: Invalid
High-speed counter
instruction
0: Continue 1: Cancel
Channel specification
H0 to H3: CH0 to CH3
bit no. 15
4 3 2 1 0
Near home input
Reset input setting 0: Valid, 1: Invalid
High-speed counter instruction clear
pulse output stop
0: Continue, 1: Clear, stop
Channel specification
H0 to H3: CH0 to CH3
Software reset
0: Disable, 1: Enable
Count
0: Enable 1: Disable
0: Invalid, 1:Valid
•
When controlling the above functions using external inputs, arbitrary inputs can be allocated.
Example of program
The following example shows the program for performing the software reset of the high-speed
counter CH0 using the input X7.
X7
DT90052
H1
F0 MV
DT90052
H0
F0 MV
(
)
DF
REFERENCE
•
For details of the allocations of I/O and flags, refer to "12.2.4 When Using
•
For details of the FP
Σ
mode, refer to "11. FP
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: ......