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.
The program has the following characteristics:
auto/manual selection switch
close/open switch for manual operation
four switch inputs for end-of-path control
control for four motor relays - two per motor (open and close direction)
attached ethernet module with dead-man's handle functionality (i.e. if PC stop responding, roof will close).
rain input (when 1, it is not raining)
configurable timeout for roof closing/opening
configurable timeout for time between roof closing/opening (change of direction)
independent operation of both halves of the roof, governed by power sensing input (I9)
any timeout (opening or closing) prevents the roof from opening. Timeouts must be reset manually, either by pressing and releasing the emergency switch, or by power cycling the unit. The roof can attempt to close while in timeout.
Each output is treated as a bit value, with the bits given the following meanings:
0001 not used
0002 not used
0004 state of end-of-path open switch
0008 state of end-of-path close switch
0010 not used
0020 state of final block for opening
0040 state of final block for closing
0080 timeout during closing
0100 timeout during opening
0200 motor commanded opening
0400 motor commanded closing
0800 opening blocked
1000 closing blocked
The device state (Q4XT1):
0001 state of manual/auto switch (I1)
0002 state of close/open switch (I2)
0004 timeout occured - emergency declared
0008 power sensing (I9) - not present on compressor models
0010 rain declared
0020 compressor running - only on model with compressor
0040 not used
0080 not used
0100 not used
0200 not used
0400 not used
0800 compressor (B2) model *
1000 weather state - 1 if weather is favorable for observing
2000 ignore rain during opening - a known problem for the opening on some domes. This feature is not present on compressor models.
4000 emergency button pushed
8000 state of deadman signal