+ Reply to Thread
Results 1 to 10 of 10

Thread: Niagara N4 BQL Expr Component

  1. #1
    Join Date
    Aug 2004
    Posts
    135
    Post Likes

    Niagara N4 BQL Expr Component

    ExprLogic

    New to N4/Niagara but was wanting to use an ExprLogic to look at OAT and see if it's between two numbers then trigger a Boolean output
    Can that be done?

  2. #2
    Join Date
    Jan 2003
    Location
    USA
    Posts
    9,437
    Post Likes
    Quote Originally Posted by intech View Post
    ExprLogic

    New to N4/Niagara but was wanting to use an ExprLogic to look at OAT and see if it's between two numbers then trigger a Boolean output
    Can that be done?
    Sure could do that, see the help doc for the expression syntax.

    Or just use the tstat block and call it day as it does exactly that.

    kitcontrol - HVAC - Tstat
    Propagating the formula. http://www.noagendashow.com/

  3. #3
    Join Date
    Sep 2007
    Location
    Kenilworth NJ
    Posts
    7,924
    Post Likes
    If I am not mistaken the Tstat block splits the differential, so a 70 deg stpt and 2 deg differential makes it throw at 69 and 71. Confusing for the end user. It doesn't apply the differential to the tail end of the process like everyone expects it to, throwing at 70 on the way up and throwing again at 68 on the way down for example.
    Hmmmm....smells like numbatwo to me.

  4. #4
    Join Date
    Jan 2003
    Location
    USA
    Posts
    9,437
    Post Likes
    Or you add a complicated but standard add/sub block and make it work exactly as you like.

    Surf the docs with help - search exp block. Its in there. Support is going to be a hassle with that over the standard blocks if everyone that touches it needs to refer to the manual vs 15sec of testing. Maybe ones sure all their techs are familiar with exp blocks. Surly that covered in the three day crash course....

    This line of thinking also leads to program objects to do the same function as standard blocks. Real time saver now that they need to be signed.
    Last edited by orion242; 02-26-2021 at 10:21 PM.
    Propagating the formula. http://www.noagendashow.com/

  5. #5
    Join Date
    Jul 2006
    Location
    Anytown USA
    Posts
    2,257
    Post Likes
    Probably just use 3 blocks, a greater than, less than , and block.

    The greater than will be the low point of your range , the less than will be the high point. If the OA is between the greater and less block settings, they will both be true, the And block will go true.

  6. #6
    Join Date
    Jan 2003
    Location
    USA
    Posts
    9,437
    Post Likes
    Could skin this cat in a ton of ways with the standard blocks. Its trivial logic.

    Its Niagara, there are a 1K hard paths and <3 easy ones in the end. Custom blocks for something this simple, needless support nightmare.
    Propagating the formula. http://www.noagendashow.com/

  7. Likes adrianfromoz liked this post.
  8. #7
    Join Date
    Jul 2006
    Location
    Anytown USA
    Posts
    2,257
    Post Likes
    Quote Originally Posted by orion242 View Post
    Could skin this cat in a ton of ways with the standard blocks. Its trivial logic.

    Its Niagara, there are a 1K hard paths and <3 easy ones in the end. Custom blocks for this, nightmare in the end.
    No doubt, a million ways to do every task.

  9. #8
    Join Date
    Jan 2003
    Location
    USA
    Posts
    9,437
    Post Likes
    Quote Originally Posted by numbawunfela View Post
    Confusing for the end user. It doesn't apply the differential
    Agreed. Sub/add 0.5 the diff to the setpoint linked into the tstat and now its what most expect. Setpoint & deadband also eliminates swapping the on/off setpoints.

    Still the standard blocks for something this simple is something one can look at a wiresheet for a few seconds and understand whats going on. Use all program and expression blocks like some do, the station can quickly become something you just want to nuke and start over vs support.
    Propagating the formula. http://www.noagendashow.com/

  10. #9
    Join Date
    Sep 2007
    Location
    Kenilworth NJ
    Posts
    7,924
    Post Likes
    I always put text blocks in the worksheets. It is good for the other guys, but so for me. I am a good figure-out-er and a bad rember-er. It takes the edge off of a station that makes you want to blow your brains out.... unless I want to spite somebody, then they are easily removed.... hehe
    Hmmmm....smells like numbatwo to me.

  11. #10
    Join Date
    Jul 2009
    Location
    Westside
    Posts
    2,083
    Post Likes
    Yep like stated tstat setpoint is center of the differential. Is annoying but easily worked around with several of the options mentioned. I use the the AX community ones if I want above or below triggers. I also use a lot of text blocks in my wire sheets for notes. I don't have the recall I once did, so does help the aging brain.

+ 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
  •