128
Reading Data with the READ DATA Bit
Section 5-3
READ DATA Procedure
1,2,3...
1.
Set common parameters. (Refer to
4-3 Common Parameter Area.)
m:
Set the operating data area either to DM or to EM.
m+1:
Set the beginning word of the operating data area (l).
m+2:
Set the axis parameter designation.
2.
Powering up again or restart.
The data for the common parameters set in 1 above will be enabled.
3.
Set the operating data area.
I+4:
Total number of words to be read from the PCU (Hex)
I+5:
Beginning address of PCU’s data area (Hex).
l+6:
The area in the CPU Unit (DM/EM) where the data will be stored.
I+7:
Beginning word address (Hex) of CPU Unit’s DM or EM area
where read data will be stored.
4.
Execute READ DATA.
Turn the READ DATA Bit (word n+1, bit 13) from OFF to ON.
The operations in (1) and (2) above are required when using the PCU for the
first time or when modifying the data in the common parameter area.
5-3-2
Data Settings Required for Reading Data
Beginning Words of Memory Areas
The beginning words of the operating memory area, the operating data area
and common parameter area used for a PCU are determined (or set) accord-
ing to the following.
• Beginning word of the operating memory area, n = CIO 2000 + 10
×
unit
number
• Beginning word of the common parameter area, m = 100
×
unit
number
• Beginning word of the operating data area, l, is specified in m and m+1.
Operating Memory Area
Word
Name
Bit
Reference
m
Operating data area designa-
tion
00 to 15
SECTION 4
m+1
Beginning word of operating
data area
00 to 15
m+2
Axis parameter designation
00 to 15
Name
Model
Operating
memory area
Bit
Contents
WRITE DATA
NC4
@
3
NC2
@
3
NC1
@
3
n+1
n+1
n+1
13
Starts reading data at the
rising edge.
Data Transfer-
ring Flag
NC4
@
3
NC2
@
3
NC1
@
3
n+8
n+4
n+2
14
1: Data is being transferred
0: Power up or restart;
transfer completed; transfer
unsuccessful
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 ...