Zelio Logic roof module

Zelio roof control

This is a roof module based on a Zelio Logic PLC. To view and use it, you need to download Schneider Zelio logic editor, which runs under Wine in Linux. Ask me for details if you cannot get it running.

The program is designed for a clamshell type roof with two moving halves, four end-of-path sensors and two motors. If your needs are different, please either help yourself or contact Petr Kubanek with questions. The PLC is assumed to have an Ethernet modbus output module attached - SR3NET01BD for PC-PLC communication. Please see description of registers at the end of the page.

There is a picture of front panel. In our experience, nothing beats hardware switches when it comes to reliably blocking roof opening by staff, including not-so-computer maniacs. The cost of the switches, cables and box was about 1000 ZAR ~ 95 EUR, and the electronics inside (Zelio, ..) was about 500 EUR.

Roof front panel

The program has the following characteristics:

Inputs

Outputs

Ethernet inputs

Ethernet outputs

Roof states reported in ethernet outputs

Each output is treated as a bit value, with the bits given the following meanings:

  1. 0001 not used
  2. 0002 not used
  3. 0004 state of end-of-path open switch
  4. 0008 state of end-of-path close switch
  5. 0010 not used
  6. 0020 state of final block for opening
  7. 0040 state of final block for closing
  8. 0080 timeout during closing
  9. 0100 timeout during opening
  10. 0200 motor commanded opening
  11. 0400 motor commanded closing
  12. 0800 opening blocked
  13. 1000 closing blocked

The device state (Q4XT1):

  1. 0001 state of manual/auto switch (I1)
  2. 0002 state of close/open switch (I2)
  3. 0004 timeout occured - emergency declared
  4. 0008 power sensing (I9) - not present on compressor models
  5. 0010 rain declared
  6. 0020 compressor running - only on model with compressor
  7. 0040 not used
  8. 0080 not used
  9. 0100 not used
  10. 0200 not used
  11. 0400 not used
  12. 0800 compressor (B2) model *
  13. 1000 weather state - 1 if weather is favorable for observing
  14. 2000 ignore rain during opening - a known problem for the opening on some domes. This feature is not present on compressor models.
  15. 4000 emergency button pushed
  16. 8000 state of deadman signal