Shutter: Move status FLNK to last strin msg
Test And Build / Build (push) Successful in 4s

This commit is contained in:
2026-04-10 10:22:15 +02:00
parent d6a500f18b
commit 4f76abd8e7
2 changed files with 10 additions and 17 deletions
+1
View File
@@ -4,4 +4,5 @@ record(stringin, "$(INSTR)$(SPS_REGISTER_NAME):$(STRING_NAME)-Msg")
field(INP, "@$(SPS_REGISTER_NAME)/$(OFFSET) L=$(LENGTH)")
field(PINI, "YES")
field(SCAN, "I/O Intr")
field(FLNK, "$(FLNK=)")
}
+9 -17
View File
@@ -1,11 +1,3 @@
#file "$(sinqSPS_DB)/writebit.db"
#{
# pattern
# {OFFSET, BIT, BIT_NAME , DESC }
# {0 , 0 , "OPEN-SHUTTER" , "Opens the Shutter" }
# {0 , 1 , "CLOSE-SHUTTER", "Closes the Shutter"}
#}
file "$(sinqSPS_DB)/writeusint.db"
{
pattern
@@ -24,7 +16,7 @@ file "$(sinqSPS_DB)/readbit.db"
{1 , 4 , "CLOSED" , "Open" , "Closed" , "", ""}
{1 , 5 , "OPEN" , "Closed" , "Open" , "", ""}
{1 , 6 , "REMOTE-OKAY" , "" , "" , "", ""}
{1 , 7 , "MOVES" , "Stationary" , "Moving" , "", "$(STATUS_FLNK)"}
{1 , 7 , "MOVES" , "Stationary" , "Moving" , "", ""}
}
# The way that the strings are currently implemented in the SPS, the first two
@@ -34,12 +26,12 @@ file "$(sinqSPS_DB)/readbit.db"
file "$(sinqSPS_DB)/readstring.db"
{
pattern
{OFFSET, LENGTH, STRING_NAME }
{4 , 14 , "PSYS-OK" }
{20 , 17 , "SHUTTER-READY" }
{40 , 17 , "EMERGENCY-STOP" }
{60 , 19 , "BLOCKED" }
{82 , 24 , "BLOCKED-REASON" }
{108 , 14 , "OPEN" }
{124 , 27 , "REMOTE" }
{OFFSET, LENGTH, STRING_NAME FLNK}
{4 , 14 , "PSYS-OK", ""}
{20 , 17 , "SHUTTER-READY", ""}
{40 , 17 , "EMERGENCY-STOP", ""}
{60 , 19 , "BLOCKED", ""}
{82 , 24 , "BLOCKED-REASON", ""}
{108 , 14 , "OPEN", ""}
{124 , 27 , "REMOTE", "$(STATUS_FLNK)"}
}