From 87bf2add081b82f7709c5232ee3264f0808e6849 Mon Sep 17 00:00:00 2001 From: esmithExperimentControls Date: Wed, 13 Nov 2024 14:47:54 +0000 Subject: [PATCH 1/3] Add new record to store ready to move state --- TC/TC-IOC-01App/Db/axis_monitors.db | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/TC/TC-IOC-01App/Db/axis_monitors.db b/TC/TC-IOC-01App/Db/axis_monitors.db index f90f9d8a5..fd5963caf 100644 --- a/TC/TC-IOC-01App/Db/axis_monitors.db +++ b/TC/TC-IOC-01App/Db/axis_monitors.db @@ -16,6 +16,21 @@ record(bi,"$(P)MOT:$(MOTOR_PV)_ON_STATUS") field(OSV, "NO_ALARM") } +record(calcout, "$(P)MOT:$(MOTOR_PV)_READY_CALC") +{ + field(DESC, "determine if motor is ready to move") + field(INPA, "") + field(OUT, "$(P)MOT:$(MOTOR_PV)_READY PP") +} + +record(bi,"$(P)MOT:$(MOTOR_PV)_READY") +{ + field(DESC, "Mtr ready status") + field(ZNAM, "Off") + field(ZSV, "MINOR") + field(ONAM, "On") + field(OSV, "NO_ALARM") +} record(bo, "$(P)MOT:$(MOTOR_PV)_ON_CMD") { From 41e11747d48a0adde577952de0c28e8885248368 Mon Sep 17 00:00:00 2001 From: esmithExperimentControls Date: Wed, 13 Nov 2024 15:46:31 +0000 Subject: [PATCH 2/3] Add input placeholders --- TC/TC-IOC-01App/Db/axis_monitors.db | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TC/TC-IOC-01App/Db/axis_monitors.db b/TC/TC-IOC-01App/Db/axis_monitors.db index fd5963caf..193cdec8a 100644 --- a/TC/TC-IOC-01App/Db/axis_monitors.db +++ b/TC/TC-IOC-01App/Db/axis_monitors.db @@ -20,6 +20,8 @@ record(calcout, "$(P)MOT:$(MOTOR_PV)_READY_CALC") { field(DESC, "determine if motor is ready to move") field(INPA, "") + field(INPB, "") + field(INPC, "") field(OUT, "$(P)MOT:$(MOTOR_PV)_READY PP") } From d4917391e0c9ae7d53c2807b06997daf17ef7ec8 Mon Sep 17 00:00:00 2001 From: esmithExperimentControls Date: Wed, 13 Nov 2024 15:47:20 +0000 Subject: [PATCH 3/3] Add input placeholder --- TC/TC-IOC-01App/Db/axis_monitors.db | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TC/TC-IOC-01App/Db/axis_monitors.db b/TC/TC-IOC-01App/Db/axis_monitors.db index 193cdec8a..83bc18d97 100644 --- a/TC/TC-IOC-01App/Db/axis_monitors.db +++ b/TC/TC-IOC-01App/Db/axis_monitors.db @@ -19,8 +19,8 @@ record(bi,"$(P)MOT:$(MOTOR_PV)_ON_STATUS") record(calcout, "$(P)MOT:$(MOTOR_PV)_READY_CALC") { field(DESC, "determine if motor is ready to move") - field(INPA, "") - field(INPB, "") + field(INPA, "$(P)") + field(INPB, "$(P)") field(INPC, "") field(OUT, "$(P)MOT:$(MOTOR_PV)_READY PP") }