2-321
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
High-speed Counter/Pulse
Output Instructions
2
SPED
Independent Mode Positioning
When independent mode operation is started, pulse output will be continued until the specified number
of pulses has been output.
Note • Pulse output will stop immediately if the CPU Unit is changed to PROGRAM mode.
• The number of output pulses must be set each time output is restarted.
• The number of output pulses must be set in advance with PULS(881). Pulses will not be output for
SPED(885) if PULS(881) is not executed first.
• The direction set in the SPED(885) operand will be ignored if the number of pulses is set with PULS(881)
as an absolute value.
Stopping
pulse output
Stop pulse
output
Immediate stop Stops the pulse output
immediately.
SPED(885) (Continu-
ous)
↓
INI(880)
Stop pulse
output
Immediate stop Stops the pulse output
immediately.
SPED(885) (Continu-
ous)
↓
SPED(885) (Continu-
ous, Target frequency
of 0 Hz)
Operation Purpose Application Frequency changes Description
Procedure/
instruction
Starting
pulse output
To output with
specified
speed
Positioning
without accel-
eration or
deceleration
Starts outputting pulses
at the specified fre-
quency and stops
immediately when the
specified number of
pulses has been out-
put.
NoteThe target posi-
tion (number of
pulses) cannot be
changed during
positioning (pulse
output).
PULS(886)
↓
SPED(885)
(Independent)
Changing
settings
To change
speed in one
step
Changing the
speed in one
step during
operation
SPED(885) can be exe-
cuted during position-
ing to change (raise or
lower) the pulse output
frequency in one step.
The target position
(specified number of
pulses) is not changed.
PULS(886)
↓
SPED(885)
(Independent)
↓
SPED(885)
(Independent)
Operation Purpose Application Frequency changes Description
Procedure/
instruction
Pulse frequency
Present frequency
Execution of INI(880)
Time
Pulse frequency
Present frequency
Execution of SPED(885)
Time
Pulse frequency
Target
frequency
Specified number of
pulses (Specified with
PULS(886).)
Execution of
SPED(885)
Outputs the specified
number of pulses
and then stops.
Time
Pulse
frequency
New target
frequency
Original target
frequency
Specified number
of pulses
(Specified with
PULS(886).)
Number of pulses
specified with
PULS(886) does
not change.
Execution of SPED(885)
(independent mode)
SPED(885) (independent
mode) executed again to
change the target
frequency. (The target
position is not changed.)
Time