294
Pulse Outputs
Section 5-3
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)
Ladder Program
Remarks
• Absolute pulses can be specified when the origin position has been deter-
mined.
• If a target frequency that cannot be reached has been set, the target fre-
quency will be reduced automatically, i.e., triangular control will be per-
formed. In some cases where the acceleration rate is substantially greater
than the deceleration rate, the operation won't be true triangular control.
The motor will be operated at a constant speed for a short time between
the acceleration and deceleration.
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
@PLS2 (887)
#0000
D0
D6
#0001
END(001)
1.04
Pulse output 1
Start input
Specifies CW/CCW output method,
CW side, and relative pulses
Target frequency, number of
pulses setting
Starting frequency
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: ......