图片:
图片:
威纶通把汉字赋值到LW
macro_command main()
char opera1[8]="操作员1"
char opera2[8]="操作员2"
char opera3[8]="操作员3"
char opera4[8]="工程师"
char opera5[8]="管理员"
SetData(opera1[0], "Local HMI", LW, 910, 8)
SetData(opera2[0], "Local HMI", LW, 920, 8)
SetData(opera3[0], "Local HMI", LW, 930, 8)
SetData(opera4[0], "Local HMI", LW, 940, 8)
SetData(opera5[0], "Local HMI", LW, 950, 8)
end macro_command