129
Reading Data with the READ DATA Bit
Section 5-3
Operating Data Area
5-3-3
Timing Chart for Reading Data
Reading data is possible even during axis operation.
It is not possible to write and read data at the same time.
The following diagram is a timing chart for reading data from a 4-axis PCU.
After the data reading operation has been completed, the Data Transferring
Flag (word n+8, bit 14) is turned from ON to OFF. If an error occurs during
data transfer, the Error Flag (word n+8, bit 12) will be turned ON and the error
code will be output to n+10 in the operating memory area. Check this error
code to determine the cause of the error and correct it.
Name
Model
Operati
ng data
area
Bit
Contents
Number of
read words
Same
for all
models
I+4
00 to
15
Read
source
address
I+5
00 to
15
Read desti-
nation area
I+6
00 to
15
Read desti-
nation word
I+7
00 to
15
15
00
Specifies the number of words to be read to the
CPU Unit. Setting range: 0001 to 0304 Hex (1 to
772 words)
15
00
Specifies the beginning address of the area in the
PCU from which parameters and data are read.
For details of the PCU's internal addresses,
refer to
SECTION 4 Data Areas
.
EM bank
designation
DM/EM
designation
15
08 07
00
Specifies the area where the parameters and data
read from the PCU are stored.
DM/EM designation:
0D: Designates DM Area
0E: Designates
EM Area EM bank designation:
Specifies the EM Area bank number if the EM
Area is designated in bits 00 to 07.Setting
range: 00 to 0C (banks 0 to C)
15
00
Specifies the beginning word of the area in the CPU
Unit's DM or EM Area in which parameters and data
are stored.
Setting range: 0000 to 7FFF Hex (Words 0 to 32767)
Number of read words (l+4)
Read source address (l+5)
Read destination area (l+6)
Read destination word (l+7)
READ DATA (n+1, 13)
Data Transferring Flag
(n+8, 14)
(9 words)
64 Hex (100)
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 ...