恭喜,你发布的帖子
发布于 2025-08-18 11:35:29
3楼
自己摸索出来了,已解决。脚本如下:
Sub login_by_pwd()
'------密码从PLC中获取时-------
If SmartTags("HMI_ZMS_pwd")<>SmartTags("ZMS_pwd") Then
SmartTags("HMI_ZMS_pwd_flag")=1
Else
SmartTags("HMI_ZMS_pwd_flag")=0
ActivateScreen "画面名称",0
End If
End Sub
请填写推广理由:
分享
只看
楼主