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