Commit f0d456d0 authored by kpetersn's avatar kpetersn
Browse files

Minor improvements to T96 support.

parent f1120168
......@@ -79,7 +79,7 @@ record(bo, "$(P)$(T):heating")
field(PINI, "YES")
field(ZNAM, "Off")
field(ONAM, "On")
field(VAL, "Off")
field(VAL, 0)
}
record(bo, "$(P)$(T):lnpMode")
......@@ -89,7 +89,7 @@ record(bo, "$(P)$(T):lnpMode")
field(PINI, "YES")
field(ZNAM, "Manual")
field(ONAM, "Auto")
field(VAL, "Auto")
field(VAL, 1)
}
record(longout, "$(P)$(T):lnpSpeed")
......
$(P)$(T):rampLimit
$(P)$(T):rampRate
$(P)$(T):heating
$(P)$(T):lnpMode
$(P)$(T):lnpSpeed
$(P)$(T):temperature_RBV.SCAN
$(P)$(T):heaterPower_RBV.SCAN
$(P)$(T):lnpSpeed_RBV.SCAN
......@@ -35,6 +35,7 @@ Linkam::Linkam(const char *portName, const epicsUInt32 commType, const epicsUInt
createParam(heatingOutValueString, asynParamInt32, &heatingOutValue_);
createParam(lnpModeOutValueString, asynParamInt32, &lnpModeOutValue_);
createParam(lnpSpeedOutValueString, asynParamInt32, &lnpSpeedOutValue_);
createParam(lnpSpeedInValueString, asynParamFloat64, &lnpSpeedInValue_);
createParam(controllerConfigInValueString, asynParamInt32, &controllerConfigInValue_);
createParam(controllerErrorInValueString, asynParamInt32, &controllerErrorInValue_);
createParam(controllerStatusInValueString, asynParamInt32, &controllerStatusInValue_);
......
......@@ -54,7 +54,7 @@ static const char *driverName = "Linkam";
#define heatingOutValueString "HEATING_OUT_VALUE" /* asynInt32 r/w */
#define lnpModeOutValueString "LNP_MODE_OUT_VALUE" /* asynInt32 r/w */
#define lnpSpeedOutValueString "LNP_SPEED_OUT_VALUE" /* asynInt32 r/w */
#define lnpSpeedInValueString "LNP_SPEED_IN_VALUE" /* asynInt32 r/o */
#define lnpSpeedInValueString "LNP_SPEED_IN_VALUE" /* asynFloat64 r/o */
#define controllerConfigInValueString "CONTROLLER_CONFIG_IN_VALUE" /* asynInt32 r/o */
#define controllerErrorInValueString "CONTROLLER_ERROR_IN_VALUE" /* asynInt32 r/o */
#define controllerStatusInValueString "CONTROLLER_STATUS_IN_VALUE" /* asynInt32 r/o */
......
......@@ -21,8 +21,13 @@ linkam_registerRecordDeviceDriver pdbbase
cd "${TOP}/iocBoot/${IOC}"
iocInit
## Start any sequence programs
#seq sncxxx,"user=kpetersnHost"
# Turn off heating by default
#!dbpf "$(PREFIX)tc1:heating" "0"
# Make Auto mode the default
#!dbpf "$(PREFIX)tc1:lnpMode" "1"
# Ugly hack to allow disconnecting for manual control via the screen
dbpf "$(PREFIX)asyn.AUCT" "noAutoConnect"
#!dbpf "$(PREFIX)asyn.AUCT" "noAutoConnect"
## Boot is complete
date
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment