;0x1200 Modbus通用测试用 [comm] debug=1 ;打开调试输出信息 默认0(不打开) delay=50 ;采集指令延时,单位 ms 默认10 mask=0 ;保留 model=OM-MDBS5040 ;型号 添加支持类型用 note=D86MODBUS协议 ;说明 添加支持类型用 ;brief=L0: %1st% ,L1: %2st% ,L2: %3st% ,L3: %4st% ,L4: %5st% ,L5: %6st% ,L6: %7st% ,L7: %8st% , ;简报 %x%为某字段值 简报中不能带分号; [regs4] 2=2 2bit=2 [flds] cnt=16 1=30003-0 ;第L0路开关量输入状态 2=30003-1 ;第L1路开关量输入状态 3=30003-2 ;第L2路开关量输入状态 4=30003-3 ;第L3路开关量输入状态 5=30003-4 ;第L4路开关量输入状态 6=30003-5 ;第L5路开关量输入状态 7=30003-6 ;第L6路开关量输入状态 8=30003-7 ;第L7路开关量输入状态 9=30003-8 ;第B1路开关量输入状态 10=30003-9 ;第B2路开关量输入状态 11=30003-10 ;第B3路开关量输入状态 12=30003-11 ;第B4路开关量输入状态 13=30003-12 ;第B5路开关量输入状态 14=30003-13 ;第B6路开关量输入状态 [flds.def] ;x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2 1='L0',1,'L0状态',0,1,0,0,'0:断开, 1:闭合',0,'' 2='L1',1,'L1状态',0,1,0,0,'0:断开, 1:闭合',0,'' 3='L2',1,'L2状态',0,1,0,0,'0:断开, 1:闭合',0,'' 4='L3',1,'L3状态',0,1,0,0,'0:断开, 1:闭合',0,'' 5='L4',1,'L4状态',0,1,0,0,'0:断开, 1:闭合',0,'' 6='L5',1,'L5状态',0,1,0,0,'0:断开, 1:闭合',0,'' 7='L6',1,'L6状态',0,1,0,0,'0:断开, 1:闭合',0,'' 8='L7',1,'L7状态',0,1,0,0,'0:断开, 1:闭合',0,'' 9='B1',1,'B1状态',0,1,0,0,'0:断开, 1:闭合',0,'' 10='B2',1,'B2状态',0,1,0,0,'0:断开, 1:闭合',0,'' 11='B3',1,'B3状态',0,1,0,0,'0:断开, 1:闭合',0,'' 12='B4',1,'B4状态',0,1,0,0,'0:断开, 1:闭合',0,'' 13='B5',1,'B5状态',0,1,0,0,'0:断开, 1:闭合',0,'' 14='B6',1,'B6状态',0,1,0,0,'0:断开, 1:闭合',0,'' ;15='B7',1,'B7状态',0,1,0,0,'0:断开, 1:闭合',0,'' ;16='B8',1,'B8状态',0,1,0,0,'0:断开, 1:闭合',0,''