Do drin fail3 and emergency stop

This commit is contained in:
wanlop run 2025-01-16 17:13:58 +07:00
parent ae09db0c29
commit 673fa13a8a
14 changed files with 378 additions and 876 deletions

View file

@ -28,14 +28,6 @@
Var show_error_normal = "Invisible"
Var show_error_sp1 = "Enable"
;If EmergencyStop = "true" Then
; Var stop_now = "true"
; If show_eng = "true" Then
; Var DirImage = "ROOT/taobin_project/image/vending_error_en/"
; Else
; Var DirImage = "ROOT/taobin_project/image/vending_error"
; EndIf
;EndIf
If SpiralOnline = "true"
If show_eng = "true" Then
@ -156,6 +148,7 @@
Var TimeOut = 0
Var textStep = 0
Var TimeoutForCloseDoor = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -180,7 +173,14 @@
EndIf
Else
Var EmergencyStop = "true"
Var TimeoutForCloseDoor = TimeoutForCloseDoor + 1
If TimeoutForCloseDoor > 45 Then
Var TimeoutForCloseDoor = 0
Machine DoorClose
EndIf
;Var EmergencyStop = "true"
EndIf
If EmergencyStop = "true" Then