diff --git a/seq_openclose_shutter.txt b/seq_openclose_shutter.txt new file mode 100644 index 0000000000000000000000000000000000000000..5911302d7808ad404136cd7684b9605c3acaf6fd --- /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