Sample Program; Operation - Omron CS1W-NC113 Manual

Hide thumbs Also See for CS1W-NC113:
Table of Contents

Advertisement

Sample Program

8-10 Sample Program

8-10-1 Operation

Speed
Initial speed
1,000 pps
Speed #20
Details of Positioning
Sequences
8-10-2 Conditions and Details of Settings
Item
Unit number of PCU
Common
Operating data area
pa a e e s
parameters
designation
Beginning word of
operating data area
Axis parameter
designation
200
This section provides a sample program for starting the X axis. The PCU used is
a CS1W-NC113.
Positioning is executed as shown in the following diagram.
Target speed: 3,000 pps
Speed #21
Acceleration time:
5,000 ms
Acceleration time
#5
Target position:
25,000 pulses
(relative)
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 parameter area. For details, refer to
Appendix B Estimating Times and Pulses for Acceleration/Deceleration.
Data
Axis designation
Output code
Position designation
Completion code
Dwell time number
Acceleration time number
Deceleration time number
Initial speed number
Target speed number
The following table shows the settings under various conditions.
Unit 1:
Common parameter area: D20100 to D20102
Operating memory area: CIO 2010 to CIO 2014 (words)
(The above areas are allocated automatically according to the unit
number set.)
0
D20100
0
D20101
0
D20102
Target speed: 4,000 pps
Speed #22
Target position:
30,000 pulses
(relative)
Sequence #10
1 (X axis)
0
1 (X axis, relative
positioning)
2 (Continuous)
00
5
6
14
15
Details
DM Area
0
0
D
D00200
0
C
8
Use parameters saved in PCU.
E
0
0
(Default settings used for Y, Z, and
U axes.)
Section
8-10
Deceleration time:
6,000 ms
Deceleration speed
#6
Time
Settings
Sequence #11
1 (X axis)
0
1 (X axis, relative
positioning)
3 (Bank end)
00
5
6
14
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-nc213Cs1w-nc433Cs1w-nc233Cs1w-nc413Cs1w-nc133

Table of Contents