1 / 10

BACnet for EPICS EPICS Device Support Rod Nussbaumer ISAC Controls TRIUMF

January 22 2010. BACnet for EPICS :EPICS Elements. EPICS Components. Standard EPICS Build-system compatibleSeparate Support and Example Application packagesEPICS EDM screens built by Web-based toolEPICS Runtime Databases built by Web-based Tool. January 22 2010. BACnet for EPICS :EPICS Elements.

amber
Download Presentation

BACnet for EPICS EPICS Device Support Rod Nussbaumer ISAC Controls TRIUMF

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    2. January 22 2010 BACnet for EPICS : EPICS Elements EPICS Components Standard EPICS Build-system compatible Separate Support and Example Application packages EPICS EDM screens built by Web-based tool EPICS Runtime Databases built by Web-based Tool

    3. January 22 2010 BACnet for EPICS : EPICS Elements Basis of Operation bacnet4linux provides runtime export of data. IPC Message Queues Virtual File System (VFS) EPICS IOC (co-hosted with b4l) reads runtime data from b4l Initialize records from VFS IPC Message queues populated by COV monitors from BACnet Very efficient

    4. January 22 2010 BACnet for EPICS : EPICS Elements Installation, Support Unpack Support tarball to standard EPICS Support directory Edit configure/RELEASE Specify locations of required libraries cd to 'Top' make clean, make

    5. January 22 2010 BACnet for EPICS : EPICS Elements Installation, Application Unpack Application tarball to standard EPICS Application directory Edit configure/RELEASE Specify locations of required libraries cd to 'Top' make clean, make

    6. January 22 2010 BACnet for EPICS : EPICS Elements EPICS EDM Screens Created by Data Configuration Web Tool Uses EdlBuild Perl Library Default TRIUMF Look & Feel Substantially Customizable to local conventions

    7. January 22 2010 BACnet for EPICS : EPICS Elements EPICS EDM Screens Main menu with pull-down per Local Device May split devices with many child devices EDM limit on related-display callups Panel per Device Panel contains a grid of Objects Analog Objects contain Text-update widget Binary Objects contain LED

    8. January 22 2010 BACnet for EPICS : EPICS Elements

    9. January 22 2010 BACnet for EPICS : EPICS Elements Device Support Details Record DTYP: BACNET Address field @1 171 'f' 312:0:3 Client-Index = 171 (this record) Keys b4l to EPICS through IPCMSG OBJ:TYPE:INST component used to lookup VFS data at record initialization Addressing automatic through Database Configuration Tool

    10. January 22 2010 BACnet for EPICS : EPICS Elements EPICS Startup #!/usr1/local/epics/appl/bacnet/bin/BACnet ## IOC startup script for TRIUMF IPCMSG/BACnet Device Support cd /usr1/local/epics/appl/bacnet epicsEnvSet("EPICS_CA_ADDR_LIST","localhost") epicsEnvSet("EPICS_CA_REPEATER_PORT","9101") epicsEnvSet("EPICS_CA_SERVER_PORT","9102") epicsEnvSet("BACNET_VFS_MOUNTPOINT","/mnt/BACnet") ## Register all support components ## dbLoadDatabase("dbd/BACnet.dbd") BACnet_registerRecordDeviceDriver(pdbbase) var debugFlag 3 ## setup MSG Queue Environment for message queue 1 ## ## field(INP,"@1 4 'f' "312:0:3"): the '1' in this address corresponds # to the "1" in the first arg to ipcmConnect() ## BACnetMsgConnect( "1", "/usr1/local/epics/appl/bacnet", 5548 ); ## Load record instances # # Main IBCS database, usually a soft link to a dated version # # dbLoadRecords("db/ibcs_mini.db") # dbLoadRecords("db/ibcs.db") dbLoadRecords("db/ibcs20091210.db") # dbLoadRecords("db/ibcshlth.db")

More Related