Skip to content
Matt Lowe edited this page Apr 14, 2020 · 9 revisions

Interlock Setup

Nemo can be setup to use interlock for tools.

To enabled this feature, you need to set INTERLOCKS_ENABLED = True in your settings.py

3 categories of Interlocks are supported out of the box:

  1. Stanford Interlocks
  2. WebRelay Interlocks
  3. ProXR Interlocks (contribution from Matt Lowe at the University of Minnesota)

WebRelay Interlocks

WebRelay Products

NEMO has been successfully tested with the WebRelay Quad but should work with any web-enabled WebRelay interlocks

Install and configure the interlock

Follow the instructions on how to setup and configure your specific type of WebRelay Interlock, which means connecting to the WebRelay using Ethernet cable and setting it up to work in your network.

Default ip to connect to is 192.168.1.2 if there are any conflicts, disconnect any other network adapters from you computer (WIFI etc.), try again with the default ip, and then change it to another one that would not conflict with your configuration.

Running NEMO in Development mode

If you are running NEMO in development mode, i.e. using runserver and NOT using the docker app, you can set it up the following way:

  1. Configure your Interlock Card in Administration/Detailed Administration/Interlock Cards

    • Server: 192.168.1.2 (or use the ip from your interlock configuration)
    • Port: 80 (or use the port number from your interlock configuration
    • Category: WebRelayHttp
    • fill in Username and Password if you used them while setting up your WebRelay interlock
    • leave everything else blank
  2. Configure your Interlock in Administration/Detailed Administration/Interlocks

    • Card: select the previously entered Interlock Card
    • Channel/Relay: enter the relay number you plan on using (in case of a WebRelay Quad, there are 4 relays available). Leave blank if your WebRelay only has one relay.
  3. Configure Tools/Doors to use the new Interlocks

    • Go to Administration/Detailed Administration/Tools or Administration/Detailed Administration/Doors
    • Select the interlock you want to use for that Tool/Door
  4. Usage

    • Wire your tool control to the corresponding WebRelay connectors.
    • Go to the tool control page in NEMO, select a tool and click "Start using the Tool" and the corresponding relay will be activated
    • Use "Stop using the Tool" when you are done and the corresponding relay will be deactivated.

ProXR Interlocks

ProXR Products

NEMO has been tested with this High-Power ProXR Relay Controller by Matt Lowe at the University of Minnesota but should work with most TCP/IP ProXR relay controllers.

Tested Relay Controllers

Limitations

  • TCP/IP only.
  • Does not currently support multiple relay banks.