111
SECTION 5
Transferring and Saving Data
This section explains how to transfer and save parameters and data using the data transfer bits, the IOWR and IORD
instructions, and CX-Position.
5-1
Transferring and Saving Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
112
5-1-1
Transferring Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
112
5-1-2
Saving Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
113
5-1-3
Data that Can be Saved and/or Transferred . . . . . . . . . . . . . . . . . . .
114
5-1-4
Data Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
114
5-1-5
Data Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
115
5-1-6
Data Transfer Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
117
5-2
Writing Data with the WRITE DATA Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . .
119
5-2-1
Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
120
5-2-2
Data Writing Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
120
5-2-3
Data Settings Required for Writing Data . . . . . . . . . . . . . . . . . . . . .
121
5-2-4
Timing Chart for Writing Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
122
5-2-5
Example of a Write Data Program . . . . . . . . . . . . . . . . . . . . . . . . . .
123
5-3
Reading Data with the READ DATA Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . .
124
5-3-1
Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
124
5-3-2
Data Settings Required for Reading Data. . . . . . . . . . . . . . . . . . . . .
125
5-3-3
Timing Chart for Reading Data . . . . . . . . . . . . . . . . . . . . . . . . . . . .
126
5-3-4
Data Reading Program Example . . . . . . . . . . . . . . . . . . . . . . . . . . .
127
5-4
Writing Data with IOWR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
129
5-4-1
Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
129
5-4-2
IOWR: INTELLIGENT I/O WRITE . . . . . . . . . . . . . . . . . . . . . . . .
130
5-4-3
Error Code Treatment for IOWR . . . . . . . . . . . . . . . . . . . . . . . . . . .
131
5-4-4
Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
131
5-4-5
Precautions when Using IOWR . . . . . . . . . . . . . . . . . . . . . . . . . . . .
132
5-4-6
IOWR Program Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
135
5-5
Reading Data with IORD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
136
5-5-1
Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
136
5-5-2
READ DATA Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
136
5-5-3
IORD: INTELLIGENT I/O READ . . . . . . . . . . . . . . . . . . . . . . . . .
136
5-5-4
Error Code Treatment for IORD. . . . . . . . . . . . . . . . . . . . . . . . . . . .
137
5-5-5
Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
138
5-5-6
Precautions when Using IORD. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
138
5-5-7
IORD Program Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
139
5-6
Saving Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
140
5-6-1
Flash Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
140
5-6-2
Data Saving Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
141
5-6-3
Timing Chart for Saving Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
142
5-7
Transferring Data with CX-Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
142
Summary of Contents for CS1W-213 - REV 02-2008
Page 2: ...CS1W 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 43: ...18 Basic Operational Flow Section 2 1 ...
Page 87: ...62 Servo Relay Unit Section 3 7 ...
Page 199: ...174 Z phase Margin Section 6 8 ...
Page 217: ...192 Sample Program Section 7 7 ...
Page 285: ...260 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Page 377: ...352 Common Parameter Area Appendix C ...