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_REGISTER_NAME", "SPS-SHUTTER")
|
||||||
epicsEnvSet("SPS_FETCH_SIZE", "152")
|
epicsEnvSet("SPS_FETCH_SIZE", "154")
|
||||||
# Seems that 1 doesn't work
|
# Seems that 1 doesn't work
|
||||||
epicsEnvSet("SPS_WRITE_SIZE", "2")
|
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
|
# 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
|
# 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
|
# in the register.
|
||||||
# we add two to the offset to skip these bytes.
|
|
||||||
file "$(sinqSPS_DB)/readstring.db"
|
file "$(sinqSPS_DB)/readstring.db"
|
||||||
{
|
{
|
||||||
pattern
|
pattern
|
||||||
{OFFSET, LENGTH, STRING_NAME }
|
{OFFSET, LENGTH, STRING_NAME }
|
||||||
{4 , 11 , "PSYS-OK" }
|
{4 , 14 , "PSYS-OK" }
|
||||||
{18 , 17 , "SHUTTER-READY" }
|
{20 , 17 , "SHUTTER-READY" }
|
||||||
{38 , 17 , "EMERGENCY-STOP" }
|
{40 , 17 , "EMERGENCY-STOP" }
|
||||||
{58 , 19 , "BLOCKED" }
|
{60 , 19 , "BLOCKED" }
|
||||||
{80 , 24 , "BLOCKED-REASON" }
|
{82 , 24 , "BLOCKED-REASON" }
|
||||||
{106 , 14 , "OPEN" }
|
{108 , 14 , "OPEN" }
|
||||||
{122 , 27 , "REMOTE" }
|
{124 , 27 , "REMOTE" }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user