你可以把8个位的报警都取上来,然后脚本中判断其中的位。
vbs中:dim tag
tag=hmiruntime.tags("tag1").read
if tag and 0x1 then
第一位为1需要处理的程序
end if
if tag and 0x2 then
第二位为1需要处理的程序
end if
if tag and 0x4 then
第三位为1需要处理的程序
end if
if tag and 0x8 then
第四位为1需要处理的程序
end if
if tag and 0x10 then
第五位为1需要处理的程序
end if
.................................