LonWorks Introduction 2004. 10. 15 Hwayoung Chae.

Slides:



Advertisements
Similar presentations
Introduction to TCP/IP
Advertisements

PowerPoint ® Presentation Chapter 7 LonWorks Network Programming LonWorks Network Programming Network Variable Bindings Device Commissioning.
1 ICS 156: Lecture 2 (part 2) Data link layer protocols Address resolution protocol Notes on lab 2.
Why to learn OSI reference Model? The answer is too simple that It tells us that how communication takes place between computers on internet but how??
OSI MODEL Maninder Kaur
LAN Protocol Architecture
CompTIA Network+ Chapter 2
Lecture 2 Protocol Layers CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
Socket Programming.
1 Fall 2005 Internetworking: Concepts, Architecture and TCP/IP Layering Qutaibah Malluhi CSE Department Qatar University.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Jacob Boston Josh Pfeifer. Definition of HyperText Transfer Protocol How HTTP works How Websites work GoDaddy.com OSI Model Networking.
Open System Interconnection (OSI) Model
Introduction to Management Information Systems Chapter 5 Data Communications and Internet Technology HTM 304 Fall 07.
IP Routing: an Introduction. Quiz
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Gursharan Singh Tatla Transport Layer 16-May
Lecturer: Tamanna Haque Nipa
THE OSI MODEL KUDIRAT FAWEHINMI COSC 541.
Network Management Concepts and Practice Author: J. Richard Burke Presentation by Shu-Ping Lin.
Midterm Review - Network Layers. Computer 1Computer 2 2.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
Chapter 2 Network Models
The Internet model consists of _______ layers.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
Introducing Network Standards
Kashif Bashir Chapter 2 Network Models.
Jiří Novák, CTU FEE in Prague, Dept. of Measurement Industrial Distributed Systems Technology overview Technology overview Important features Important.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
Chapter 7 Low-Level Protocols
Service Primitives Six service primitives that provide a simple connection-oriented service 4/23/2017
CIT-Dept-IFM 2006/7 Institute of Finance Management 2006 CIT232- Computer Networks 1/30 Protocols and Standards Protocols and Standards Protocols Standards.
The OSI Model An ISO (International standard Organization) that covers all aspects of network communications is the Open System Interconnection (OSI) model.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
Switches 1RD-CSY  In this lecture, we will learn about  Collision Domain and Microsegmentation  Switches – a layer two device ◦ MAC address.
The OSI Model.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
11 NETWORK CONNECTION HARDWARE Chapter 3. Chapter 3: NETWORK CONNECTION HARDWARE2 NETWORK INTERFACE ADAPTER  Provides the link between a computer and.
Addressing Through the Layers  Data Link Layer Address  Network Layer Address.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Switches 1RD-CSY  In this lecture, we will learn about  Collision Domain and Microsegmentation  Switches – a layer two device ◦ MAC address.
Network Protocols and Standards (Part 2). The OSI Model In 1984, the International Organization for Standardization (ISO) defined a standard, or set of.
THE OSI MODEL ISO is the organization.OSI is the model. ISO  International Standards Organization OSI  Open Systems Interconnection.
Chapter 2 Network Models
Linux Operations and Administration Chapter Eight Network Communications.
Protocol Layering Chapter 11.
Chapter 7 OSI Data Link Layer.
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non proprietary standards for networking and for operating system.
OSI ARCHITECTURE IN OSI, ACTUAL INFORMATION IS OVERHEADED BY PROTOCOL LAYERS IF ALL SEVEN LAYERS ARE OVERHEADED, THEN AS LITTLE AS 15% OF THE TRANSMITTED.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Computer Network Lab. 1 3 장 OSI 기본 참조 모델 n OSI : Open System Interconnection n Basic Reference Model : ISO-7498 n Purpose of OSI Model ~ is to open communication.
Introduction to Networks v6.0
The OSI Model Prof. Choong Seon HONG.
Instructor Materials Chapter 5: Ethernet
Click to edit Master subtitle style
Chap. 2 Network Models.
Layered Architectures
Chapter 6: Network Layer
Lec 5 Layers Computer Networks Al-Mustansiryah University
Chapter 2 Network Models.
Chapter 3: Open Systems Interconnection (OSI) Model
Network Protocol Layers
Chapter 2 Network Models.
Chapter 2 Network Models.
Chapter 2 Network Models.
Presentation transcript:

LonWorks Introduction Hwayoung Chae

Contents  Introduction  Neuron Chip  LonTalk Protocol  Addressing  SNVT  LonTalk Communication Method  Neuron C  Application Installation Step  LonMark Object

Introduction  LON – Local Operating Network by ECHELON  Open Control System  BA, FA, HA  Configuration  LonWorks Device - Neuron Chip & Transceiver  LonTalk protocol  LNS(LonWorks Network Services)  User Application

Neuron Chip

 Characteristic  Three 8-bit processor  On-chip memory  Two 16-bit timer/counter  11 Programmable I/O port  Network communication port

