epics support for building automation i.e. “bacnet · 2 managed by ut-battelle...
Post on 08-Oct-2020
0 Views
Preview:
TRANSCRIPT
EPICS support for
Building Automation
i.e. “BACnet”
Brad Webb,
SNS
webbsb@ornl.gov
2 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
What Is BACnet?
• Data communication protocol.
• Stands for: Building Automation and Control Networks.
• Developed by ASHRAE ~1987.
3 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
Example Of BACnet Network.
4 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
Process Automation
Vs.
Building Automation
5 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
BACnet?
6 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
How does EPICS interface to BACnet?
• Physically.
• Ethernet (BACnet/IP)…
• Twisted-Pair (MSTP)…
• Mentally (software).
• EPICS BACnet support drivers…
7 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
Inside a BACnet device.
• BACnet Device Object Example…
BACnet Device
OBJECT TYPE DESCRIPTION
(0) Analog Input Resistivity?
(1) Analog Output Positioner?
(3) Binary Input Interlock?
(4) Binary Output Enable/Disable?
8 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
Inside a BACnet device.
• BACnet Object & Properties…
BACnet Device
OBJECT TYPE PROPERTIES VALUE
(0) Analog Input
(85) Present_Value: 27.0237689
(77) Object_Name: “Resistivity_1”
(79) Object_Type: Analog-Input
(81) Out_Of_Service:
FALSE
(117) Units: Rs
9 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
How does EPICS interface to BACnet?
(Continued.)
• BACnet “Services” Supported:
• Who-Is and I-Am
• Read-Property
• Write-Property
• Subscribe-COV
10 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
EPICS Record Support?
• Record Types Supported:
• Analog In & Out.
• Binary In & Out.
• MBBI.
• String-In.
11 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
EPICS Startup Command File…
(Example “st.cmd”)
• Define a BACnet field-device (i.e. a server). • bacnetDefineServer(<arbitraryName>, <instance number>, <port>, <poll-delay ms>)
• bacnetDefineServer(“siemens_1”, “8025”, “47808”, “25”)
• bacnetDefineServer(“siemens_2”, “8026”, “47808”, “25”)
• bacnetDefineServer(“jci_1”, “2025”, “47808”, “25”)
• …
12 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
EPICS Record Example.
• AI record example: record(ai, “DTL:TT2101:F”) {
field(DTYP, “BACNet”)
field(INP, “@siemens_1 0 4 85”)
field(SCAN, “1 second”)
}
• AI record example (COV): record(ai, “DTL:TT2101:F”) {
field(DTYP, “BACNet”)
field(INP, “@siemens_1 0 1 85 c60”)
field(SCAN, “1 second”)
}
13 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
EPICS Record Example.
• field(INP,@siemens_1 0 4 85)
Device Name
Object Type (Enum)
Object Instance
Property ID (Enum)
14 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
Summary
• BACnet is industrial protocol.
• There is an EPICS driver.
• Operational at SNS for <1 Year.
• For more, see: http://ics-web.sns.ornl.gov/webb/
15 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
Who’s using BACnet?
• Spallation Neutron Source…
• Fritz-Haber-Institute in Berlin, Germany.
16 Managed by UT-Battelle for the U.S. Department of Energy Presentation_name
Process Automation
Vs.
Building Automation
top related