![background image](http://html1.mh-extra.com/html/omron/c200h-cp114/c200h-cp114_operation-manual_742477056.webp)
42
Program Examples
Section 4-3
Program Example
25315
a
c
END(01)
d
25315
First Scan Flag
10005
10005
a
10801
10806
10804
DIFU(13)
b
10804
CLC(41)
b
c
25313
d
25506
Memory Load
Completed Flag
(n + 8 bit 04)
Memory Load
Enabled Flag
(n + 8 bit 06)
RUN Mode Flag
(n + 8 bit 01)
Memory Download Bit
(n bit 05)
Memory Load Com-
pleted Flag (n + 8 bit 04)
Always ON Flag
Equals Flag
First Scan Flag
Download
completed
Change data incam
data storage words
Copying
completed
Storage
pointer
Memory Load
Completed Flag
(n + 8 bit 04)
No. of words
Storage
pointer
First word
for cam data
storage
Storage
pointer
Change data incam
data storage words
Storage
pointer
Download
completed
Memory Load Completed Flag (IR 10804) reset at
startup or when c is ON and d is OFF.
#3000 stored in DM 5000 at startup. DM 5000 is
the pointer to the storage area.
If the data to be downloaded has been copied to
DM 0000 to DM 0119, the Cam Positioner Unit is
in RUN mode, downloading is enabled, and the
current download has not been completed, the
Memory Download Bit is turned ON to download
the data in DM 0000 to DM 0119 to the Cam
Positioner Unit.
Also, contents of 120 words of data starting at the
address in DM 5000 (initially DM 3000) are copied
to DM 0000 to DM 0119.
When b turns ON, #0200 is added to the pointer
value in DM 5000 to change the first word for
transfer to DM 0000 to DM 0119.
When the download has been completed, the
Memory Load Completed Flag (IR 10804) turns
ON and b is turned ON for one scan.
Contents of pointer value in DM 5000 compared to
#4200 to see if all the data has been downloaded.
c turns ON when the pointer value has been
changed.
If DM 5000 contains #4200, d is turned ON and
the download processing is stopped.
MOV(21)
#3000
DM 5000
RSET
10804
XFER(70)
#0120
#DM 5000
DM 0000
ADD(30)
#0200
DM 5000
CMP(20)
DM 5000
#4200
Содержание C200H-CP114
Страница 1: ...23 5 7 21 0 18 Cat No W224 E1 2 SYSMAC C200H CP114 Cam Positioner Unit...
Страница 2: ......
Страница 3: ...C200H CP114 Cam Positioner Unit Operation Manual Revised January 2001...
Страница 4: ...iv...
Страница 6: ...vi...
Страница 8: ......
Страница 10: ......
Страница 59: ...45 SECTION 5 Troubleshooting This section provides possible errors and corrections Error Detection 46...
Страница 70: ......