![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h-ids01-v1/sysmac-c200h-ids01-v1_operation-manual_743943065.webp)
50
Program Examples
Section 3-1
Program Example 9:
Checking Number of Overwriting Operations on Data Carrier
Note
When using the MD-S command, write in advance the number of overwriting
operations onto the number of writing operations area using the write com-
mand. It will be “0493E0” for a DC with the number of overwriting operations
set for 300,000 operations.
10407
10000
ANDW(34)
104
#FF00
DM0810
CMP(20)
DM0810
#0000
10909
10908
MOV(21)
#0005
101
MOV(21)
#0800
102
10906
10906
DIFD(14)
10908
10400
10906
10400
25506
10910
10407
Command exe-
cution input
ID busy
Equal flag DC warning
Equal flag
Sets the number of words in the command data to 5 words.
Sets the beginning word where the command data is stored to
DM 0800.
Holds the status until the ID Sensor Unit begins executing the
command.
Command execution flag
Processing end
Judges the result of processing
Output for excessive overwriting operations
Command error end output
15
DM 0800
DM 0801
DM 0802
DM 0803
DM 0804
4D
44
4C
31
00
80
00
10
2A
0D
00
007F
0080
0081
0082
Address 7
0
0084
0083
Command Data of PC when
using MD-L Command
Data in the Data Carrier
Number of writing
operations area
15
DM 0800
DM 0801
DM 0802
DM 0803
DM 0804
4D
44
53
31
00
80
00
01
2A
0D
00
MD
S1
*
Command Data of PC when
using MD-S Command
Содержание SYSMAC C200H-IDS01-V1
Страница 1: ...OPERATION MANUAL ID Sensor SYSMAC C200H IDS01 V1 IDS21 Cat No W153 E1 04...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS Glossary 89 Index 91 Revision History 95...
Страница 9: ......
Страница 15: ...xvi Application Precautions 5...
Страница 25: ......
Страница 95: ......
Страница 97: ......
Страница 98: ...83 Appendix C ASCII Code List ASCII Code List Lower digit lower 4 bits Higher digit higher 4 bits...
Страница 99: ......
Страница 103: ......
Страница 109: ......
Страница 111: ......
Страница 114: ...SYSMAC C200H IDS01 V1 IDS21 ID Sensor Cat No W153 E1 04 OPERATION MANUAL...