Added Pfeifer RS84 Debug/command PV

Signed-off-by: Bernardo Carvalho <bernardo.carvalho@tecnico.ulisboa.pt>
This commit is contained in:
Bernardo Carvalho
2023-12-15 15:40:20 +00:00
parent d27b978ff4
commit 55ea8d1e40
4 changed files with 63 additions and 3 deletions

View File

@@ -278,7 +278,7 @@ record(bo, "$(P)$(R)VVessel-Filament" ) {
################################
record(bo, "$(P)$(R)ELCO-Enable") {
field(DESC,"ELCO Charging Relay Enable")
field(OUT, "$(P)$(R)PCF8574:60:REGISTER.B5 PP" )
field(OUT, "$(P)$(R)PCF8574:60:REGISTER.B2 PP" )
field(ZNAM, "On" )
field(ONAM, "Off" )
field(VAL,"1")

View File

@@ -145,3 +145,10 @@ record(stringout,"$(P)$(R)RS485Debug") {
field(VAL,"")
}
record(stringout,"$(P)$(R)RS485Debug-CS") {
field(DESC, "")
field(DTYP, "stream")
field(OUT, "@pfeiffer.proto debugCS $(bus)")
field(VAL,"")
}

View File

@@ -311,3 +311,43 @@ record(mbbo, "$(P)$(R)STOPPINGSTATE") {
field(FVST, "Stopping5")
field(VAL, "0")
}
#### PVs fot ATCA-MARTe2 operation
record( longin, "ISTTOK:marte2:STATUS")
{
field(DTYP, "Soft Channel")
}
record( longin, "ISTTOK:marte2:COMMAND")
{
field(DTYP, "Soft Channel")
}
record( longin, "ISTTOK:marte2:RESET")
{
field(DTYP, "Soft Channel")
}
record( waveform, "ISTTOK:marte2:HIST-IDLE-CT")
{
field(DTYP, "Soft Channel")
field(NELM, 10)
field(FTVL, "LONG")
}
record( waveform, "ISTTOK:marte2:HIST-RUN-CT")
{
field(DTYP, "Soft Channel")
field(NELM, 10)
field(FTVL, "LONG")
}
record( longin, "ISTTOK:marte2:TIME")
{
field(DTYP, "Soft Channel")
}
record( longin, "ISTTOK:marte2:COUNTER")
{
field(DTYP, "Soft Channel")
}
record( ai, "ISTTOK:marte2:ADC0S")
{
field(DTYP, "Soft Channel")
}

View File

@@ -20,7 +20,7 @@ PollPeriod = 200;
# Using redirection to read 2 records, mantissa and exponent
# TMPump1-PressureAdmission
#VVessel-Pressure
getPressure001 {
out "0010074002=?106";
in "0011074006%4u%(\$1)2u%+<sum8>";
@@ -32,7 +32,7 @@ getPressure002 {
in "0021074006%4u%(\$1)2u%+<sum8>";
}
#VVessel-Pressure
# TMPump1-PressureAdmission
getPressure003 {
out "0030074002=?108";
in "0031074006%4u%(\$1)2u%+<sum8>";
@@ -57,4 +57,17 @@ debug {
ExtraInput = Ignore;
out "%s"; in "%39c"
}
debugCS {
ExtraInput = Ignore;
out "%s%+<sum8>"; in "%39c"
}
# Example:
# VVessel Degass
# caput ISTTOK:central:RS485Debug-CS "00110040011"
#
# TPump1 Degass:
# caput ISTTOK:central:RS485Debug-CS "00310040011"
# Check Errors:
# caput ISTTOK:central:RS485Debug-CS "0010030302=?"
# ( Repeat to see answer)