Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2004
    Location
    San Francisco Bay Area
    Posts
    434

    JCI PMI question

    It's been way too many years since I last played around with PMI, so I've forgotten a couple things - today I needed to map in some points when the end user replaced a failed LCP with a DX-9100. Anyway, I need to take the OAT from a nearby AHU, and map it into an ACO on the DX. Since I never learned GPL, is there another way to do this?

  2. #2
    Quote Originally Posted by davem View Post
    It's been way too many years since I last played around with PMI, so I've forgotten a couple things - today I needed to map in some points when the end user replaced a failed LCP with a DX-9100. Anyway, I need to take the OAT from a nearby AHU, and map it into an ACO on the DX. Since I never learned GPL, is there another way to do this?
    JCBASIC.

  3. #3
    Join Date
    Mar 2007
    Posts
    254
    GPL would be the easiest. You can also use JCBasic
    Following example creates an object "Export" that you can download to the NCM after you compile it.

    =============

    PROCESS 'DX-SYS\Export' "" '\NC-NAME'
    PERIOD 00:05:00
    PRIORITY 4

    TELL 'DX-SYS\OAT' TO "SET_AOS" 'AHU-SYS\OAT\VALUE',2

    END PROCESS

    ===========

    Replace following with names applicable to your system
    DX-SYS\OAT = System and point name for OAT in system used by DX9100 (the ACO)
    AHU-SYS\OAT = System and point name for OAT in system used by AHU
    NC-NAME = the name of of the NCM

  4. #4
    Join Date
    Dec 2004
    Location
    San Francisco Bay Area
    Posts
    434
    Thanks guys - I'd totally forgotten about JCBASIC (I told you it'd been a few years...), and you can't get much more precise an answer than ex's...thanks, exwtk!

  5. #5
    Join Date
    Sep 2006
    Location
    Alaska
    Posts
    394

    JC Basic

    I added some more lines that could let you select the lowest outside air temperature if you have more than one sensor!!!!!

    PROCESS 'DX-SYS\Export' "" '\NC-NAME'
    PERIOD 00:05:00
    PRIORITY 4

    IF 'AHU-Sys1\OA-t' >= 'AHU-Sys2\OA-t' then

    OAT' = 'AHu-Sys1\OA-T'

    else

    OAT' = 'AHU-Sys2\OA-T'

    TELL 'DX-SYS\OAT' TO "SET_AOS" 'AHU-SYS\OAT\VALUE',2

    END PROCESS

    ===========

    Replace following with names applicable to your system
    DX-SYS\OAT = System and point name for OAT in system used by DX9100 (the ACO)
    AHU-SYS\OAT = System and point name for OAT in system used by AHU 1/2
    NC-NAME = the name of of the NCM Process

  6. #6
    Join Date
    Dec 2004
    Location
    San Francisco Bay Area
    Posts
    434
    And all went well, until PMI reported that the compiler wasn't installed, adn to contact Johnson for the software - yeah, I don't think so... Now the customer's own "controls expert" can finish up that little piece.
    Thanks again for the help!

  7. #7
    Join Date
    Mar 2007
    Posts
    254
    Quote Originally Posted by simux View Post
    I added some more lines that could let you select the lowest outside air temperature if you have more than one sensor!!!!!
    Your code selects highest OAT ..... not lowest !!

    Why would you want to select highest or lowest OAT..... Shouldn't both OAT sensors have the same reading ???
    Last edited by exwtk; 01-07-2009 at 07:41 PM.

  8. #8
    Join Date
    Sep 2006
    Location
    Alaska
    Posts
    394
    Your right here's the corrected JC Basic. Also most outside sensors will read differently!!!!

    PROCESS 'DX-SYS\Export' "" '\NC-NAME'
    PERIOD 00:05:00
    PRIORITY 4

    IF 'AHU-Sys1\OA-t' <= 'AHU-Sys2\OA-t' then

    OAT' = 'AHu-Sys1\OA-T'

    else

    OAT' = 'AHU-Sys2\OA-T'

    TELL 'DX-SYS\OAT' TO "SET_AOS" 'AHU-SYS\OAT\VALUE',2

    END PROCESS

Posting Permissions

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