131
Reading Data with the READ DATA Bit
Section 5-3
Program Example
The work bit R1 is used to begin reading.
DIFU
R1
MOV
#0004
D00404
200814
MOV
#112C
D00405
MOV
#000D
D00406
R1
Read switch
Work bit
Data Transferring
MOV
#01F4
D00407
200113
END
(01)
Set total number of words
to be read from PCU to "4."
Set the read destination
beginning address for PCU
data area to "112C" (transfer
source).
Set the area where the read
data is to be stored to "000D"
(DM Area).
Set the beginning word address
of the DM Area where the read
data is to be stored to "01F4"
(500; transfer destination).
READ DATA
Contents of DM Area after read is completed.
D00500
0 3 E 8
D00501
0 0 0 0
D00502
1 5 7 C
D00503
0 0 0 0
Speed #0
Speed #1
Flag
200113
Ensure that the
Read Data Bit
stays ON until the
Data Transferring
Flag turns ON.
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 ...