Skip to content

Commit 1a8fbcb

Browse files
Oxford-Instruments-Mercury-IPS.md: Added a new section concerning the SCPI protocol configuration.
1 parent b10bb10 commit 1a8fbcb

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

doc/specific_iocs/cryogenics/Oxford-Instruments-Mercury-IPS.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,25 @@ The Oxford Instruments Mercury IPS is a superconducting magnet power supply. It
44

55
Note: although the Mercury IPS is the successor to the "old" IPS, cryogenics prefer to run the older IPS units as they are more reliable.
66

7-
## Hardware quirks
7+
## Hardware quirks (Legacy mode)
88

99
The following faults can be seen when operating the magnet fully from the front panel, but it is likely that software will also run into the same conditions:
1010
* The firmware will sometimes crash/freeze. To reset it, the whole power supply needs to be power-cycled. This is obviously undesirable for a magnet power supply, and cryogenics are chasing OI about this issue. It's not clear whether this issue is general to all Mercury IPS units or whether we have one faulty unit.
1111
* The switch heater occasionally reports that it's ON when it's actually OFF
12-
* The power supply reports a voltage of ~9000V which is incorrect (a sensible voltage for this power supply would be around ~8V while ramping)
12+
* The power supply reports a voltage of ~9000V which is incorrect (a sensible voltage for this power supply would be around ~8V while ramping)
13+
14+
## SCPI Prorocol
15+
16+
The IPS IOC now supports the SCPI protocol, which is more feature rich than Legacy mode.
17+
Effort was made to ensure that the top level EPICS insterface was was changed as little as possible.
18+
It was particularly important that the SNL state-machine logic was not altered.
19+
This all required some careful shoe-horning of the new interface to provide PV compatibility with the legacy mode.
20+
There is now siginificantly more diagnostic information available, along with support for daughter-boards, such as He and N leve meters, pressure measurement, etc., all of which have necessitated additions to the user interface in the IBEX client.
21+
The IOC can be configured to run with either legacy or SCPI protocols via a STREAMPROTOCOL macro ("SCPI" | "LEGACY"). The IOC publishes a new PV $(P)PROTOCOL, which reflects the configuration mode, allowing the user interface to hide or show attributes and controls relevant to SCPI or LEGACY modes.
22+
23+
As already mentioned, SCPI mode provides additional status reporting, much of which is based on the return string from the "READ:SYS:ALRM" command, which is poorly documented in the supplier's documentation. The status strings are assumed to all conform to the "Directory of Alarms" section (17.3) of the Operator's Manual (Issue 20, July 2018).
24+
Whilst many of the system alarms that we could test, mostly conformed, some differences were noticed, along with additional, undocumented status, such as "Magnet Safety".
25+
It has not been possible to test all alarm scenarios with the IPS unit and as such unable to fully assertain that all the expected message strings are correct - they may need to be adjusted later on, if/when they arise.
26+
27+
The support module exports an aSub record subroutine to facilitate handling of the responses to READ:SYS:ALRM, which is not feasible with a StreamDevice protocol handler.
28+

0 commit comments

Comments
 (0)