【溫馨提示】 dwg后綴的文件為CAD圖,可編輯,無(wú)水印,高清圖,,壓縮包內(nèi)文檔可直接點(diǎn)開(kāi)預(yù)覽,需要原稿請(qǐng)自助充值下載,請(qǐng)見(jiàn)壓縮包內(nèi)的文件,所見(jiàn)才能所得,下載可得到【資源目錄】下的所有文件哦
主程序
main
TITLE=程序注釋
Network 1
LD SM0.0
LPS
A M5.2
= V1038.0
LRD
MOVD VD2, VD1012
LPP
A M4.2
MOVB VB1000, VB1031
Network 2
LD M2.7
EU
LD M4.2
EU
OLD
R M0.2, 46
R Q0.0, 16
R T44, 1
Network 3
LD I2.6
O M4.2
LPS
AN SM0.1
AN I2.7
= M4.2
LRD
A SM0.5
= Q1.7
LPP
= V1030.5
Network 4
LD SM0.0
CALL SBR1
CALL SBR5
Network 5
LD M4.2
EU
S M0.1, 1
R S10.0, 20
Network 6
LDN M4.2
R Q0.0, 15
R V1038.1, 1
END
Network 7 // 網(wǎng)絡(luò)標(biāo)題
// 網(wǎng)絡(luò)注釋
LDN SM0.1
A M0.1
LPS
CALL SBR0
TON T44, +5
A T44
EU
S M1.1, 1
LPP
AW= T44, +1
R M5.2, 1
R S0.0, 100
Network 8 // input
LD V1001.0
A M5.2
AN M4.1
AW<> VW236, +0
EU
MOVW +0, VW2018
MOVW VW236, VW2020
S M4.1, 1
Network 9 // output
LD V1001.1
A M5.2
AN M4.1
AW<> VW250, +0
EU
MOVW VW250, VW2018
MOVW +0, VW2020
S M4.1, 1
Network 10 // 上位機(jī)控制移庫(kù)
// 上位機(jī)控制移庫(kù)
LDB= VB1008, 1
AB>= VB1006, 1
AB<= VB1006, 12
AB>= VB1007, 1
AB<= VB1007, 12
A M5.2
EU
BTI VB1006, VW2018
BTI VB1007, VW2020
S M4.1, 1
Network 11 // 上位機(jī)控制取物
// 上位機(jī)控制取物
LDB>= VB240, 1
AB<= VB241, 12
AB> VB241, 0
A M5.2
EU
BTI VB241, VW2018
MOVW 0, VW2020
S M4.1, 1
Network 12 // 上位機(jī)控制移庫(kù)
// 上位機(jī)控制移庫(kù)
LDW= VW290, 1
AW>= VW292, 1
AW<= VW292, 12
AW>= VW294, 1
AW<= VW294, 12
A M5.2
EU
MOVW VW292, VW2018
MOVW VW294, VW2020
S M4.1, 1
MOVW 0, VW292
MOVW 0, VW294
MOVW 0, VW290
Network 13
LDW= VW292, 0
OW= VW294, 0
MOVW 0, VW290
Network 14 // 觸摸屏出庫(kù)
// 觸摸屏出庫(kù)
LD M5.2
A M5.6
AW< +0, VW238
AW<= VW238, 12
EU
MOVW VW238, VW2018
MOVW 0, VW2020
MOVW +0, VW238
S M4.1, 1
Network 15
LD M4.1
CALL SBR3, VW2018, VW2020
EU
S M0.4, 1
Network 16 // 上位機(jī)復(fù)位
// 上位機(jī)復(fù)位
LDB= VB240, 2
AB= VB241, 0
O M2.7
S M0.1, 1
Network 17
LD SM0.0
MOVW +0, VW236
Network 18
LDN V1004.3
A M5.2
LPS
AN V3.3
MOVW +12, VW236
LRD
AN V3.2
MOVW +11, VW236
LRD
AN V3.1
MOVW +10, VW236
LPP
AN V3.0
MOVW +9, VW236
Network 19
LD V1004.3
A M5.2
LPS
AN V2.3
MOVW +4, VW236
LRD
AN V2.2
MOVW +3, VW236
LRD
AN V2.1
MOVW +2, VW236
LPP
AN V2.0
MOVW +1, VW236
Network 20
LD V2.0
A V2.1
A V2.2
A V2.3
= V1030.2
Network 21
LD V3.0
A V3.1
A V3.2
A V3.3
= V1030.3
Network 22
LDN V2.4
AN V2.5
AN V2.6
AN depot_8
= V1030.4
Network 23
LD SM0.0
MOVW +0, VW250
Network 24
LD M5.2
LPS
A V2.7
MOVW +8, VW250
LRD
A V2.6
MOVW +7, VW250
LRD
A V2.5
MOVW +6, VW250
LPP
A V2.4
MOVW +5, VW250
子程序
initialize
TITLE=子例行程序注釋
Network 1
LDN I0.4
MOVB 0, VB2016
CALL SBR4
Network 2
LD M1.1
S S10.0, 1
Network 3
LSCR S10.0
Network 4
LD SM0.0
R M1.1, 1
S Q0.5, 1
R Q0.4, 1
TON T50, 5
Network 5
LD I0.0
AN M2.3
A T50
A I0.4
AN I0.1
MOVD +500, VD2000
CALL SBR31, 0, +4500
CALL SBR30, 0, +4500, +400, +800, VD2000, VD2004
Network 6
LD I0.2
AN M2.3
A T50
A I0.4
AN I0.3
MOVD +1000, VD2008
CALL SBR31, 1, +5000
CALL SBR30, 1, +5000, +400, +800, VD2008, VD2012
Network 7
LD T50
SCRT S10.1
Network 8
SCRE
Network 9
LSCR S10.1
Network 10
LD SM66.7
A SM76.7
TON T51, +5
A T51
SCRT S10.2
Network 11
SCRE
Network 12
LSCR S10.2
Network 13
LDN I0.0
MOVD -30000, VD2000
CALL SBR31, 0, +4500
CALL SBR30, 0, +4500, +300, +400, VD2000, VD2004
Network 14
LDN I0.2
MOVD -31000, VD2008
CALL SBR31, 1, +5000
CALL SBR30, 1, +5000, +1000, +1500, VD2008, VD2012
Network 15
LD SM0.0
SCRT S10.3
Network 16
SCRE
Network 17
LSCR S10.3
Network 18
LD SM66.7
A SM76.7
LPS
TON T52, +5
A T52
SCRT S10.4
LRD
S Q0.4, 1
LPP
R Q0.5, 1
Network 19
SCRE
Network 20
LSCR S10.4
Network 21
LD I0.6
AN M2.3
AN I0.7
MOVD +100, VD2000
CALL SBR31, 0, +4500
CALL SBR30, 0, +4500, +400, +800, VD2000, VD2004
Network 22
LD SM0.0
SCRT S10.5
Network 23
SCRE
Network 24
LSCR S10.5
Network 25
LD SM66.7
A SM76.7
TON T53, +5
A T53
SCRT S10.6
Network 26
SCRE
Network 27
LSCR S10.6
Network 28
LDN I0.6
MOVD -8000, VD2000
CALL SBR31, 0, +4500
CALL SBR30, 0, +4500, +400, +800, VD2000, VD2004
Network 29
LD SM0.0
SCRT S10.7
Network 30
SCRE
Network 31
LSCR S10.7
Network 32
LD I0.4
A I0.0
A I0.2
= M0.0
Network 33
LD I0.6
A I0.0
A I0.2
A I0.4
R M0.1, 1
S M5.2, 1
R S0.0, 20
S M2.3, 1
R S10.7, 1
Network 34
SCRE
limit
TITLE=子例行程序注釋
Network 1
LDN SM0.1
AN Q0.4
A I0.0
EU
LDN Q0.4
A I0.1
EU
OLD
O I2.7
LDN Q0.5
A I0.6
EU
OLD
LDN Q0.5
A I0.7
EU
OLD
CALL SBR31, 0, +4500
MOVD +0, VD2000
Network 2
LDN SM0.1
A I0.2
EU
O I2.7
LD I0.3
EU
OLD
CALL SBR31, 1, +5000
MOVD +0, VD2008
Network 3
LD SM0.0
CALL SBR6
Network 4
LD SM0.1
CALL SBR4
Network 5
LD M5.2
= V1038.0
coodinate
TITLE=子例行程序注釋
Network 1 // 網(wǎng)絡(luò)標(biāo)題
// 步進(jìn)驅(qū)動(dòng)器均為2細(xì)分
LD SM0.0
MOVW +3200, VW200
MOVW +2500, VW202
MOVW +13650, VW204
MOVW +24980, VW206
Network 2
// coordinate_x0 OLD 170
LD SM0.0
MOVW +3260, VW208
MOVW +10, VW210
Network 3
LD SM0.0
MOVW 806, LW10
MOVW LW10, VW212
+I VW210, VW212
MOVW VW212, VW214
+I LW10, VW214
MOVW VW214, VW216
+I LW10, VW216
MOVW VW218, VW220
+I LW10, VW220
MOVW VW220, VW222
+I LW10, VW222
MOVW VW222, VW224
+I LW10, VW224
Network 4
LD SM0.0
MOVW VW216, VW226
+I +200, VW226
Network 5
LDW= LW0, +0
MOVW VW208, AC1
MOVW VW200, AC2
Network 6
LDW= LW0, +1
OW= LW0, +5
OW= LW0, +9
MOVW VW210, AC1
Network 7
LDW= LW0, +2
OW= LW0, +6
OW= LW0, +10
MOVW VW212, AC1
Network 8
LDW= LW0, +3
OW= LW0, +7
OW= LW0, +11
MOVW VW214, AC1
Network 9
LDW= LW0, +4
OW= LW0, +8
OW= LW0, +12
MOVW VW216, AC1
Network 10
LDW= LW0, +13
OW= LW0, +17
MOVW VW218, AC1
Network 11
LDW= LW0, +14
OW= LW0, +18
MOVW VW220, AC1
Network 12
LDW= LW0, +15
OW= LW0, +19
MOVW VW222, AC1
Network 13
LDW= LW0, +16
OW= LW0, +20
MOVW VW224, AC1
Network 14
LDW= LW0, +1
OW= LW0, +2
OW= LW0, +3
OW= LW0, +4
OW= LW0, +13
OW= LW0, +14
OW= LW0, +15
OW= LW0, +16
MOVW VW202, AC2
Network 15
LDW= LW0, +5
OW= LW0, +6
OW= LW0, +7
OW= LW0, +8
OW= LW0, +17
OW= LW0, +18
OW= LW0, +19
OW= LW0, +20
MOVW VW204, AC2
Network 16
LDW= LW0, +9
OW= LW0, +10
OW= LW0, +11
OW= LW0, +12
MOVW VW206, AC2
Network 17
LDW= LW0, +21
MOVW VW226, AC1
MOVW VW200, AC2
Network 18
LD SM0.0
ITD AC2, LD6
ITD AC1, LD2
convey
TITLE=子例行程序注釋
Network 1
LD SM0.0
MOVD +1290, LD6
MOVD +350, LD15
MOVD +1730, LD19
Network 2
LD M0.4
S S0.0, 1
Network 3
LSCR S0.0
Network 4
LD SM0.0
LPS
MOVW LW0, LW10
AENO
MOVW LW2, LW12
LRD
R M0.4, 1
LRD
R M5.2, 1
LRD
S V1038.1, 1
LRD
R V1038.2, 1
LPP
R V1030.0, 1
Network 5
LD SM0.0
TON T55, +5
S Q0.4, 1
R Q0.5, 1
Network 6
LD T55
SCRT S0.1
Network 7
SCRE
Network 8
LSCR S0.1
Network 9
LDW> LW10, +12
OW< LW10, +0
OW> LW12, +12
OW< LW12, +0
SCRT S1.4
= L14.0
Network 10
LDN L14.0
LPS
AW= LW10, +0
SCRT S0.3
LPP
AW<> LW10, +0
SCRT S2.4
Network 11
SCRE
Network 12
LSCR S0.2
Network 13
LD SM0.0
LPS
AW= LW12, +0
SCRT S3.1
LPP
AW<> LW12, +0
SCRT S1.5
Network 14
SCRE
Network 15
LSCR S0.3
Network 16 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
MOVD LD19, VD2000
CALL SBR4
Network 17
LDD= VD2000, VD2004
A SM66.7
A I0.4
TON T39, +2
Network 18
LD T39
SCRT S0.4
Network 19
SCRE
Network 20
LSCR S0.4
Network 21
LD SM0.0
S Q1.2, 1
TON T56, +10
Network 22
LD T56
SCRT S0.5
Network 23
SCRE
Network 24
LSCR S0.5
Network 25
LD SM0.0
S Q1.0, 1
TON T57, +10
Network 26
LD T57
SCRT S0.6
Network 27
SCRE
Network 28
LSCR S0.6
Network 29
LD SM0.0
R Q1.2, 1
TON T58, +10
Network 30
LD T58
SCRT S0.7
Network 31
SCRE
Network 32
LSCR S0.7
Network 33 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
MOVD LD15, VD2000
CALL SBR4
Network 34
LDD= VD2000, VD2004
A SM66.7
A I0.4
TON T59, +2
Network 35
LD T59
SCRT S1.0
Network 36
SCRE
Network 37
LSCR S1.0
Network 38 // 切換到巷式起重機(jī)運(yùn)行
LD SM0.0
CALL SBR31, 0, +4500
MOVD +0, VD2000
R Q0.4, 1
S Q0.5, 1
TON T60, +5
Network 39
LD T60
SCRT S1.1
Network 40
SCRE
Network 41
LSCR S1.1
Network 42 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
CALL SBR2, LW10, VD2000, VD2008
MOVB 0, VB2016
CALL SBR4
Network 43
LDD= VD2000, VD2004
AD= VD2008, VD2012
A SM66.7
A SM76.7
A I0.4
TON T62, +2
Network 44
LD T62
SCRT S1.2
Network 45
SCRE
Network 46
LSCR S1.2
Network 47
LD SM0.0
S Q1.2, 1
TON T101, +5
Network 48
LD T101
SCRT S1.3
Network 49
SCRE
Network 50
LSCR S1.3
Network 51
LD SM0.0
R Q1.0, 1
S M5.7, 1
TON T102, +5
Network 52
LD T102
SCRT S1.4
Network 53
SCRE
Network 54
LSCR S1.4
Network 55
LD SM0.0
R Q1.2, 1
TON T103, +5
Network 56
LD T103
SCRT S0.2
Network 57
SCRE
Network 58 // 入庫(kù)
// *********************************************************************************
LSCR S1.5
Network 59 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
CALL SBR2, LW12, VD2000, AC0
MOVB 0, VB2016
CALL SBR4
Network 60
LDD= VD2000, VD2004
AD= VD2008, VD2012
A SM66.7
A SM76.7
A I0.4
TON T61, +2
Network 61
LD T61
SCRT S1.6
Network 62
SCRE
Network 63
LSCR S1.6
Network 64 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
LPS
CALL SBR2, LW12, AC0, VD2008
+D LD6, VD2008
AD< VD2008, +0
MOVD +0, VD2008
LRD
MOVB 0, VB2016
LPP
CALL SBR4
Network 65
LDD= VD2000, VD2004
AD= VD2008, VD2012
A SM66.7
A SM76.7
A I0.4
TON T119, +2
Network 66
LD T119
SCRT S1.7
Network 67
SCRE
Network 68
LSCR S1.7
Network 69
LD SM0.0
MOVB 1, VB2016
Network 70
LD SM0.0
CALL SBR4
Network 71
LD I0.5
TON T46, +5
Network 72
LD T46
SCRT S2.0
Network 73
SCRE
Network 74
LSCR S2.0
Network 75 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
LPS
CALL SBR2, LW12, AC0, VD2008
-D LD6, VD2008
AD< VD2008, +0
MOVD +0, VD2008
LPP
CALL SBR4
Network 76
LDD= VD2008, VD2012
A SM76.7
TON T41, +2
Network 77
LD T41
SCRT S2.1
Network 78
SCRE
Network 79
LSCR S2.1
Network 80
LD SM0.0
R M5.7, 1
MOVB 0, VB2016
CALL SBR4
Network 81
LD I0.4
SCRT S2.2
Network 82
SCRE
Network 83
LSCR S2.2
Network 84 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
MOVD -10, VD2000
MOVD -10, VD2008
CALL SBR4
Network 85
LDD= VD2000, VD2004
AD= VD2008, VD2012
A SM66.7
A SM76.7
SCRT S9.7
Network 86
SCRE
Network 87
LSCR S2.4
Network 88 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LDW= LW12, +0
A SM0.0
MOVD LD15, VD2000
CALL SBR4
Network 89
LDD= VD2000, VD2004
OW<> LW12, 0
A SM66.7
A I0.4
TON T104, +5
R Q0.4, 1
S Q0.5, 1
Network 90
LD T104
SCRT S2.5
Network 91
SCRE
Network 92
LSCR S2.5
Network 93 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
LPS
CALL SBR2, LW10, VD2000, VD2008
-D LD6, VD2008
AD< VD2008, +0
MOVD +0, VD2008
LRD
MOVB 0, VB2016
LPP
CALL SBR4
Network 94
LDD= VD2000, VD2004
AD= VD2008, VD2012
A SM66.7
A SM76.7
A I0.4
TON T105, +2
Network 95
LD T105
SCRT S2.6
Network 96
SCRE
Network 97
LSCR S2.6
Network 98
LD SM0.0
MOVB 1, VB2016
Network 99
LD SM0.0
CALL SBR4
Network 100
LD I0.5
TON T106, +5
Network 101
LD T106
SCRT S2.7
Network 102
SCRE
Network 103
LSCR S2.7
Network 104 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
CALL SBR2, LW10, AC0, VD2008
+D LD6, VD2008
CALL SBR4
Network 105
LDD= VD2008, VD2012
A SM76.7
TON T118, +2
Network 106
LD T118
SCRT S3.0
Network 107
SCRE
Network 108
LSCR S3.0
Network 109
LD SM0.0
S M5.7, 1
MOVB 0, VB2016
CALL SBR4
Network 110
LD I0.4
SCRT S0.2
Network 111
SCRE
Network 112
Network 113 // 從巷式起重機(jī)到線(xiàn)上
LSCR S3.1
Network 114 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
CALL SBR2, LW12, AC0, VD2008
MOVB 0, VB2016
CALL SBR4
Network 115
LDD= VD2000, VD2004
AD= VD2008, VD2012
A SM66.7
A SM76.7
A I0.4
TON T107, +2
Network 116
LD T107
SCRT S2.3
Network 117
SCRE
Network 118
LSCR S2.3
Network 119 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
CALL SBR2, LW12, VD2000, AC0
MOVB 0, VB2016
CALL SBR4
Network 120
LDD= VD2000, VD2004
AD= VD2008, VD2012
A SM66.7
A SM76.7
A I0.4
TON T121, +2
Network 121
LD T121
SCRT S3.2
Network 122
SCRE
Network 123
Network 124
LSCR S3.2
Network 125
LD SM0.0
S Q1.2, 1
TON T108, +10
Network 126
LD T108
SCRT S3.3
Network 127
SCRE
Network 128
LSCR S3.3
Network 129
LD SM0.0
S Q1.0, 1
R M5.7, 1
TON T109, +5
Network 130
LD T109
SCRT S3.4
Network 131
SCRE
Network 132
LSCR S3.4
Network 133
LD SM0.0
R Q1.2, 1
TON T112, +10
Network 134
LD T112
SCRT S3.5
Network 135
SCRE
Network 136
LSCR S3.5
Network 137 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
MOVD -10, VD2000
MOVD -10, VD2008
CALL SBR4
Network 138
LDD= VD2000, VD2004
AD= VD2008, VD2012
A SM66.7
A SM76.7
TON T116, +5
S Q0.4, 1
R Q0.5, 1
CALL SBR31, 0, +4500
MOVD +0, VD2000
Network 139
LD T116
SCRT S3.6
Network 140
SCRE
Network 141
LSCR S3.6
Network 142
LD SM0.0
MOVD LD19, AC1
-D LD15, AC1
Network 143 // 網(wǎng)絡(luò)標(biāo)題
// 到位
LD SM0.0
MOVD AC1, VD2000
CALL SBR4
Network 144
LDD= VD2000, VD2004
A SM66.7
A I0.4
TON T111, +2
Network 145
LD T111
SCRT S3.7
Network 146
SCRE
Network 147
LSCR S3.7
Network 148
LD SM0.0
S Q1.2, 1
TON T113, +10
Network 149
LD T113
SCRT S4.0
Network 150
SCRE
Network 151
LSCR S4.0
Network 152
LD SM0.0
R Q1.0, 1
TON T115, +5
Network 153
LD T115
SCRT S4.1
Network 154
SCRE
Network 155
LSCR S4.1
Network 156
LD SM0.0
R Q1.2, 1
TON T117, +5
Network 157
LD T117
S V1030.0, 1
SCRT S9.7
Network 158
SCRE
Network 159
Network 160
LSCR S9.7
Network 161
LD SM0.0
S M0.1, 1
R M5.1, 1
R M5.0, 1
R S9.7, 1
R M0.6, 3
R M0.4, 1
R M4.1, 1
R V1038.1, 1
S V1038.2, 1
Network 162
SCRE
XYZ-axis
TITLE=子程序注釋
Network 1
LDN Q0.4
A Q0.5
LD Q0.4
AN Q0.5
OLD
A I0.4
AD<> VD2000, VD2004
CALL SBR30, 0, +4500, 400, +800, VD2000, VD2004
Network 2
LD I0.4
O I0.5
AD<> VD2008, VD2012
CALL SBR30, 1, +5000, +1000, +3500, VD2008, VD2012
Network 3
LD SM0.0
MOVB VB2016, VB2022
inspect
TITLE=子程序注釋
Network 1 // 網(wǎng)絡(luò)標(biāo)題
// 網(wǎng)絡(luò)注釋
LD SM0.0
LPS
MOVB IB1, VB2
AENO
MOVB IB2, VB3
LRD
MOVB VB2, MB6
AENO
MOVB VB3, MB7
LPP
MOVB VB2, VB1032
AENO
MOVB VB3, VB1033
Z-axis
TITLE=子程序注釋
Network 1 // 網(wǎng)絡(luò)標(biāo)題
// 網(wǎng)絡(luò)注釋
LDB= VB2022, 0
R Q1.1, 1
Network 2
LDB= VB2022, 1
S Q1.1, 1
Network 3 // 網(wǎng)絡(luò)標(biāo)題
// 網(wǎng)絡(luò)注釋
Pls-ch
TITLE=
Network 1
LD SM0.0
MOVD LD1, LD21
+D 16#08000000, LD1
MOVD LD1, AC3
MOVD *AC3, LD17
Network 2
LDD= LD13, *AC3
CRET
Network 3
LD SM0.0
MOVD LD13, AC0
-D *AC3, AC0
MOVD LD13, *AC3
DTR AC0, AC0
DTR LD5, LD29
DTR LD9, LD33
Network 4
// 鋼量轉(zhuǎn)換把mm轉(zhuǎn)換成脈沖數(shù)量
LD SM0.1
/R 1.0, AC0
Network 5
LDR< AC0, 0.0
LPS
AB= LB0, 0
RI Q0.2, 1
LRD
AB= LB0, 1
RI Q0.3, 1
LRD
MOVR -1.0, AC2
*R AC0, AC2
LPP
NOT
LPS
MOVR AC0, AC2
AB= LB0, 0
SI Q0.2, 1
LPP
AB= LB0, 1
SI Q0.3, 1
Network 6
LDR<= AC2, 0.0
CRET
Network 7
LD SM0.0
MOVD LD1, AC3
+D +4, AC3
MOVB 3, *AC3
Network 8
LD SM0.0
MOVD LD1, AC3 //第一端的增量
+D +7, AC3
MOVW -3, *AC3
MOVR 1.0, AC0
/R LD29, AC0
MOVR 1000000.0, AC3
*R AC0, AC3 //第一段的起始周期
ROUND AC3, AC3
MOVD LD1, AC1
+D +5, AC1
DTI AC3, *AC1
MOVR 1.0, AC1
/R LD33, AC1 //第一段的脈沖數(shù)量
*R -1.0, AC1
+R AC0, AC1
/R 3E-006, AC1
MOVD LD1, AC3
+D +9, AC3
ROUND AC1, *AC3
Network 9
LD SM0.0
MOVD LD1, AC3 //第二端的增量
+D +15, AC3
MOVW +0, *AC3
MOVR 1.0, AC1
/R LD33, AC1
*R 1000000.0, AC1 //第二段的起始周期
ROUND AC1, AC1
MOVD LD1, AC3
+D +13, AC3
DTI AC1, *AC3 //第二段的脈沖數(shù)量
ROUND AC2, AC0
MOVD LD1, AC3
+D +9, AC3
-D *AC3, AC0
-D *AC3, AC0
MOVD LD1, AC3
+D +17, AC3
MOVD AC0, *AC3
Network 10
LDB= LB0, 0
AD< *AC3, +0
MOVB 16#85, SMB67
MOVR 1000000.0, AC1
/R LD29, AC1
ROUND AC1, AC1
DTI AC1, SMW68
ROUND AC2, AC1
MOVD AC1, SMD72
PLS 0
CRET
Network 11
LDB= LB0, 1
AD< *AC3, +0
MOVB 16#85, SMB77
MOVR 1000000.0, AC1
/R LD29, AC1
ROUND AC1, AC1
DTI AC1, SMW78
ROUND AC2, AC1
MOVD AC1, SMD82
PLS 1
CRET
Network 12
LD SM0.0
MOVD LD1, AC3 //第三端的增量
+D +23, AC3 //第三段的起始周期
MOVW +3, *AC3 //第三段的脈沖數(shù)量
MOVD LD1, AC3
+D +13, AC3
MOVD LD1, AC2
+D +21, AC2
MOVW *AC3, *AC2
MOVD LD1, AC3
+D +9, AC3
MOVD LD1, AC2
+D +25, AC2
MOVD *AC3, *AC2
Network 13 // 網(wǎng)絡(luò)標(biāo)題
// 網(wǎng)絡(luò)注釋
LDB= LB0, 0
MOVB 16#A0, SMB67
DTI LD21, AC0
MOVW AC0, SMW168
+I +4, SMW168
PLS 0
CRET
Network 14 // 網(wǎng)絡(luò)標(biāo)題
// 網(wǎng)絡(luò)注釋
LDB= LB0, 1
MOVB 16#A0, SMB77
DTI LD21, AC0
MOVW AC0, SMW178
+I +4, SMW178
PLS 1
CRET
Stop-ch
TITLE=
Network 1 // 網(wǎng)絡(luò)標(biāo)題
// 網(wǎng)絡(luò)注釋
LDB= LB0, 0
MOVB 0, SMB67
PLS 0
MOVD 16#08000000, AC1
+D LD1, AC1
MOVR 0.0, *AC1
Network 2 // 網(wǎng)絡(luò)標(biāo)題
// 網(wǎng)絡(luò)注釋
LDB= LB0, 1
MOVB 0, SMB77
PLS 1
MOVD 16#08000000, AC1
+D LD1, AC1
MOVR 0.0, *AC1
Pls-man
TITLE=
Network 1
LDB= LB0, 0
A SM66.7
MOVB 16#85, SMB67
MOVW +2000, SMW68
MOVD +10000, SMD72
PLS 0
Network 2
LDB= LB0, 1
A SM76.7
MOVB 16#85, SMB77
MOVW +2000, SMW78
MOVD +10000, SMD82