can now read beamstop database
This commit is contained in:
@@ -15,10 +15,14 @@ TEMPLATES += db/sps_status.db
|
||||
TEMPLATES += db/writebit.db
|
||||
TEMPLATES += db/readbit.db
|
||||
TEMPLATES += db/readstring.db
|
||||
TEMPLATES += db/writeusint.db
|
||||
TEMPLATES += db/readusint.db
|
||||
|
||||
# Specific devices to include in the release
|
||||
TEMPLATES += db/shutter.db
|
||||
TEMPLATES += templates/shutter.substitutions
|
||||
SCRIPTS += scripts/shutter.cmd
|
||||
|
||||
SCRIPTS += sim/shutter_sim.py
|
||||
|
||||
TEMPLATES += templates/sans_llb_beamstop.substitutions
|
||||
SCRIPTS += scripts/sans_llb_beamstop.cmd
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ record(longin, "$(INSTR)$(SPS_REGISTER_NAME):$(UINT_NAME)")
|
||||
{
|
||||
field(DTYP, "S7plcFW")
|
||||
field(DESC, "$(DESC)")
|
||||
field(INP, "@$(SPS_REGISTER_NAME)/$(OFFSET) T=UINT8")
|
||||
field(INP, "@$(SPS_REGISTER_NAME)/$(OFFSET) T=BYTE")
|
||||
field(PINI, "YES")
|
||||
field(SCAN, "I/O Intr")
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ record(longout, "$(INSTR)$(SPS_REGISTER_NAME):$(UINT_NAME)")
|
||||
{
|
||||
field(DTYP, "S7plcFW")
|
||||
field(DESC, "$(DESC)")
|
||||
field(OUT, "@$(SPS_REGISTER_NAME)/$(OFFSET) T=UINT8")
|
||||
field(OUT, "@$(SPS_REGISTER_NAME)/$(OFFSET) T=BYTE")
|
||||
field(PINI, "NO")
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
require sinqS7plcFW
|
||||
|
||||
# s7plcFWConfigure(
|
||||
# # Alias,
|
||||
# # IP,
|
||||
@@ -13,7 +11,6 @@ require sinqS7plcFW
|
||||
|
||||
epicsEnvSet("SPS_REGISTER_NAME", "SPS-BEAMSTOP")
|
||||
epicsEnvSet("SPS_FETCH_SIZE", "40")
|
||||
# Seems that 1 doesn't work
|
||||
epicsEnvSet("SPS_WRITE_SIZE", "2")
|
||||
|
||||
s7plcFWConfigure("$(SPS_REGISTER_NAME)", "$(SPS_IP)", "$(FETCH_PORT=2000),1,$(FETCH_DB),0,$(SPS_FETCH_SIZE)", "$(WRITE_PORT=2001),1,$(WRITE_DB=$(FETCH_DB)),0,$(SPS_WRITE_SIZE)", "$(SPS_ENDIANNESS=1)", "$(SPS_RECEIVE_TIMEOUT=1000)", "$(SPS_RECEIVE_DELAY=200)", "0")
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
require sinqS7plcFW
|
||||
|
||||
# s7plcFWConfigure(
|
||||
# # Alias,
|
||||
# # IP,
|
||||
|
||||
Reference in New Issue
Block a user