281
Pulse Outputs
Section 5-3
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: Pulse output 0
#0001: Pulse output 1
#0002: Pulse output 2
#0003: Pulse output 3
T
Pulse type
#0000: Relative pulse output
#0001: 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:
00000000 to 7FFFFFFF hex (0 to 2,147,483,647)
Absolute pulse output:
80000000 to 7FFFFFFF 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: Pulse output 0
#0001: Pulse output 1
#0002: Pulse output 2
#0003: Pulse output 3
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.)
SPED(885)
P
T
F
P:
Port specifier
T:
Output mode
F:
First pulse frequency word
Summary of Contents for Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......