UPS通讯协议(内部)项目PC发指令UPS回应备注1名称RNcrNN****crlfNS***crlfNV***crlf名称,序列号,版本号2状态RScrSOK0/SOK1crlfSBP0/SBP1crlfSUF0/SUF1crlfSBL0/SBL1crlfSBM0/SBM1crlf3数据RDcrDVIA0000.00crlfDVIB0000.00crlfDVIC0000.00crlf输入电压A,B,C相DVOA0000.00crlfDVOB0000.00crlfDVOC0000.00crlf输出电压A,B,C相DLOA0000.00crlfDLOB0000.00crlfDLOC0000.00crlf负载A,B,C相DTMP0000.00crlfDHZF0000.00crlfDVBT0000.00crlf温度,频率,电池电压DTMB0000.00crlf放电时间(Min),负电池电压注A:(2)SOK0/SOK1SBP0/SBP1SUF0/SUF1SBL0/SBL1SBM0/SBM1SOK0:UPS正常SBP0:逆变SUF0:市电供电SBL0:电压正常SBM0:逆变SOK1:UPS异常SBP1:旁路SUF1:市电掉电SBL1:电压低压SBM1:放电(1)NN****NS***NV***NN:upsnameNS:ups序列号NV:ups版本号长度都小于10个汉字注B:通信方式:RS232波特率:2400bps,8位数据,1位停止,无校验位UPS接口:9D母座UPS.2脚(TX)-------PC.2脚(RX)UPS.3脚(RX)-------PC.3脚(TX)UPS.5脚(GND)-------PC.5脚(GND)