short name[5]
short i,index=0,number[3]={1,2,3}
bool ON=true
for i=0 to 17
GetData(name[0],"Local HMI",RW,0+index,5)
SetData(name[0],"Local HMI",LW,3000+index,5)
index=index+10
next
SetData(number[0],"Local HMI",RW,2000,3)
SetData(ON,"Local HMI",LB,0,1)
请高手帮忙解答一下,不胜感激!