qq240559043
干就完了
級別: 略有小成
|
if ModeB_Aerate == true then StringGet(QR[0], "OMRON EtherNet/IP (NJ/NX Series)", "VAR://氣密性二維碼[0]", 20) //驗證讀PLC存儲的二維碼 //StringGet(QR[0], "Local HMI", LW, 100, 10) GetData(ModeB_AerateOK, "OMRON EtherNet/IP (NJ/NX Series)", "VAR://充氣完成提示", 1) GetData(ModeB_AerateNG, "OMRON EtherNet/IP (NJ/NX Series)", "VAR://AL充氣超時", 1) if Formula_Count >= Formula_Limit then SetData(zero, "Local HMI", RECIPE, "DATA1.Count") //選中第一個數據 SetData(Formula_Delete, "Local HMI", RECIPE, "DATA1.Command") //刪除選中數據 end if [ 此帖被qq240559043在2022-02-26 13:38重新編輯 ] |
---|---|
|