Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GEM: Vacuum Valve Status #2798

Closed
kjwoodsISIS opened this issue Nov 23, 2017 · 9 comments
Closed

GEM: Vacuum Valve Status #2798

kjwoodsISIS opened this issue Nov 23, 2017 · 9 comments
Assignees

Comments

@kjwoodsISIS
Copy link
Contributor

kjwoodsISIS commented Nov 23, 2017

As a GEM scientist, I want IBEX to monitor & log the status of the vacuum valves.

Acceptance Criteria

  1. I can view the status of the GEM vacuum valves on the IBEX GUI
  2. I can query the status of the GEM vacuum valves from genie_python
  3. The status of the GEM vacuum valves is logged.

Notes

  1. GEM is to have two vacuum valves
    1. one controls vacuum to the beam pipe
    2. the other controls vacuum to the sample tank
  2. The valves will be controlled by a PLC
    1. IBEX only needs to monitor and log the status of the valves
    2. The PLC controls the valves (not IBEX).
    3. The valve statuses should be created as blocks in the base configuration
    4. The PLC is a Schneider Electric Quantum PLC
  3. There may or may not be TPG-300 pressure gauges involved (to be confirmed).
  4. PLC output locations to be advised by Tim Carter.
@DominicOram
Copy link
Contributor

Are we also creating/do we already have a VI for this so that GEM has a SECI fallback?

@kjwoodsISIS
Copy link
Contributor Author

Good question. I can see no sign of a Schneider PLC in the current set of LabVIEW modules. I think we'll have to create one.

@kjwoodsISIS
Copy link
Contributor Author

From: ICP On Behalf Of Freddie Akeroyd
Sent: 30 November 2017 12:51
To: ICP
Subject: Re: [ICP] GEM Vaccum System & Schneider PLC

Looks like you can use the EPICS Modbus driver
http://www.lnl.infn.it/~annrep/read_ar/2013/contributions/pdfs_05-07-2014/217_G_48_G043.pdf

From: ICP On Behalf Of Freddie Akeroyd
Sent: 29 November 2017 15:54
To: ICP
Subject: Re: [ICP] GEM Vaccum System & Schneider PLC

The muon front end has a Schneider PLC, but probably a different model. That one speaks MODBUS, but we are currently pulling values off its web interface for Nagios.

Freddie

@kjwoodsISIS
Copy link
Contributor Author

From: Carter, Tim (STFC,RAL,ISIS)
Sent: 01 December 2017 17:00
To: Akeroyd, Freddie (STFC,RAL,ISIS)
Cc: Baker, Kathryn (STFC,RAL,ISIS); Woods, Kevin (Tessella,RAL,ISIS)
Subject: RE: Test PLC for GEM work

Hi Freddie / Kathryn,

We can lend you the Quantum PLC in the attached, shown with reference to a PC monitor.
This has the full suite of Modbus, Modbus Plus and Modbus TCP/IP ports.

I will need to get it PAT tested, as it is mains powered, and hopefully we can get that done
on Monday. I would have preferred to give you a 24V powered version, but we don’t have
many spares so require these for operational purposes.

As it is, the PLC is as silent as it can be.

We will need to set up the PLC’s Network settings for you. Please can you let me know
what IP Address, Subnet Mask and Gateway settings you wish us to program into the
Ethernet module?

Many thanks,

Tim

@KathrynBaker
Copy link
Member

Please note that this work will also have an impact on RIKEN Front End

@FreddieAkeroyd
Copy link
Member

We have a loan PLC from Tim Carter and I was able to create an initial test IOC and talk to it with Modbus tcp

@AdrianPotter
Copy link

Assigning to @FreddieAkeroyd who has already started working on it. As far as I can see the code is not yet in GitHub. Is that correct?

@FreddieAkeroyd
Copy link
Member

Branch not pushed yet as very little to push (a few lines in a st.cmd to configure Modbus). TCP worked straight away, RS232 didn't seem to work before Christmas but does now! Need to use a Schneider RS232 cable but works OK when this is fed into a moxa cable.

@FreddieAkeroyd
Copy link
Member

Will merge base code now for initial release, but awaiting details of PLC registers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants