Experimental Physics and Industrial Control System
|
I get that behavior for any value of a PV used in an access-security rule,
whether it was defined in the database or restored by autosave. If I
set PINI to get the record processed at init time, it behaves as I think it
should.
record(bo,"$(P)LocalAccess") {
field(DESC,"AS for Local PCs")
field(DTYP,"Soft Channel")
field(ZNAM,"Disabled")
field(ONAM,"Enabled")
field(ASG, "controlFields")
field(PINI, "YES")
field(UDF, "0")
}
Tim
Hi,
I need some advices on rules and autosave.
I configured a Linux IOC with following rules
================================================================
ASG(FAISCEAU) {
#Operation mode lock
INPA(DEFAULT:OPState)
#BEAM characteristics lock
INPB(FAISCEAU:WritePerm)
# We can always read PVs
RULE(1,READ)
# BEAM Characteristcs could be changed by everyone in maintenance mode and BEAM characteristics unlocked
RULE(1,WRITE) { CALC("A=0 && B=1") }
# BEAM Characteristcs could be changed only by operators in operation mode and BEAM characteristics unlocked
RULE(1,WRITE) {
UAG(operateurs)
CALC("A=1 && B=1")
}
}
==============================================================
DEFAULT:OPState could be 0:Maintenance 1:Operation
FAISCEAU:WritePerm could be 0:BEAMLocked 1:BEAMUnlocked
These rules work perfectly when values of DEFAULT:OPState and FAISCEAU:WritePerm are changed manually.
At starting, with autosave mechanisme, there is a mismatch between right access and lock values.
Any ideas?
Dominique.
|
- Replies:
- RE: security rules and autosave Mooney, Tim M.
- References:
- security rules and autosave Touchard Dominique
- Navigate by Date:
- Prev:
synApps usage on 64 bit systems Henrique Dante de Almeida
- Next:
RE: synApps usage on 64 bit systems Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
security rules and autosave Touchard Dominique
- Next:
RE: security rules and autosave Mooney, Tim M.
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|