229
Sample Program
Section 8-10
If the speed for the next sequence is faster, the acceleration time is used, and
if the speed for the next sequence is slower, the deceleration time is used.
8-10 Sample Program
This section provides a sample program for starting the X axis. The PCU used
is a NC113.
8-10-1 Operation
Positioning is executed as shown in the following diagram.
The values set for the acceleration and deceleration times and the actual
acceleration and deceleration times are related to the values set for actual tar-
get speeds and the maximum speeds in the axis parameter area. For details,
refer to
Appendix B Estimating Times and Pulses for Acceleration/Decelera-
tion
.
Speed
Speed V
2
Speed V
1
Speed V
3
Speed V
0
Acceleration time T
1
Acceleration time T
2
Deceleration time T
3
Deceleration time T
4
Time
Sequence #0
Sequence #1
Sequence #2
Speed
Target speed: 3,000 pps
Speed #21
Acceleration time:
5,000 ms
Acceleration time
#5
Target speed: 4,000 pps
Speed #22
Deceleration time:
6,000 ms
Deceleration speed
#6
Initial speed
1,000 pps
Speed #20
Target position:
25,000 pulses
(relative)
Time
Target position:
30,000 pulses
(relative)
20 ms
10 ms
36 ms
Summary of Contents for CJ1W-C113 - REV 02-2008
Page 2: ...CJ1W NC113 213 413 133 233 433 Position Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 13: ...xiv ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 27: ...xxviii Conformance to EC Directives 6 ...
Page 43: ...16 Control System Principles Section 1 7 ...
Page 47: ...20 Basic Procedures Section 2 ...
Page 139: ...112 Examples of Parameter Settings Section 4 9 ...
Page 173: ...146 Transferring Data with CX Position Section 5 7 ...
Page 223: ...196 Sample Program Section 7 7 ...
Page 259: ...232 Sample Program Section 8 10 ...
Page 293: ...266 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Page 369: ...342 Reading Error Information with CX Position Section 11 8 ...
Page 385: ...358 Common Parameter Area Appendix C ...