网络1 HSC0设置 HC0启动
LD SM0.0
MOVB 16#F8, SMB37
HDEF 0, 0
MOVD +0, SMD38
HSC 0
网络2 HSC3设置 HC3启动
LD SM0.0
MOVB 16#F8, SMB137
HDEF 3, 0
MOVD +0, SMD138
HSC 3
网络3 HSC5设置,HC1启动
LD SM0.0
MOVB 16#F8, SMB157
HDEF 5, 0
MOVD +0, SMD158
HSC 1
网络4 HSC1设置,HC1启动
LD SM0.0
MOVB 16#F8, SMB47
HDEF 1, 0
MOVD +0, SMD48
中断程序
网络1 计算HC0 温度计算
LD SM0.0
LPS
MOVD HC0, VD900
AENO
DTR VD900, VD904
LRD
MOVR VD904, VD908
-R 200.0, VD908
LRD
MOVR VD908, VD912
/R 10.0, VD912
LRD
MOVR VD912, VD604
LRD
MOVD +0, SMD38
LPP
HSC 0
网络2 计算HC3 湿度计算
LD SM0.0
LPS
MOVD HC3, VD916
AENO
DTR VD916, VD920
LRD
MOVR VD920, VD924
/R 10.0, VD924
LRD
MOVR VD924, VD608
LRD
MOVD +0, SMD138
LPP
HSC 3
网络3 计算HC1 A温度计算
LD SM0.0
LPS
MOVD HC1, VD928
AENO
DTR VD928, VD932
LRD
MOVR VD932, VD936
-R 200.0, VD936
LRD
MOVR VD936, VD940
/R 10.0, VD940
LRD
MOVR VD940, VD718
LRD
MOVD +0, SMD48
LPP
HSC 1
网络4 HC5 B温度计算
LD SM0.0
LPS
MOVD HC5, VD944
AENO
DTR VD944, VD948
LRD
MOVR VD948, VD952
-R 200.0, VD952
LRD
MOVR VD952, VD956
/R 10.0, VD956
LRD
MOVR VD956, VD706
LRD
MOVD +0, SMD158
LPP
HSC 5
主程序
LDN T32
TON T32, +1000
LD SM0.0
ATCH INT_0:INT0, 21
ENI
温湿度传感器用的是哪种的?