Help! Bus coupler for telescope safety control

Discussion in 'C-Bus Toolkit and C-Gate Software' started by phcjpp, Aug 10, 2010.

  1. phcjpp

    phcjpp

    Joined:
    Oct 19, 2004
    Messages:
    112
    Likes Received:
    0
    Location:
    London
    Hi Guys,

    I have a telescope with a Normally Open and Normally Closed outputs. These are set / unset when the telescope is in a parked position allowing the roof of the observatory to be safely closed by my automation system.

    I have a bus coupler (new version with bistable) that I would like to detect the NO / NC state.

    I have been playing with on/off and bell push etc but cannot get the coupler to reliably give me what I want. That is the CBUS group always lets you know the state of the telescope.

    Group ON = parked
    Group OFF = unparked

    or vice versa is fine also.

    Any help much appreciated. I would also like it to work after a power failure if possible!

    Thanks
    Chris
     
    phcjpp, Aug 10, 2010
    #1
  2. phcjpp

    Don

    Joined:
    Aug 4, 2004
    Messages:
    429
    Likes Received:
    0
    Location:
    Townsville, Australia
    What you are after should be straightforward with the bus coupler.

    Select 'bistable' mode for the switch input you are using under the key functions tab in the advanced view of Toolkit.

    Next, select the function you want for the 'key' your switch contacts are connected to as either 'ON/OFF', or 'OFF/ON', depending on your requirements. Select also a group to control for that 'key'. This should get you going.

    If you also have a C-Bus output device on the network responding to the same group, the output device usually defines the state when recovering from any loss of power. In the event that you don't have any output device to establish the state on power recovery, the bus coupler includes a feature to broadcast the group state corresponding to the switch contact state at the time power was recovered. To enable this feature, go to the Power Fail tab and ensure that the group you are controlling has a tick for 'Broadcast Values on Power-up', and that the 'Restore to Previous Levels' is also selected.

    This should result in reliable recovery of the group state corresponding to the switch state after power interruptions. The broadcast will take about 20-60 seconds to complete, so if you are testing, please be patient or you might conclude that things are not set up right.

    Why the long delay before broadcasting group states? The reason is that you might have a large installation with a lot of bus couplers configured this way, and the resulting burst of communication after power-up has to be regulated to prevent lost messages. Units with low numerical value unit addresses get the chance to broadcast first, so you can control the delay to some degree if you want.
     
    Don, Aug 10, 2010
    #2
  3. phcjpp

    phcjpp

    Joined:
    Oct 19, 2004
    Messages:
    112
    Likes Received:
    0
    Location:
    London
    Thanks for the excellent reply! I will give it a go today. I am sure i have a couple of spare relay channels i can use to keep state.

    Will let you know how it goes.

    Cheers
    Chris
     
    phcjpp, Aug 11, 2010
    #3
  4. phcjpp

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,427
    Likes Received:
    64
    Location:
    Adelaide
    Even if you don't have relay channels spare, there's a good chance that you have logic groups spare, and these will work the same (just make sure they're not associated with any actual channels!).

    Nick
     
    NickD, Aug 12, 2010
    #4
  5. phcjpp

    phcjpp

    Joined:
    Oct 19, 2004
    Messages:
    112
    Likes Received:
    0
    Location:
    London
    Logic groups - not sure I have come across those (or ever used them) - something inside the wiser - or something introduced recently ?

    I have maybe 50 odd units now - imagine I have some somewhere!

    Ta
    Chris
     
    phcjpp, Aug 12, 2010
    #5
  6. phcjpp

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,427
    Likes Received:
    64
    Location:
    Adelaide
    They're in most of the output units (dimmers/relays). See the Logic tab in the Toolkit UI for them.

    The logic functions in these can be quite useful for some tasks.... particularly things like adjusting max brightness of dimmers based on a schedule.

    It's worth looking in the help to familiarise yourself.

    Nick
     
    NickD, Aug 12, 2010
    #6
  7. phcjpp

    Ingo

    Joined:
    Dec 2, 2006
    Messages:
    290
    Likes Received:
    1
    Location:
    South Africa
    Thanks Nick, you just fixed my Wind and Rain detector issue with your Broadcast suggestion...

    Ingo
     
    Ingo, Aug 12, 2010
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.