![Omron CJ1M-CPU21 Operation Manual Download Page 125](http://html1.mh-extra.com/html/omron/cj1m-cpu21/cj1m-cpu21_operation-manual_742493125.webp)
96
SPEED OUTPUT: SPED(885)
Section 5-5
5-5
SPEED OUTPUT: SPED(885)
Purpose
SPED(885) is used to set the output pulse frequency for a specific port and
start pulse output without acceleration or deceleration. Either independent
mode positioning or continuous mode speed control is possible. For indepen-
dent mode positioning, the number of pulses is set using PULS(886).
SPED(885) can also be executed during pulse output to change the output
frequency, creating stepwise changes in the speed.
This instruction is supported by the CJ1M-CPU21/CPU22/CPU23 CPU Units
only.
Ladder Symbol
Variations
Applicable Program Areas
Operands
P: Port Specifier
The port specifier specifies the port where the pulses will be output.
M :Output Mode
The value of M determines the output mode.
F: First Pulse Frequency Word
The value of F and F+1 sets the pulse frequency in Hz.
SPED(885)
P
M
F
P:
Port specifier
M:
Output mode
F:
First pulse frequency word
Variations
Executed Each Cycle for ON Condition
SPED(885)
Executed Once for Upward Differentiation
@SPED(885)
Executed Once for Downward Differentiation
Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
P
Port
0000 hex
Pulse output 0
0001 hex
Pulse output 1
0
3
4
7
8
11
12
15
M
Mode
0 hex: Continuous
1 hex: Independent
Direction
0 hex: CW
1 hex: CCW
Pulse output method (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
Always 0 hex.
Note:
Use the same pulse output method when using both pulse outputs 0 and 1.
F
F+1
0
15
Lower word of target frequency
Upper word of target frequency
0 to 100,000 Hz
(0000 0000 to 0001 86A0 hex)
Summary of Contents for CJ1M-CPU21
Page 1: ...Cat No W395 E1 03 CJ series Built in I O CJ1M CPU21 22 23 CJ1M CPU Units...
Page 2: ...CJ series Built in I O CJ1M CPU21 22 23 CPU Units Operation Manual Revised August 2004...
Page 3: ...iv...
Page 19: ...xx...
Page 79: ...50 Wiring Examples Section 3 3...
Page 217: ...188 Origin Search and Origin Return Functions Section 6 3...
Page 220: ...191 Built in Outputs Section 7 1...
Page 247: ...218 Built in Outputs Section 7 1...
Page 251: ...222 Combinations of Pulse Control Instructions Appendix A...
Page 255: ...226 Using Pulse Instructions in other CPU Units Appendix B...
Page 263: ...234 Index...
Page 265: ...236 Revision History...