![Omron C200HW Operation Manual Download Page 175](http://html1.mh-extra.com/html/omron/c200hw/c200hw_operation-manual_742329175.webp)
8-6
Section
Sample Program
165
8-6
Sample Program
This section provides a sample program for starting the X axis. The Position
Control Unit used is a C200HW-NC113.
8-6-1 Operation
Positioning is executed as shown in the following diagram.
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
(incremental)
Time
Target position:
30,000 pulses
(incremental)
The values set for the acceleration and deceleration times and the actual accel-
eration and deceleration times are related to the values set for actual target
speeds and the maximum speeds in the axis parameters area. For details, refer
to
Appendix B Estimating Times and Pulses for Acceleration/Deceleration
.
Data
Settings
Sequence #10
Sequence #11
Position number
10
11
Axis designation
X axis
X axis
Output code
0
0
Completion code
Continuous
Bank end
Dwell time number
00
00
Acceleration time number
05
05
Deceleration time number
06
06
Initial speed number
20
20
Target speed number
21
22
8-6-2 Conditions and Details of Settings
The following table shows the settings under various conditions.
Item
Details
Unit number of PCU
Unit 1:
Common parameter area: DM 1100 to DM 1102
Operating memory area: 110 to 114 (words)
(The above areas are allocated automatically according to the unit
number set.)
Common
parameters
Designation of operating
data area
0
DM 1100
0
0
D
DM area
pa a e e s
Beginning word of
operating data area
0
DM 1101
2
0
0
DM 0200
Unit mounting position
and parameter
designation
0
DM 1102
0
0
0
CPU Backplane
Use parameters saved in PCU.
Details of Positioning
Sequences
Summary of Contents for C200HW
Page 1: ...Cat No W334 E1 04 Position Control Units SYSMAC C200HW NC113 NC213 NC413 ...
Page 2: ...C200HW NC113 NC213 NC413 Position Control Units Operation Manual Revised July 2003 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 285: ...Cat No W334 E1 04 C200HW NC113 NC213 NC413 Position Control Units OPERATION MANUAL ...