iniLogin[16]="0"
unsigned short i=0,m=0,n=0,j=0,commond=1
bool flag=0,off=0,ON = true,flagLogin=false
GetData...(a[0], "Barcode Scanner/Keyboard", BARCODE, 1, 20)
GetData(m, "Local HMI", RECIPE, "password.Count")...GetData(beforLogin[0], "Local HMI", LW,100,20)
GetData(flagLogin, "Siemens S7-1200/S7-1500", M,77.7,1..."Local HMI", RECIPE, "password.ID")
flag=StringCompare(a[0],beforLogin[0])
if flag==1 then
GetData...(b[0], "Local HMI", RECIPE, "password.ID")
flag=StringCompare(a[0], b[0])
if flag==1 then
GetData