支撐目標(biāo)運(yùn)動(dòng)機(jī)構(gòu)技術(shù)設(shè)計(jì)
支撐目標(biāo)運(yùn)動(dòng)機(jī)構(gòu)技術(shù)設(shè)計(jì),支撐,支持,目標(biāo),運(yùn)動(dòng),機(jī)構(gòu),技術(shù)設(shè)計(jì)
主程序:
TITLE=程序注釋
Network 1 // 網(wǎng)絡(luò)標(biāo)題
LD SM0.1
AN I0.5
S Q0.1, 1
R Q0.0, 1
CALL SBR0
PLS 0
S M1.0, 1
S M1.1, 1
Network 2
LD M1.0
AN I0.3
R Q0.1, 1
R M1.0, 1
Network 3
LD M1.1
A I0.5
R SM67.7, 1
PLS 0
R M1.1, 1
Network 4
LD M1.2
AN M1.4
R Q0.1, 1
S SM67.7, 1
CALL SBR1
PLS 0
ATCH INT0, 0
S M1.2, 1
Network 5
LD M1.4
AN M1.2
S Q0.0, 1
S SM67.7, 1
CALL SBR1
PLS 0
ATCH INT0, 0
S M1.4, 1
初始化子程序:
Network 1 // 網(wǎng)絡(luò)標(biāo)題
LD SM0.0
MOVB 16#AC, SMB67
MOVW 500, SMW168
MOVB 16, VB500
MOVW 5, VW501
MOVW 0, VW503
MOVD 45, VD505
MOVW 5, VW509
MOVW +0, VW511
MOVD 30000, VD513
MOVW 5, VW517
MOVW 0, VW519
MOVD 17, VD521
工作子程序:
Network 1
LD M1.2
O M1.4
MOVD VD100, VD110
*D +60, VD110
DTR VD110, VD120
MOVR VD120, VD130
/R 1.5, VD130
MOVR VD130, VD140
-R 33.0, VD140
ROUND VD140, VD150
R M1.4, 1
R M1.4, 1
Network 2 // 網(wǎng)絡(luò)標(biāo)題
LD SM0.0
MOVB 16#AC, SMB67
MOVW 500, SMW168
MOVB 3, VB500
MOVW 37, VW501
MOVW 0, VW503
MOVD 16, VD505
MOVW 37, VW509
MOVW +0, VW511
MOVD VD150, VD513
MOVW 37, VW517
MOVW 0, VW519
MOVD 17, VD521
中斷程序:
LD SM0.0
R SM67.7, 1
PLS 0
收藏