220
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)
J models: 0000 0000 to 00004E20 hex (0 Hz to 20 kHz)
SPED(885)
P
T
F
P:
Port specifier
T:
Output mode
F:
First pulse frequency word
Содержание CP1L - 12-2007
Страница 3: ...iv...
Страница 9: ...x...
Страница 13: ...xiv TABLE OF CONTENTS...
Страница 21: ...xxii...
Страница 33: ...xxxiv Conformance to EC Directives 6...
Страница 65: ...32 Function Blocks Section 1 5...
Страница 428: ...395 Clock Section 6 9...
Страница 429: ...396 Clock Section 6 9...
Страница 523: ...488 Troubleshooting Unit Errors Section 9 4...
Страница 531: ...496 Replacing User serviceable Parts Section 10 2...
Страница 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Страница 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Страница 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Страница 669: ...634 Index...
Страница 671: ...636 Revision History...