48
Program Examples
Section 3-1
Program Example 8:
Collating Check Code of Data Carrier’s Data
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
execution 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
Data error output
Command error end output
15
DM 0800
DM 0801
DM 0802
DM 0803
DM 0804
4D
44
4B
31
00
10
00
20
2A
0D
00
000F
0010
0011
0012
7
0
002D
002E
002F
0030
Command Data in the CPU
Data in the Data Carrier
Calculation object
Check code
Check area
Address
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...