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
Summary of Contents for SYSMAC C200H-IDS01-V1
Page 1: ...OPERATION MANUAL ID Sensor SYSMAC C200H IDS01 V1 IDS21 Cat No W153 E1 04...
Page 3: ...iv...
Page 5: ...vi...
Page 7: ...viii TABLE OF CONTENTS Glossary 89 Index 91 Revision History 95...
Page 9: ......
Page 15: ...xvi Application Precautions 5...
Page 25: ......
Page 95: ......
Page 97: ......
Page 99: ......
Page 103: ......
Page 109: ......
Page 111: ......
Page 114: ...SYSMAC C200H IDS01 V1 IDS21 ID Sensor Cat No W153 E1 04 OPERATION MANUAL...