Communications Programs (SYSMAC C200HX/HG/HE PCs) | Chapter 7 | |
|
|
|
Master Unit: Node 0
01001
MOV (021)
#00FE
DM0500
MOV (021)
#8207
DM1000
MOV (021)
#D000
DM1001
MOV (021)
#0064
DM1002
MOV (021)
DM0002
DM1003
10112 |
| |
00002 Message Communications Enabled Flag |
| |
| CMP (020) | |
| #0000 | |
| DM2001 | |
25506 (Equals Flag) |
| |
| MOV (021) | |
| DM2001 | |
| DM0100 | |
| ASR (026) | |
| 000 | |
| ASR (026) | |
| 000 | |
25506 (Equals Flag) |
| |
| MOV (021) | |
Checks FINS end code. | #0000 | |
| ||
If an error is found, the IOWR | 000 | |
instruction is executed again. If | 03001 | |
the code is correct, the program | ||
| ||
will be terminated. |
|
MOV (021)
#2801
DM1004
MOV (021)
DM0220
DM1005
MOV (021)
DM0003
0000003001
03000
10112
00000 Message Communications Enabled Flag
03000
ASL (025)
000
DM1006
MOV (021)
DM0004
DM1007
MOV (021)
DM0203
DM1008
MOV (021)
DM0204
00001 | 25506 (Equals Flag) |
| ||||||
|
|
|
|
|
|
|
|
|
|
|
| 25506 (Equals Flag) |
| ||||
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
When the Master Unit No. is 0.
IOWR (223)
DM0500
DM1000
DM0202
ASR (026)
000
ASL (025)
000
DM1009
MOV (021)
DM0205
DM1010
MOV (021)
DM0206
DM1011
Sets IOWR instruction.
Executes and checks the execution of IOWR instruction.