115
Pulse I/O Board
Section 2-2
Example 4: Using
ACC(––) to Accelerate/
Decelerate the Frequency
at Different Rates
The following example shows Mode 0 of ACC(––) used to output 10,000 CW
pulses from port 1. The frequency is accelerated to 10 kHz at approximately
1 kHz/4 ms and decelerated to 1 kHz at approximately 250 Hz/4 ms. Deceler-
ation begins after 9,100 pulses have been output.
The following diagram shows the frequency of pulse outputs from port 1 as
the program is executed.
Example 5: Using
ACC(––) to Accelerate the
Frequency at a Specified
Rate
The following example shows Mode 1 of ACC(––) used to increase the fre-
quency of a pulse output from port 1. The frequency is accelerated from 1 kHz
to 20 kHz at approximately 500 Hz/4 ms.
@PULS(65)
002
001
00000
DM 0000
@ACC(
−−
)
000
001
DM 0004
When IR 00000 turns ON, PULS(65) sets port 1 for CW
pulse output. The total number of pulses is set to 10,000
and the deceleration point is set to 9,100 pulses.
Starts CW pulse output from port 1.
Acceleration rate: Approx. 1000 Hz/4 ms
Target frequency after acceleration: 10,000 Hz
Deceleration rate: Approx. 250 Hz/4 ms
Target frequency after deceleration: 1 kHz
Following deceleration, pulse output starts at target fre-
quency of approx. 500 Hz/4 ms.
DM 0004 0100
DM 0005 1000
DM 0006 0025
DM 0007 0050
DM 0000 0000
DM 0001 0001
DM 0002 9100
DM 0003 0000
Frequency
Time
10 kHz
IR 00000
turns ON
1 kHz
9,100
pulses
10,000
pulses
About 1 kHz/4 ms
About 250 Hz/4 ms
@PULS(65)
005
002
00000
000
@SPED(64)
001
002
#0100
When IR 00000 turns ON, PULS(65) sets port 2 for CCW
pulse output. The number of pulses is not set.
Starts 1,000 Hz (1 kHz) pulse output from port 2 in Continu-
ous Mode.
@ACC(
−−
)
001
002
DM 0000
When IR 00001 turns ON, ACC(
−−
) begins accelerating the
port 2 pulse output at about 500 Hz/4 ms until it reaches the
target frequency of 20,000 Hz.
00001
DM 0000 0050
DM 0001 2000
Содержание SYSMAC CQM1H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ......
Страница 11: ......
Страница 15: ...xvi...
Страница 87: ...62 Calculating with Signed Binary Data Section 1 7...
Страница 169: ...144 Serial Communications Board Section 2 6...
Страница 537: ......
Страница 565: ......
Страница 569: ......
Страница 573: ......
Страница 577: ......