Closed rerpha closed 1 year ago
I think an upgrade step is overkill for this as the beckhoff instruments (SANS2D, LARMOR and IMAT) need reconfiguring anyway which is a manual process (i will do this when deploying) and the SANDALS pt100s are due to change so i won't do them in this ticket and instead add them to motorextensions in #6097
PRs:
I have updated https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/Beckhoff-commissioning#arbitrary-fields as well
This is a fairly difficult one to review. SANS2D and LARMOR have a tc_project_app.tpy file, and corresponding db file, in their settings\twincat directory. The DB file should contain the names of the extra fields ie. BAIRPLC for LARMOR and FTORQUEACTUALetc. for SANS2D. This should match up with AUX.bAirPLC
and AXIS_x.fTorqueActualAxisx
for LARMOR and SANS2D respectively. There are two things to check here:
TC_01:ASTAXES_
Task added for deployment: https://github.com/ISISComputingGroup/IBEX/projects/8#card-87462702
SANS2D and LARMOR have some extra fields in their beckhoff that they expose, currently through a TPY along with the rest of the motion fields.
As we have now switched to a method that doesn't use the TPY file any longer, these fields need to be manually added and loaded in by some motorExtensions db files instead. we should create these and deploy/patch them on to save having to do this on the fly.
The reason we should use motorExtensions is that if something needs to be changed globally it's much easier to do this in motorExtensions then just deploy, than try and edit each instance in the settings area/modify them with an upgrade script.
Acceptance criteria