184
24 HIGH-SPEED INPUT/OUTPUT FUNCTION
24.1 High-speed Counter Function
24 HIGH-SPEED INPUT/OUTPUT FUNCTION
The high-speed input/output function is explained below.
Each respective function is set by parameters in GX Works3.
24.1 High-speed Counter Function
High-speed counter function is explained below.
High-speed counter function overview
The high-speed counter is a function that counts the number of high-speed pulse inputs that cannot be counted by a
conventional counter, using the general purpose input terminal of the CPU module or high-speed pulse input/output module.
Depending on the input (module) to be used, each function of the high-speed counter is limited as follows:
: Supported, : Not supported
The high-speed counter assigns input and function settings by parameters and operates using the HIOEN/DHIOEN
instruction.
Parameter setting and the HIOEN/DHIOEN instruction are always required to use the high-speed counter.
High-speed counter parameter setting
High-speed counter channels (input allocation, function) and high-speed counter comparison table, etc., are set by
parameters. (Page 195 High-speed counter parameters)
High-speed counter operation mode
The three high-speed counter operation modes are as follows.
Operation mode is set by parameter. (Page 195 High-speed counter parameters)
■Normal mode
Select normal mode if you want to use as an ordinary high-speed counter. (Page 196 High-speed counter (normal mode))
Function Reference
High-speed counter function Normal mode Page 196
Pulse density measurement mode Page 199
Rotational speed measurement mode Page 202
FX3-compatible high-speed counter function Page 251
Pulse width measurement function Page 261
Pulse catch function Pulse catch function Page 276
FX3-compatible pulse catch function Page 281
General-purpose input functions Page 284
PWM function Page 286
Positioning function MELSEC iQ-F FX5 User's Manual (Positioning Control - CPU module built-in, High-
speed pulse input/output module)
Input type High-speed counter operation mode High-speed counter dedicated instructions
Normal mode Pulse density
measurement mode
Rotational speed
measurement mode
HIOEN/DHIOEN
instruction
DHSCS, DHSCR,
DHSZ instruction
CPU module
High-speed pulse input/
output module