291
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 UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...