287
Pulse Outputs
Section 5-3
Scheduled Interrupt Task 0 (Interrupt Task 2)
Positioning (Trapezoidal Control)
Specifications and
Operation
When the start input (1.04) goes ON, this example program outputs 600,000
pulses from pulse output 0 and turns the motor.
Instructions Used
PLS2(887)
Preparation
■
PLC Setup
There are no settings that need to be made in the PLC Setup.
DM Area Settings
PLS2(887) Settings (D00000 to D00007)
#0000
#0014
#0000
&100000
SPED(885)
MSKS(690)
#0001
&100000
#0000
PULS(886)
#0000
P_On
Always ON
Flag
Pulse output 0
Relative pulse
specification
Number of output pulses
(100,000 pulses)
Pulse output 0
Specifies CW/CCW outputs,
CW direction, and
independent mode.
Target frequency
(100,000 Hz)
Scheduled interrupt 0
Stop scheduled interrupt
100 Hz
Target frequency
50,000 Hz
Starting frequency
Start input (1.04)
Acceleration rate
300 Hz/4 ms
Number of
output pulses
600,000 pulses
Deceleration rate
200 Hz/4 ms
Setting details
Address
Data
Acceleration rate: 300 Hz/4 ms
D0
#012C
Deceleration rate: 200 Hz/4 ms
D1
#00C8
Target frequency: 50,000 Hz
D2
#C350
D3
#0000
Number of output pulses: 600,000 pulses
D4
#27C0
D5
#0009
Starting frequency: 100 Hz
D6
#0064
D7
#0000
Summary of Contents for CP1H-CPU - 05-2006
Page 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Page 3: ...iv...
Page 11: ...xii TABLE OF CONTENTS...
Page 15: ...xvi...
Page 19: ...xx...
Page 31: ...xxxii Conformance to EC Directives 6...
Page 71: ...40 Function Blocks Section 1 5...
Page 133: ...102 Computing the Cycle Time Section 2 7...
Page 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Page 411: ...380 Clock Section 6 8...
Page 519: ...488 Replacing User serviceable Parts Section 10 2...
Page 527: ...496 Standard Models Appendix A...
Page 535: ...504 Dimensions Diagrams Appendix B...
Page 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Page 659: ...628 PLC Setup Appendix G...
Page 665: ...634 Index work words 159 write protection 370...
Page 667: ...636 Revision History...