+ Reply to Thread
Results 1 to 7 of 7

Thread: Tridium R2 Program block: binary enabled timer

  1. #1
    Join Date
    Nov 2009
    Posts
    213
    Post Likes

    Question Tridium R2 Program block: binary enabled timer

    Looking for a program code to perform a timer function that starts counting up seconds after a binary contact is engaged. Anyone out there done this?

  2. #2
    Join Date
    Aug 2006
    Location
    UK
    Posts
    336
    Post Likes
    Quote Originally Posted by Ctl-fool View Post
    Looking for a program code to perform a timer function that starts counting up seconds after a binary contact is engaged. Anyone out there done this?
    Not simply like that - What do you want to do with the info? You can probably just expose this point from a Binary Input for reference. If you are more specific then we can probably help.
    gnomethang
    _______________________________________________
    "Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them."
    - The Reverend Mother Gaius Helen Mohiam

  3. #3
    Join Date
    Nov 2009
    Posts
    213
    Post Likes
    Thread Starter

    Delay on function and seconds since went active

    am looking for a delay-on-make function, and also want to display seconds elapsed since true condition with adjustable time parameter.

  4. #4
    Join Date
    Aug 2006
    Location
    UK
    Posts
    336
    Post Likes
    Hmmm - I have a delay On/Off program object for a Binary State. I could send that tomorrow when I am at the office (21:00 here!).
    You can probably display the elapsed seconds no problem using a reset on the BI - I will check.
    What is the adjustable time parameter for? Alarm after a certain active time? If so the BI can handle that as well, can it not?.
    gnomethang
    _______________________________________________
    "Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them."
    - The Reverend Mother Gaius Helen Mohiam

  5. #5
    Join Date
    Apr 2011
    Location
    Pennsylvania
    Posts
    128
    Post Likes

    Question R2 binary "delay on" needed

    Man, I hate to post on such an old thread, but I'm not familiar with the R2 world, and I need a "delay on" function on a binary line.

    I have a BI that's driving an autodialer, and I want to put a one or two minute debounce on it so that I stop getting calls for momentary changes.

    On the existing BI, I see there's a delay setting on the Alarm, but I think that just delays the alarm and not the actual output. I say this because the delay is set to one minute and the emails linked to that alarm don't come as often as the autodialer calls me.

  6. #6
    Join Date
    Jul 2002
    Posts
    1,790
    Post Likes
    It's under the local library. Look under Tridiumx>programlib>util>BDelay right click, copy, paste

  7. #7
    Join Date
    Apr 2011
    Location
    Pennsylvania
    Posts
    128
    Post Likes
    Quote Originally Posted by incontrol View Post
    It's under the local library. Look under Tridiumx>programlib>util>BDelay right click, copy, paste
    Wow, that was easy. Thank you for directing me there!

+ Reply to Thread

Quick Reply Quick Reply

Register Now

Please enter the name by which you would like to log-in and be known on this site.

Please enter a password for your user account. Note that passwords are case-sensitive.

Please enter a valid email address for yourself.

Log-in

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •