R Q2.0, 1 R M1.2, 1 R V44.3, 1 R V28.3, 1 LRD
AB= VB50, 21 R Q2.1, 1 R M1.2, 1 R V44.4, 1 R V28.4, 1 LPP
S M0.4, 1 R M0.2, 1
Network 37 // 开门延时
LD 开关门过程:M0.3 A T37 LPS
AB= VB50, 22 R Q2.2, 1 R M1.3, 1 R V44.5, 1 R V28.5, 1 LRD
AB= VB50, 23 R Q2.3, 1 R M1.3, 1 R V44.6, 1 R V28.6, 1 LRD
AB= VB50, 24 R Q2.4, 1 R M1.4, 1 R V44.7, 1 R V28.7, 1 LPP
AB= VB50, 25 R Q2.5, 1 R M1.4, 1 R V45.0, 1 R V29.0, 1
烟台大学毕业论文(设计)
Network 38
// 同上
LD M0.3 A T37
AB= VB50, 26 R Q2.6, 1 R M1.5, 1 R V45.1, 1 R V29.1, 1
Network 39 // 开门关门控制 LD M0.3 AN Q0.3 AN Q0.2 LPS
LD M0.4 O I3.3 O M0.5 AN I3.6 AN I3.4 ALD
= Q0.4 R T38, 1 = M0.5 AN Q0.5 R M0.4, 1 LRD
LD I3.6 O M0.6 AN I3.3 AN I3.4 AN M0.4 ALD
TON T38, 20 = M0.6 LPP
LD T38 O I3.4 O M0.7 AN I3.7 AN I3.3 AN M0.4 ALD
45
烟台大学毕业论文(设计)
= Q0.5 = M0.7 Network 40
// 以下4个网络不要删除 LDN M0.3 LPS
A Q0.2
MOVW 900, VW2 LPP
A Q0.3
MOVW 700, VW2 Network 41 LD M0.3 LPS
A Q0.4
MOVW 900, VW4 LPP
A Q0.5
MOVW 900, VW4 Network 42 LDN M0.3 = L60.0 LD Q0.2 O Q0.3 = L63.7 LD L60.0
CALL SBR2, L63.7, 1000, VW1400, VB0 Network 43 LD M0.3 = L60.0 LD Q0.4 O Q0.5 = L63.7 LD L60.0
CALL SBR3, L63.7, 1000, VW4, VB0 Network 44 // 于从站通讯 LD SM0.0
CALL SBR0, 0, M0.0, M0.1 Network 45 LD M8.1 LPS
LD Q0.2 O Q0.3
O M0.3
ALD
R V40.4, 1 LPP
AN Q0.2 AN Q0.3 AN M0.3 S V40.4, 1 Network 46 Network 47
// 主站有请求时判断给主站还是从站LD M8.1 LPS
A V22.0 EU
AN V44.0 AN V26.0
CALL SBR5, 1, V44.0, V26.0 LRD
A V22.1 EU
AN V44.1 AN V26.1
CALL SBR5, 2, V44.1, V26.1 LRD
A V22.2 EU
AN V44.2 AN V26.2
CALL SBR4, 2, V44.2, V26.2 LRD
A V22.3 EU
AN V44.3 AN V26.3
CALL SBR4, 3, V44.3, V26.3 LRD
A V22.4 EU
AN V44.4 AN V26.4
CALL SBR5, 3, V44.4, V26.4 LRD
A V22.5
46