ilon

15
iLon Brad Webb, SNS [email protected]

Upload: neveah

Post on 22-Feb-2016

46 views

Category:

Documents


0 download

DESCRIPTION

iLon. Brad Webb, SNS [email protected]. What Is iLon And What Is Its Purpose?. EPICS Driver. Gateway, To “CF” type systems. Typical Systems (But not limited to) Chillers… Boilers… HVAC… Variable Frequency Drives (VFDs)… LonWorks Communication Protocol. What Is LonWorks?. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: iLon

iLon

Brad Webb,SNS

[email protected]

Page 2: iLon

2 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

What Is iLon And What Is Its Purpose?

• EPICS Driver.• Gateway, To “CF” type systems.• Typical Systems (But not limited to)

• Chillers… • Boilers…• HVAC…• Variable Frequency Drives (VFDs)…

• LonWorks Communication Protocol.

Page 3: iLon

3 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

What Is LonWorks?

• LonTalk/LonWorks• Acronym• Communication Protocol• Software• Kinda like Modbus

• ANSI/CEA-709.1-B protocol• Local Operating Network• Open platform• One, configures all• Yeah, but not really

Page 4: iLon

4 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

Example Of LonWorks Network.

• hh

Page 5: iLon

5 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

Example Of Communication…

Devices speak directly to each other, using a standard of network variable types…

Page 6: iLon

6 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

Who’s using Lon?

• Spallation Neutron Source…

Page 7: iLon

7 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

Benefits of a LonWorks system?

• Your, choice of vendors.• Use of third-party tools.• Easy integration.• Easy additions and changes.• Reduced installation cost.• Lower life-cycle cost.

Page 8: iLon

8 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

How does EPICS interface to LonWorks?

• Echelon iLon Server.

• EPICS iLon Driver. (1100001110101011)

• EPICS IOC. VxWorks || Linux

EPICS IOC

Network

SOAP/XML

Page 9: iLon

9 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

About the iLon server.

• Imbedded OS• Flexibility• Variable updates

• VxWorks• Customizable with Eclipse• Event driven or polled

Page 10: iLon

10 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

Protocol Detail

• SOAP/XML • EPICS reads and writes the servers internal data table using SOAP/XML.

EPICS IOC

Network

SOAP/XML

Page 11: iLon

11 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

EPICS Support

• Record Types:• Analog In & Out.• Binary In & Out.• MBBO In & Out.• String In & Out.

• Data Types: Elements of structure.

Page 12: iLon

12 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

EPICS Startup Command File…(Example “st.cmd”)

• Define a server.o iLonDefineServer(“arbitraryName”, “i.p. address”, “port”)o iLonDefineServer(“iLon1”, “192.168.0.1”, “80”)

• Define an alias that points to the variable in the servero iLonDefineFunctionBlock(“alias”, “networkName”, “channelName”, “serverName”, “functionBlockName”)o iLonDefineFunctionBlock(“FB1”, “SNS_BmLn”, “Channel_1”, “BmLnSmartServer”, “WebServer_0”)

• Define an alias to LonMark format string (Optional)o iLonDefineFormatString(“alias”, “lonMarkFormat”) Standard Network Variable Typeso iLonDefineFormatString(“state”, “SNVT_switch.state”) ON/OFFo iLonDefineFormatString(“value”, “SNVT_switch.value”) 0-100.0%

Page 13: iLon

13 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

Summary

Page 14: iLon

14 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

EPICS Record Example(VFD/Pump Speed and Status…)

• nvoPumpSpd; (Structured SNVT, {value & state}){55.5 1};

• AI record, that reads pump speed from ABB VFDRecord(ai, “PumpSpeed”) {

field(DTYP, “iLon”)field(INP, “@iLon1 FB1 ‘nviPumpSpd’ value”)

• BI record, that reads pump status from ABB VFDRecord(bi, “PumpStatus”) {

field(DTYP, “iLon”)field(INP, “@iLon1 FB1 ‘nviPumpSpd’ state”)

Page 15: iLon

15 Managed by UT-Battellefor the U.S. Department of Energy Presentation_name

Summary

• iLon is industrial protocol.• There is an EPICS driver.• Operational at SNS for 1 Year, 15 devices.• For more, see: http://ics-web.sns.ornl.gov/webb/