Communications Programs (SYSMAC C200HX/HG/HE PCs) | Chapter 7 | |
|
|
|
HLadder Program
01000 (Program Start Input Bit)
DIFU (013)
01001
01001
01001
MOVD (083)
DM0007
#0012
25506 (Equals Flag) |
BSET (071)
#0000
DM0200
DM0220
DVB (053)
DM0002
#0002
DM0200
CMP (020)
#0000
DM0201
ADB (050)
#0001
DM0200
DM0200
ADB (050)
#0004
DM0200
DM0200
BCD (024)
DM0200
DM0202
MOVD (083)
DM0005
#0210
DM0203
MOVD (083)
DM0006
#0012
DM0203
MOVD (083)
DM0204
MOVD (083)
DM0007
#0210
DM0205
MOVD (083)
DM0008
#0012
DM0205
MOVD (083)
DM0008
#0210
DM0206
MOVD (083)
DM0009
#0012
DM0206
MOVD (083)
DM0000
#0210
DM0210
ORW (035)
DM0210
DM0001
DM0220
BSET (071)
#0000
DM2000
DM2009
MOV (021)
DM0006
#0210
DM0204
#0001
000
Converts to IOWR instruction data from the specified DM areas (DM 0000 to DM 0009).
Clears the data storage area.
Sets the 000 word used for shift register to “1.”