LonTalk Protocol  Variable transmission media – TP, RF, PL, Optical Fiber, IR  Priority based transmission  Suitable Message – NV, Explicit Message  Hierarchical addressing – 2 48 domain, node  Authentication service  Interoperability – LonMark (SNVT)

LonTalk Protocol  OSI 7 Layer  Physical Layer – TP, PL, RF  MAC Sublayer – CSMA  Link Layer – connectionless, frame encoding, error detection  Network Layer – packet transmission, routing  Transport & Session Layer – process order, message processing, authentication  Presentation & Application - Node Service

Addressing  Addressing Method – 3, 4 layer  (domain, subnet, node)  (domain, subnet, neuron id)  (domain, group, member)  Domain – 0,1,3,6 byte  Subnet, group – 8 bit  Node – 7 bit  Member – 6 bit

SNVT  Application parameters  LonMark NV Type for Interoperability Network input/output [class] type identifier [=initial value] Network input byte nviInputData

LonTalk Communication Method

 Explicit Message  transmit addressing information & data directly  228 bytes  Network Variable : Using SNVT  Message Service  ACKD, Request/Response service  Repeated service, Unacknowledged

TASK

Neuron C  Network Variable  Input/Output Object, Binding network input byte nviInputData network output bit nvoOutData  Event-driven way – priority based When(Event_1) { // Event_1 content }  Software Time – ms timer, sec timer

Application Installation Step  Addressing  Assign each node to the address  Binding  Connect between nodes logically  Configuration  Configure the communication environment between nodes

Application Installation  Installation tool  Configure the network with the network manager which send the network message to neuron chip  Neuron Chip Base  PC Base  LonManager LonMaker for MS-DOS  LonWork Network Service(LNS) for Windows

LonMark Object  Basis of interoperability  Describe standard formats  how information is input to and output from a node  how information is shared with another nodes on the network  Define set of one or more network variable input and output(SNVT)

Neuron-based Device

Host-based Device

LonWorks Host Application Hwayoung Chae

Contents  Overview  Host application architecture  Application buffer  Network Interface Configuration Options  Sending Messages  Receiving Messages  Binding to a Host Node  Network Driver  Sample host application

Overview of the host application architecture  Host application are application programs running on hosts other than NEURON CHIPs that use the LONTALK protocol to communicate with nodes on a LONWORKS network  Host applications can be used for any type of application, but the most typical uses are network management, network control, and network monitoring.

Host application architecture

Overview of the host application architecture  Network driver  The software that interface the host application to the host interface hardware.  Host interface  The hardware interface between the host processor and the network interface.  Network interface  A device that provides an interface between a host and a LONWORKS network.

Host Application Architecture  Application Layer  Send and receive LONTALK messages  Link Layer  Ensure reliable delivery of packets between the host and the network interface  Control the network interface  Physical Layer  Physical interface between the host interface and the network interface

Application buffer  Network Interface Command  Application buffer type and size  Message Header  LONTALK messages type  Network Address  Destination address for downlink and source address for uplink  Data  Transferring data

Network Interface Configuration Options  Network variable processing option  When network interface selection  the host can declare up to 62 network variables  When host selection  the host can declare up to 4096 network variables  When a network variable update occurs. 1. Target address decoding. 2. Network variable selection. 3. Network variable modification.

Network Interface Configuration Options  Network variable configuration table size option  When network interface selection is specified, this option defines the size of the network variable configuration table on the network interface.  Explicit addressing option  Specifying “explicit addressing on” adds an 11byte explicit address field to every application buffer.

Sending Messages 1. Building the message within the application buffer data structures 2. Write the application buffer to the network driver 3. Repeat step 2 if the driver returns the LDV_NO_BUFF_AVAIL or LDV_DEVICE_BUSY error codes 4. If necessary, process an response message from the network interface 5. Process the completion event message from the network interface

Receiving Messages  Application Messages  Network variable updates  Poll request  Response to a poll  Explicit messages  Network management or Network diagnostic messages is processed by the Neuron Chip within the network interface with following exceptions  Set Node Mode, Wink  Update Net Variable Config  Query Net Variable Config, etc.

Differences between host selection and network interface selection

Binding to a Host Node  SNVT Import  Import the network variable descriptions over the network  Using SNVT network management command  External Interface File Import  Copy or create an external interface file  Add the network variable and message tag entries.  Import this new external interface file to the network management tool

Network Driver  Provides a device-independent interface between the host application and the network interface  Standard Network Driver  ldv_open(char *device_name)  ldv_read(LNI handle, void *msg_p, unsigned length)  ldv_write(LNI handle, void *msg_p, unsigned length)  ldv_close(LNI handle)  Driver Direct Functions  ldv_write_direct(), ldv_read_direct(), ldv_register()

Sample host application

Further Work  Host application code  EasyLon linux device driver code  Simple demonstration with above two  etc…