292
25 HIGH-SPEED INPUT/OUTPUT FUNCTION
25.1 High-speed Counter Function
■High-speed pulse input/output module
• Input
The following functions occupy inputs of the high-speed input/output function. The channels and the axis numbers are in
module internal order.
*1 The number in is the head input number for each high-speed pulse input/output module.
*2 Simultaneous use with a function other than the high-speed counter (A phase/B phase input) is possible. However, use with the channel
2 external enable input of the high-speed counter is not possible. However, the input logic of other functions is applied.
• Output
The following functions occupy outputs of the high-speed input/output function. The channels and the axis numbers are in
module internal order. The following functions cannot be combined with other high-speed input/output functions.
*1 The number in is the head output number for each high-speed pulse input/output module.
Do not specify an output device (Y) used by the high-speed input/output function as the output destination of the high-speed
comparison table. This may cause an unexpected operation.
Restrictions on simultaneous execution of the high-speed comparison table and high-
speed comparison instructions
There is a limit in the number of simultaneous executions of the high-speed comparison table and high-speed comparison
instructions (DHSCS, DHSCR, DHSZ instruction). Shown below are conditions included in the number of simultaneous
executions.
• For the high-speed comparison table, only the tables driven by the HIOEN/DHIOEN instruction are included
in the number of the simultaneous executions.
• When the positioning function setting is made, high-speed comparison table becomes occupied and is
included in the number of simultaneous executions.
Device
*1
Input interrupt
*1*2
High-speed counter Pulse width measurement Positioning
X X CH1 Input A phase
X+1 X+1 CH1 Input B phase/external preset
X+2 X+2 CH1 Input external preset Axis2 Zero signal
X+3 X+3 CH2 Input A phase CH1 Axis2 Interrupt input signal 1
X+4 X+4 CH2 Input B phase/external preset CH2 Axis1 Interrupt input signal 1
X+5 X+5 CH2 Input external preset Axis1 Zero signal
X+6 X+6 CH1 Input external enable Axis2 External start signal
X+7 X+7 CH2 Input external enable Axis1 External start signal
Device
*1
PWM Positioning
Y Axis1 PULSE/CW
Y+1 CH1 Axis2 PULSE/CW
Y+2 Axis1 Clear signal
Y+3 Axis2 Clear signal
Y+4 Axis1 SIGN/CCW
Y+5 CH2 Axis2 SIGN/CCW
Y+6
Y+7
Item CPU module High-speed pulse input/output module
Maximum
executions
32 15
High-speed
counter function
• Drive high-speed comparison table (Drive HIOEN/DHIOEN instruction)
• Drive DHSCS, DHSCR, DHSZ instruction
• Drive high-speed comparison table (Drive HIOEN/DHIOEN
instruction)
Positioning
function
• Interrupt input signal 1 (High-speed mode) setting is enabled • OPR setting is enabled
• Interrupt input signal 1 (High-speed mode) setting is enabled