![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030936.webp)
896
High-speed Counter/Pulse Output Instructions
Section 3-21
Flags
Example
When CIO 000000 turns ON in the following programming example,
PLS2(887) starts pulse output from pulse output 0 with an absolute pulse
specification of 100,000 pulses. Pulse output is accelerated at a rate of
500 Hz every 4 ms starting at 200 Hz until the target speed of 50 kHz is
reached. From the deceleration point, the pulse output is decelerated at a rate
of 250 Hz every 4 ms starting until the starting speed of at 200 Hz is reached,
at which point pulse output is stopped.
3-21-8 ACCELERATION CONTROL: ACC(888) (CJ1M-CPU21/22/23 Only)
Purpose
ACC(888) outputs pulses to the specified output port at the specified fre-
quency using the specified acceleration and deceleration rate. (Acceleration
rate is the same as the deceleration rate.) Either independent mode position-
ing or constant mode speed control is possible. For positioning, ACC(888) is
used in combination with PULS(886). ACC(888) can also be executed during
pulse output to change the target frequency or acceleration/deceleration rate,
enabling smooth (sloped) speed changes.
This instruction is supported by CJ1M-CPU21/22/23 CPU Units only.
Ladder Symbol
Name
Label
Operation
Error Flag
ER
ON if the specified range for P, M, S, or F is exceeded.
ON if PLS2(887) is executed for a port that is already out-
putting pulses for SPED(885) or ORG(889).
ON if PLS2(887) is executed in an interrupt task when an
instruction controlling pulse output is being executed in a
cyclic task.
ON if PLS2(887) is executed for an absolute pulse output
but the origin has not been established.
@PLS2
#0000
#0000
D00100
D00110
01F4
00FA
C350
0000
86A0
0001
00C8
0000
000000
D00100
D00101
D00102
D00103
D00104
D00105
D00110
D00111
Acceleration rate: 500 Hz/4 ms
Deceleration rate: 250 Hz/4 ms
Target frequency: 50 kHz
Pulse output amount: 100,000 pulses
Time
100,000 pulses
Target frequency
50 kHz
Start frequency
200 Hz
Pulse frequency
PLS2(887) executed.
Start frequency: 200 Hz
ACC(888)
P
M
S
P: Port specifier
M: Output mode
S: First word of settings table
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...