Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
3ab2e31f15 | |||
6eb2b7197b | |||
f67ade602e | |||
ef181d85be |
14
.gitea/workflows/action.yaml
Normal file
14
.gitea/workflows/action.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
name: Test And Build
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: linepics
|
||||
steps:
|
||||
- name: checkout repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- run: |
|
||||
sed -i 's/ARCH_FILTER=.*/ARCH_FILTER=linux%/' Makefile
|
||||
make install
|
@ -12,7 +12,7 @@ require sinqS7plcFW
|
||||
# )
|
||||
|
||||
epicsEnvSet("SPS_REGISTER_NAME", "SPS-SHUTTER")
|
||||
epicsEnvSet("SPS_FETCH_SIZE", "152")
|
||||
epicsEnvSet("SPS_FETCH_SIZE", "154")
|
||||
# Seems that 1 doesn't work
|
||||
epicsEnvSet("SPS_WRITE_SIZE", "2")
|
||||
|
||||
|
@ -22,17 +22,17 @@ file "$(sinqSPS_DB)/readbit.db"
|
||||
|
||||
# The way that the strings are currently implemented in the SPS, the first two
|
||||
# bytes are the maximum length of the string and the size of the current string
|
||||
# in the register. The epics driver doesn't seem to handle this currently, so
|
||||
# we add two to the offset to skip these bytes.
|
||||
# in the register.
|
||||
|
||||
file "$(sinqSPS_DB)/readstring.db"
|
||||
{
|
||||
pattern
|
||||
{OFFSET, LENGTH, STRING_NAME }
|
||||
{4 , 11 , "PSYS-OK" }
|
||||
{18 , 17 , "SHUTTER-READY" }
|
||||
{38 , 17 , "EMERGENCY-STOP" }
|
||||
{58 , 19 , "BLOCKED" }
|
||||
{80 , 24 , "BLOCKED-REASON" }
|
||||
{106 , 14 , "OPEN" }
|
||||
{122 , 27 , "REMOTE" }
|
||||
{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" }
|
||||
}
|
||||
|
Reference in New Issue
Block a user