222
Pulse Outputs
Section 5-2
SET PULSES: PULS(886)
PULS(886) is used to set the pulse output amount (number of output pulses)
for pulse outputs that are started later in the program using SPED(885) or
ACC(888) in independent mode.
SPEED OUTPUT:
SPED(885)
SPED(885) can be used to perform pulse output without acceleration or
deceleration. Either independent mode positioning or continuous mode speed
control is possible. For independent 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.
Operand
Contents
P
Port specifier
0000 hex: Pulse output 0
0001 hex: Pulse output 1
T
Pulse type
0000 hex: Relative pulse output
0001 hex: Absolute pulse output
N
First number
of pulses word
N and N+1 contain the number of pulses setting. (N contains
the rightmost 4 digits and N+1 contains the leftmost 4 digits.)
Relative pulse output:
0000 0000 to 7FFF FFFF hex (0 to 2,147,483,647)
Absolute pulse output:
8000 0000 to 7FFF FFFF hex (-2,147,483,648 to
2,147,483,647)
PULS(886)
P
T
N
P:
Port specifier
T:
Pulse type
N:
Number of pulses
Operand
Contents
P
Port specifier
0000 hex: Pulse output 0
0001 hex: Pulse output 1
T
Output
mode
Bits 0 to 3
Mode
0 hex: Continuous
1 hex: Independent
Bits 4 to 7
Direction
0 hex: CW
1 hex: CCW
Bits 8 to 11
Pulse output method (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
Bits 12 to 15 Not used. (Always 0 hex.)
F
First pulse frequency
word
F and F+1 contain the pulse frequency setting, in units of
1 Hz. (F contains the rightmost 4 digits and F+1 contains
the leftmost 4 digits.)
0000 0000 to 000186A0 hex (0 Hz to 100 kHz)
SPED(885)
P
T
F
P:
Port specifier
T:
Output mode
F:
First pulse frequency word
Summary of Contents for CP1L-L14D Series
Page 2: ...CP1L L14D CP1L L20D CP1L M30D CP1L M40D CP1L CPU Unit Operation Manual Revised June 2007...
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 153: ...120 CP CPM1A series Expansion I O Unit Wiring Section 3 6...
Page 523: ...490 Troubleshooting Unit Errors Section 9 4...
Page 531: ...498 Replacing User serviceable Parts Section 10 2...
Page 563: ...530 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...578 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...605 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...606 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...636 Index...
Page 671: ...638 Revision History...