![background image](http://html1.mh-extra.com/html/omron/cs1w-213-rev-02-2008/cs1w-213-rev-02-2008_operation-manual_742355153.webp)
128
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 Flag
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
200113
READ DATA Bit
Make sure that the
READ DATA Bit
remains ON until the
Data Transferring
Flag turns ON.
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 ...