113
Pulse I/O Board
Section 2-2
Example 2: Stopping
Pulse Output with
SPED(64)
The following example shows PULS(65) and SPED(64) used to control a
pulse output from port 1. The frequency is changed by executions of
SPED(64) with different frequency settings and finally stopped with a fre-
quency setting of 0.
The following diagram shows the frequency of pulse outputs from port 1 as
the program is executed.
!Caution
Be sure that the pulse frequency is within the motor’s self-starting frequency
range when starting and stopping the motor.
@PULS(65)
004
001
05000
000
@SPED(64)
001
001
#0100
00005
@SPED(64)
001
001
#0150
00006
@SPED(64)
001
001
#0100
00007
@SPED(64)
001
001
#0000
When IR 05000 turns ON, PULS(65) sets port 1 for CW
pulse output. There is no number of pulses setting.
Starts pulse output from port 1 at 1 kHz in Continuous
Mode.
When IR 00005 turns ON, the frequency from port 1 is
changed to 1,500 Hz.
When IR 00006 turns ON, the frequency from port 1 is
changed to 1,000 Hz.
When IR 00007 turns ON, the pulse output from port 1 is
stopped with a frequency setting of 0 Hz.
Note:
Use INI(61) if it is necessary to force pulse
output to stop, as in emergency situations.
•
•
•
•
•
Frequency
Time
1.5 kHz
1.0 kHz
IR 05000
turns ON
IR 00005
turns ON
IR 00006
turns ON
IR 00007
turns ON