Fan stays on

Discussion in 'General Discussion' started by Shepard, Sep 5, 2011.

  1. Shepard

    Shepard

    Joined:
    Jan 19, 2005
    Messages:
    23
    Likes Received:
    0
    Location:
    Sydney
    My fan doesn't always turn off (once per month??).

    This is my logic, please let me know where I went wrong:
     

    Attached Files:

    Shepard, Sep 5, 2011
    #1
  2. Shepard

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    The code looks OK.

    What type of unit is the logic running in?
     
    Darren, Sep 5, 2011
    #2
  3. Shepard

    Newman

    Joined:
    Aug 3, 2004
    Messages:
    2,203
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    Looks good to me too.

    About the only suggestion I can make, and it's a bit of a long shot, is that you change the last "Once" statement to an "If". If, for some unknown reason, the logic engine is detecting but not processing the first transition of Timer 3 to being greater than 600 seconds, an "If" statement will guarantee that it gets processed on a subsequent pass.

    The other thing it can be is low-level comms. I know you probably think your network is working perfectly but it's worth firing up the Diagnostic Utility and running the Network Traffic Analyser to get some stats on your network. It might be there's a few errors running back there. It also might highlight something you're not expecting, e.g. lots of MMI's spread across lots of applications clagging up the bus, or difficulty communicating with a specific unit on the network.

    Something else to try might be to see if, on the occasions it doesn't work, check to see if it's at a particular time that it occurs. There might be some specific moments in time where the bus gets really busy as scheduled information, or big scenes, get pushed out onto the bus and the unit running logic might be timing out as it attempts to get it's message out.

    If you have another logic-capable unit on your network you can try transferring this logic module to that device. That would rule out any device-specific oddities, if there are any.

    All of the above assumes the latest PICED, latest unit firmware, etc, etc.
     
    Newman, Sep 5, 2011
    #3
  4. Shepard

    Shepard

    Joined:
    Jan 19, 2005
    Messages:
    23
    Likes Received:
    0
    Location:
    Sydney
    Thanks for replys

    Spectrum Colour.

    Of course my network is perfect!!:D
    I will check.:)

    It's the only logic device.
    Latest PICED
    Latest Firmware
     
    Shepard, Sep 6, 2011
    #4
  5. Shepard

    Shepard

    Joined:
    Jan 19, 2005
    Messages:
    23
    Likes Received:
    0
    Location:
    Sydney
    Now CBus diagnostic says (10.1.1.15 is my CNI):
     

    Attached Files:

    Last edited by a moderator: Sep 6, 2011
    Shepard, Sep 6, 2011
    #5
  6. Shepard

    Newman

    Joined:
    Aug 3, 2004
    Messages:
    2,203
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    You really need to provide more information to go along with that error message.
    - Were you ever able to successfully connect to the CNI using the Diagnistic Utility?
    - Are you sure that all instances of C-Gate and Toolkit/PICED/etc are closed prior to trying to connect to the CNI? The CNI can only take 1 connection at a time.
    - Are you sure that your CNI is configured to use port 14000?
    - Are the settings you're using in the Diagnostic Utility identical to those used by Toolkit?
     
    Newman, Sep 6, 2011
    #6
  7. Shepard

    Shepard

    Joined:
    Jan 19, 2005
    Messages:
    23
    Likes Received:
    0
    Location:
    Sydney
    My edit on last post was admitting my brains ability.
    Changed the port to 10001 and all was good.
    Just had to open my eyes and brain.
    34 errors in the last 8 hours peak 2 per sec.
    max 10 messages per second.
     
    Shepard, Sep 6, 2011
    #7
  8. Shepard

    Shepard

    Joined:
    Jan 19, 2005
    Messages:
    23
    Likes Received:
    0
    Location:
    Sydney
    And....
    Application: Lighting (56)
    MMI Count: 10668
    Average Period: 3.0 seconds
    Source Unit: 42 (The Bath 1 light switch??)
     
    Shepard, Sep 6, 2011
    #8
  9. Shepard

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    If the logic was running in a Colour C-Touch, it would be easy to do some logging to work out what is going on.

    It is possible, but probably not very likely, that the C-Touch Spectrum logic engine is resetting because of excessive logic. The easiest way to check this is to put a command in the logic Initialisation section which you will recognise in a log if you see it. For example, switch on a group you don't use for anything else.

    Then connect the C-Bus Diagnostic Utility and log to a file until the fault occurs. Take note of when the fault occurred, then look in the log at that time to see if anything obvious is there.
     
    Last edited by a moderator: Sep 7, 2011
    Darren, Sep 7, 2011
    #9
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.