From 91ac9f28a30cd650d12eacefc7cee57cb0e6c9f5 Mon Sep 17 00:00:00 2001 From: Lorenzo Pivetta <lorenzo.pivetta@elettra.eu> Date: Mon, 29 May 2023 16:23:58 +0200 Subject: [PATCH] add seq_openclose_shutter.txt --- seq_openclose_shutter.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 seq_openclose_shutter.txt diff --git a/seq_openclose_shutter.txt b/seq_openclose_shutter.txt new file mode 100644 index 0000000..5911302 --- /dev/null +++ b/seq_openclose_shutter.txt @@ -0,0 +1,15 @@ +# +# Description: $cmdvalve shutter $devvalve +# Author: Giulio Gaio +# Date: 2021/01/13 +# +step1;read($devvalve/State) == $final_state ? goto(4) : goto(2);Checking $devvalve $final_state state;Error checking $devvalve $final_state state;-1 +step2;command($devvalve/$cmdvalve) && goto(3);Executing $devvalve $cmdvalve command;Error executing $devvalve $cmdvalve command;-1 +step3;sleep($sleep_monitor) && read($devvalve/State) == $final_state ? goto(4) : goto(3);Waiting $devvalve $final_state;Error waiting $devvalve $final_state;$timeout000 +# +# Wildcards +# $devvalve=scl/vacuum/vlv_scl.01 +# $cmdvalve=Open +# $finale_state=OPEN +# $sleep_monitor=0.3 +# $timeout=10 -- GitLab