;创建者:王剑锋 ;创建时间:2011.11.22 P.M. ;协议名称: ;首次使用项目: ;注意,首次写ini文件,Index的超始值是0 #Rs232协议命令 [CMD] #;命令总数 cmd-count=95 ;0x33 ;第2字节; cmd-1=旁路已安装 cmd-2=输出开关关闭 cmd-3=转旁路 cmd-4=由电池供电 cmd-5=逆变器工作 cmd-6=电池备用时间报警 cmd-7=整流器工作 ;第4字节; cmd-8=旁路准备就绪 cmd-9=负荷开关 cmd-10=逆变器输出开关 cmd-11=电池开关 cmd-12=静态旁路开关 cmd-13=旁路开关 cmd-14=整流器输入开关 ;0x34 cmd-15=输出线电压AB cmd-16=输出线电压BC cmd-17=输出线电压AC cmd-18=输入线电压AB cmd-19=输入线电压BC cmd-20=输入线电压AC cmd-21=旁路输入线电压AB cmd-22=旁路输入线电压BC cmd-23=旁路输入线电压CA cmd-24=A相输入电流 cmd-25=B相输入电流 cmd-26=C相输入电流 cmd-27=输出功率(W) cmd-28=输入功率(W) cmd-29=输出视在功率(VA) cmd-30=输入视在功率(VA) cmd-31=输出功率因子 cmd-32=输入功率因子 cmd-33=输出频率 cmd-34=输入频率 cmd-35=逆变器频率 cmd-36=旁路频率 cmd-37=电池电流 cmd-38=电池电压 cmd-39=电池剩余百分比 cmd-40=电池剩余时间 cmd-41=逆变器A相电压 cmd-42=逆变器B相电压 cmd-43=逆变器C相电压 cmd-44=A相负载电流 cmd-45=B相负载电流 cmd-46=C相负载电流 cmd-47=A相电流输出比率 cmd-48=B相电流输出比率 cmd-49=C相电流输出比率 cmd-50=电压比率 cmd-51=A相输出电压 cmd-52=B相输出电压 cmd-53=C相输出电压 ;0x35 cmd-54=逆变器电压过压 cmd-55=逆变器电压欠压 cmd-56=逆变器频率越限 cmd-57=旁路电压过压 cmd-58=旁路电压欠压 cmd-59=旁路频率越限 cmd-60=输入电压过压 cmd-61=输入电压欠压 cmd-62=输入频率越限 cmd-63=输出电压过压 cmd-64=输出电压欠压 cmd-65=输出频率越限 cmd-66=输出过载 cmd-67=直流电压过压 cmd-68=直流电压欠压 cmd-69=整流器故障 cmd-70=逆变器故障 cmd-71=电池连接故障 cmd-72=旁路开关故障 cmd-73=整流器未标定 cmd-74=输出未标定 cmd-75=逆变器未标定 cmd-76=电池电流越限 cmd-77=输出电流超过额定电流 cmd-78=关机 cmd-79=电池欠压 cmd-80=电池直流电压过压 cmd-81=供电故障 cmd-82=散热器超温 cmd-83=散热器温感故障 cmd-84=网络不响应 cmd-85=输入相序故障 cmd-86=紧急关机 cmd-87=旁路输入掉电 cmd-88=电池开关打开 cmd-89=逆变器连接断开 cmd-90=电池完全放电 cmd-91=电池未充电 cmd-92=由电池供电 cmd-93=转旁路工作 cmd-94=电池需替换 cmd-95=风扇故障 ;***************************************************** ;旁路已安装 [cmd-1] SendCmd=33 Index=1 Len=1 Sbit=0 Ebit=0 type=BIT ;输出开关关闭 [cmd-2] SendCmd=33 Index=1 Len=1 Sbit=1 Ebit=1 type=BIT ;转旁路 [cmd-3] SendCmd=33 Index=1 Len=1 Sbit=2 Ebit=2 type=BIT ;由电池供电 [cmd-4] SendCmd=33 Index=1 Len=1 Sbit=3 Ebit=3 type=BIT ;逆变器工作 [cmd-5] SendCmd=33 Index=1 Len=1 Sbit=4 Ebit=4 type=BIT ;电池备用时间报警 [cmd-6] SendCmd=33 Index=1 Len=1 Sbit=5 Ebit=5 type=BIT ;整流器工作 [cmd-7] SendCmd=33 Index=1 Len=1 Sbit=6 Ebit=6 type=BIT ;旁路准备就绪 [cmd-8] SendCmd=33 Index=1 Len=1 Sbit=7 Ebit=7 type=BIT ;负荷开关 [cmd-9] SendCmd=33 Index=3 Len=1 Sbit=2 Ebit=2 type=BIT ;逆变器输出开关 [cmd-10] SendCmd=33 Index=3 Len=1 Sbit=3 Ebit=3 type=BIT ;电池开关 [cmd-11] SendCmd=33 Index=3 Len=1 Sbit=4 Ebit=4 type=BIT ;静态旁路开关 [cmd-12] SendCmd=33 Index=3 Len=1 Sbit=5 Ebit=5 type=BIT ;旁路开关 [cmd-13] SendCmd=33 Index=3 Len=1 Sbit=6 Ebit=6 type=BIT ;整流器输入开关 [cmd-14] SendCmd=33 Index=3 Len=1 Sbit=7 Ebit=7 type=BIT ;***************-------0x34--------************ ;输出相电压AB [cmd-15] SendCmd=34 Index=0 Len=4 type=HEX ;输出相电压BC [cmd-16] SendCmd=34 Index=4 Len=4 type=HEX ;输出相电压AC [cmd-17] SendCmd=34 Index=8 Len=4 type=HEX ;输入相电压AB [cmd-18] SendCmd=34 Index=12 Len=4 type=HEX ;输入相电压BC [cmd-19] SendCmd=34 Index=16 Len=4 type=HEX ;输入相电压AC [cmd-20] SendCmd=34 Index=20 Len=4 type=HEX ;旁路输入相电压AB [cmd-21] SendCmd=34 Index=24 Len=4 type=HEX ;旁路输入相电压BC [cmd-22] SendCmd=34 Index=28 Len=4 type=HEX ;旁路输入相电压CA [cmd-23] SendCmd=34 Index=32 Len=4 type=HEX ;输入电流A相 [cmd-24] SendCmd=34 Index=36 Len=4 type=HEX ;输入电流B相 [cmd-25] SendCmd=34 Index=40 Len=4 type=HEX ;输入电流C相 [cmd-26] SendCmd=34 Index=44 Len=4 type=HEX ;输出有功功率(W) [cmd-27] SendCmd=34 Index=48 Len=4 type=HEX ;输入有功功率(W) [cmd-28] SendCmd=34 Index=52 Len=4 type=HEX ;输出视在功率(VA) [cmd-29] SendCmd=34 Index=56 Len=4 type=HEX ;输入视在功率(VA) [cmd-30] SendCmd=34 Index=60 Len=4 type=HEX ;输出功率因子 [cmd-31] SendCmd=34 Index=64 Len=4 type=FLOAT ;输入功率因子 [cmd-32] SendCmd=34 Index=68 Len=4 type=FLOAT ;输出频率 [cmd-33] SendCmd=34 Index=72 Len=4 type=HEX ;输入频率 [cmd-34] SendCmd=34 Index=76 Len=4 type=HEX ;逆变器频率 [cmd-35] SendCmd=34 Index=80 Len=4 type=HEX ;旁路频率 [cmd-36] SendCmd=34 Index=84 Len=4 type=HEX ;电池电流 [cmd-37] SendCmd=34 Index=88 Len=4 type=FLOAT ;电池电压 [cmd-38] SendCmd=34 Index=92 Len=4 type=HEX ;电池剩余百分比 [cmd-39] SendCmd=34 Index=96 Len=4 type=HEX ;电池剩余时间 [cmd-40] SendCmd=34 Index=100 Len=4 type=HEX ;逆变器A相电压 [cmd-41] SendCmd=34 Index=104 Len=4 type=HEX ;逆变器B相电压 [cmd-42] SendCmd=34 Index=108 Len=4 type=HEX ;逆变器C相电压 [cmd-43] SendCmd=34 Index=112 Len=4 type=HEX ;负载电流A相 [cmd-44] SendCmd=34 Index=116 Len=4 type=HEX ;负载电流B相 [cmd-45] SendCmd=34 Index=120 Len=4 type=HEX ;负载电流C相 [cmd-46] SendCmd=34 Index=124 Len=4 type=HEX ;电流输出比率A相 [cmd-47] SendCmd=34 Index=128 Len=4 type=HEX ;电流输出比率B相 [cmd-48] SendCmd=34 Index=132 Len=4 type=HEX ;电流输出比率C相 [cmd-49] SendCmd=34 Index=136 Len=4 type=HEX ;电压比率 [cmd-50] SendCmd=34 Index=140 Len=4 type=HEX ;输出电压A相 [cmd-51] SendCmd=34 Index=152 Len=4 type=HEX ;输出电压B相 [cmd-52] SendCmd=34 Index=156 Len=4 type=HEX ;输出电压C相 [cmd-53] SendCmd=34 Index=160 Len=4 type=HEX ;**********-----------0x35----------********* ;逆变器电压过压 [cmd-54] SendCmd=35 Index=0 Len=1 Sbit=0 Ebit=0 type=BIT ;逆变器电压欠压 [cmd-55] SendCmd=35 Index=0 Len=1 Sbit=1 Ebit=1 type=BIT ;逆变器频率越限 [cmd-56] SendCmd=35 Index=0 Len=1 Sbit=2 Ebit=2 type=BIT ;旁路电压过压 [cmd-57] SendCmd=35 Index=0 Len=1 Sbit=3 Ebit=3 type=BIT ;旁路电压欠压 [cmd-58] SendCmd=35 Index=0 Len=1 Sbit=4 Ebit=4 type=BIT ;旁路频率越限 [cmd-59] SendCmd=35 Index=0 Len=1 Sbit=5 Ebit=5 type=BIT ;输入电压过压 [cmd-60] SendCmd=35 Index=0 Len=1 Sbit=6 Ebit=6 type=BIT ;输入电压欠压 [cmd-61] SendCmd=35 Index=0 Len=1 Sbit=7 Ebit=7 type=BIT ;输入频率越限 [cmd-62] SendCmd=35 Index=1 Len=1 Sbit=0 Ebit=0 type=BIT ;输出电压过压 [cmd-63] SendCmd=35 Index=1 Len=1 Sbit=1 Ebit=1 type=BIT ;输出电压欠压 [cmd-64] SendCmd=35 Index=1 Len=1 Sbit=2 Ebit=2 type=BIT ;输出频率越限 [cmd-65] SendCmd=35 Index=1 Len=1 Sbit=3 Ebit=3 type=BIT ;输出过载 [cmd-66] SendCmd=35 Index=3 Len=1 Sbit=1 Ebit=1 type=BIT ;直流电压过压 [cmd-67] SendCmd=35 Index=3 Len=1 Sbit=4 Ebit=4 type=BIT ;直流电压欠压 [cmd-68] SendCmd=35 Index=3 Len=1 Sbit=5 Ebit=5 type=BIT ;整流器故障 [cmd-69] SendCmd=35 Index=3 Len=1 Sbit=6 Ebit=6 type=BIT ;逆变器故障 [cmd-70] SendCmd=35 Index=3 Len=1 Sbit=7 Ebit=7 type=BIT ;电池连接故障 [cmd-71] SendCmd=35 Index=4 Len=1 Sbit=0 Ebit=0 type=BIT ;旁路开关故障 [cmd-72] SendCmd=35 Index=4 Len=1 Sbit=1 Ebit=1 type=BIT ;整流器未标定 [cmd-73] SendCmd=35 Index=4 Len=1 Sbit=7 Ebit=7 type=BIT ;输出未标定 [cmd-74] SendCmd=35 Index=5 Len=1 Sbit=0 Ebit=0 type=BIT ;逆变器未标定 [cmd-75] SendCmd=35 Index=5 Len=1 Sbit=1 Ebit=1 type=BIT ;电池电流越限 [cmd-76] SendCmd=35 Index=5 Len=1 Sbit=7 Ebit=7 type=BIT ;输出电流超过额定电流 [cmd-77] SendCmd=35 Index=6 Len=1 Sbit=2 Ebit=2 type=BIT ;关机 [cmd-78] SendCmd=35 Index=6 Len=1 Sbit=7 Ebit=7 type=BIT ;电池欠压 [cmd-79] SendCmd=35 Index=7 Len=1 Sbit=0 Ebit=0 type=BIT ;电池直流电压过压 [cmd-80] SendCmd=35 Index=8 Len=1 Sbit=4 Ebit=4 type=BIT ;供电故障 [cmd-81] SendCmd=35 Index=8 Len=1 Sbit=6 Ebit=6 type=BIT ;散热器超温 [cmd-82] SendCmd=35 Index=9 Len=1 Sbit=1 Ebit=1 type=BIT ;散热器温感故障 [cmd-83] SendCmd=35 Index=9 Len=1 Sbit=2 Ebit=2 type=BIT ;网络不响应 [cmd-84] SendCmd=35 Index=10 Len=1 Sbit=5 Ebit=5 type=BIT ;输入相序故障 [cmd-85] SendCmd=35 Index=11 Len=1 Sbit=2 Ebit=2 type=BIT ;紧急关机 [cmd-86] SendCmd=35 Index=12 Len=1 Sbit=1 Ebit=1 type=BIT ;旁路输入掉电 [cmd-87] SendCmd=35 Index=13 Len=1 Sbit=1 Ebit=1 type=BIT ;电池开关打开 [cmd-88] SendCmd=35 Index=13 Len=1 Sbit=3 Ebit=3 type=BIT ;逆变器连接断开 [cmd-89] SendCmd=35 Index=13 Len=1 Sbit=4 Ebit=4 type=BIT ;电池完全放电 [cmd-90] SendCmd=35 Index=15 Len=1 Sbit=6 Ebit=6 type=BIT ;电池未充电 [cmd-91] SendCmd=35 Index=18 Len=1 Sbit=7 Ebit=7 type=BIT ;转电池供电 [cmd-92] SendCmd=35 Index=21 Len=1 Sbit=0 Ebit=0 type=BIT ;转旁路供电 [cmd-93] SendCmd=35 Index=21 Len=1 Sbit=1 Ebit=1 type=BIT ;电池需替换 [cmd-94] SendCmd=35 Index=23 Len=1 Sbit=7 Ebit=7 type=BIT ;风扇故障 [cmd-95] SendCmd=35 Index=24 Len=1 Sbit=1 Ebit=1 type=BIT #Rs232协议命令类型 [TYPE] #类型总数 type-count=95 type-1=PB9315