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
Содержание 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...