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
Содержание CP1H-CPU - 05-2006
Страница 1: ...OPERATION MANUAL CP1H CPU Unit SYSMAC CP Series CP1H X40D CP1H XA40D CP1H Y20DT D Cat No W450 E1 02...
Страница 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Страница 3: ...iv...
Страница 11: ...xii TABLE OF CONTENTS...
Страница 15: ...xvi...
Страница 19: ...xx...
Страница 31: ...xxxii Conformance to EC Directives 6...
Страница 71: ...40 Function Blocks Section 1 5...
Страница 133: ...102 Computing the Cycle Time Section 2 7...
Страница 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Страница 411: ...380 Clock Section 6 8...
Страница 519: ...488 Replacing User serviceable Parts Section 10 2...
Страница 527: ...496 Standard Models Appendix A...
Страница 535: ...504 Dimensions Diagrams Appendix B...
Страница 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Страница 659: ...628 PLC Setup Appendix G...
Страница 665: ...634 Index work words 159 write protection 370...
Страница 667: ...636 Revision History...