Omron CS1W-NC113 Manual page 124

Hide thumbs Also See for CS1W-NC113:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-nc213Cs1w-nc433Cs1w-nc233Cs1w-nc413Cs1w-nc133

Table of Contents