background image

 

 

IzoT U60 DIN Network Interface User’s Guide 
 

 

20 

U60 when the driver is opened by an application.  The OpenLDV driver for Windows 

includes a U60 driver, starting with OpenLDV 5.   

Protocol Processing Selection 

The U60 has two protocol processing modes of operation, 

Layer 5 mode

 and 

Layer 2 

mode

.   

 

In 

Layer 5 mode

, Layers 1 to 5 of the ISO/IEC 14908-1 and 14908-2 protocol 

stack are handled by the U60, and Layer 5 messages are exchanged between 

the U60 and the host using the U60 LLP.  Layer 5 mode requires less code on 

the host than Layer 2 mode since Layer 5 mode leverages the ISO/IEC 14908-

1 Layers 3 through 5 protocol stack implemented by the Neuron firmware. 

The U60 Layer 5 driver interface to the host application is compatible with 

the MIP/P20 and MIP/P50 driver interface to the host application.  The driver 

communicates with the U60 using the link-layer protocol (LLP), and the U60 

LLP is different from the MIP/P20 and MIP/P50 LLP.  The U60 LLP is 

described in this section. 

 

In 

Layer 2 mode

, Layers 1 and 2 of the ISO/IEC 14908-1 and 14908-2 protocol 

stack are handled by the U60, and Layer 2 messages are exchanged between 

the U60 and the host using the LLP.  The host must implement Layers 3 

through 7 when the U60 is running in Layer 2 mode.  You can use Layer 2 

mode with the Echelon LonTalk Device Stack EX running on the host to 

create high performance controllers that support more address table entries 

and simultaneous transactions than can be supported by the U60 with a 

Layer 5 interface.  The LonTalk Device Stack EX includes a complete 

implementation of ISO/IEC 14908-1 Layers 3 through 5 that runs on a host 

and interfaces with a native LON interface such as the U60 module, or 

interfaces directly with an Ethernet or Wi-Fi interface on the host. 

If you are using the OpenLDV 5 driver for Windows or newer, your application can 

select the protocol processing mode of operation by opening the driver with the 

ldv_open_cap()

 function and specifying the mode with the 

nDeviceCaps

 

parameter.  Set 

nDeviceCaps

 to 

LDV_DEVCAP_L2

 for Layer 2 mode or 

LDV_DEVCAP_L5

 for Layer 5 mode. 

If you are using the U60 driver for Linux, you need to specify the protocol processing 

mode in the driver source code, and rebuild the driver for your Linux platform.  The 

protocol processing mode is selected in the call to 

U50LinkStart()

 in the 

u50_dev_open()

 function.  Specify the mode in the last parameter in the call to 

U50LinkStart()

.  Specify 

U50_OPEN_LAYER2

 for Layer 2 mode or 

U50_OPEN_LAYER5

 for Layer 5 mode. 

Link Layer Protocol (LLP) 

The U60 communicates with a host over a USB connection using the U60 link-layer 

protocol (LLP).  The driver manages the host end of the U60 LLP, and initializes the 

U60 when the driver is opened by an application.  
The basic component of the U60 LLP is the code packet, which starts with an 0x7E 

escape code.  If an escape code appears in a normal data stream it is followed by 

another escape code and interpreted as a single data byte value rather than the start 

of the code packet.  The following figure illustrates the code packet layout. 

Summary of Contents for IzoT U60 DIN

Page 1: ...oT U60 DIN Network Interface a TP FT 10 channel type housed in a DIN 43880 2TE compliant enclosure Explains the two protocol processing modes of operation Layer 5 mode and Layer 2 mode IzoT U60 DIN Ne...

Page 2: ...s are trademarks or registered trademarks of their respective holders No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic m...

Page 3: ...OpenLDV 5 Software 10 Connecting the USB Network Interface 11 Using the LONWORKS Interfaces Application 11 U60 Buffer Configuration 12 Testing or Resetting a U60 13 Removing a USB Network Interface 14...

Page 4: ...n If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on you are encouraged to try to correct the interference b...

Page 5: ......

Page 6: ...bling and junction boxes that may be used in twisted pair IzoT and LON networks IzoT Manual Available online at www echelon com docs izot This documentation describes how to use the IzoT SDK a softwar...

Page 7: ...IzoT U60 DIN Network Interface User s Guide 5 1 Introduction This chapter introduces the IzoT U60 DIN Network Interface and describes the U60 DIN hardware...

Page 8: ...four additional channels with external U60 DIN Network Interfaces The U60 has two protocol modes of operation Layer 2 mode and Layer 5 mode that can be selected by the host application In Layer 2 mode...

Page 9: ...e host can provide a network Service indicator if required Connectors The U60 FT DIN has a two way network connector with push clips to retain the network cabling The network connection is polarity in...

Page 10: ...bility The U60 DIN is compatible with the IzoT Router Windows computers with OpenLDV 5 with hosts communicating with a Layer 5 MIP interface and with hosts communicating with a Layer 2 MIP interface i...

Page 11: ...IzoT U60 DIN Network Interface User s Guide 9 2 Getting Started This chapter explains how to install and start using the IzoT U60 DIN Network Interface...

Page 12: ...nt tool If you have multiple U60 interfaces you can associate you physical U60 interfaces with the listed routers using the MAC ID for the U60 interfaces The MAC ID for the LON interface of each route...

Page 13: ...Interfaces application described in the next section to determine the name of each of your network interfaces Using the LONWORKS Interfaces Application You can use the LONWORKS Interfaces application...

Page 14: ...e main menu or by pressing F5 You can also close and re start the LONWORKS Interfaces application By default detached LONWORKS USB interfaces are not displayed by the LONWORKS Interfaces application T...

Page 15: ...rface You cannot test or reset a USB interface if it is in use by another application 2 Open the LONWORKS Interfaces application in Windows Control Panel 3 Click the network interface name for the net...

Page 16: ...et to reset the selected interface When you reset the interface the statistic counts retrieved with Test will be set to 0 Removing a USB Network Interface You can remove and reattach a U60 interface a...

Page 17: ...s and Hosts You can use the U60 DIN Network Interface to add an FT or RS 485 interface to any host computer controller or router with a USB interface To use the U60 interface with your host computer c...

Page 18: ...IzoT U60 DIN Network Interface User s Guide 16...

Page 19: ...k Interface with an IzoT Router or with a Windows computer with the OpenLDV 5 or newer driver You can also use the U60 interface with other host computers controllers or routers if you port the driver...

Page 20: ...R_LDISCS constant For Linux kernel 3 8 NR_LDISCS is defined as 30 To compile the U60 driver you first need a compiled kernel source tree including standard Linux support for a USB CDC ACM class interf...

Page 21: ...orting LonTalk IP for example when communicating with the BACnet IP ICMP for ping or SNMP protocols over the U60 If the U60 driver is initialized correctly you will see the network interface as one of...

Page 22: ...us transactions than can be supported by the U60 with a Layer 5 interface The LonTalk Device Stack EX includes a complete implementation of ISO IEC 14908 1 Layers 3 through 5 that runs on a host and i...

Page 23: ...ape codes This may cause minor re synchronization issues if this packet is broken however it ensures a constant code packet size The packet checksum is an 8 bit value that when added to the first thre...

Page 24: ...sed in Layer 2 mode BYTE 0 BYTE 1 BYTE 2 N BYTE N 1 Length bytes to follow except checksum NI Command Priority AltPath DeltaBacklog byte NPDU CRC 2 Bytes Message Checksum of bytes 0 N The U60 supports...

Page 25: ...the downlink case The number of messages is stored in the Param Data field This value is limited to one in both the downlink and uplink case The message follows the code packet checksum byte and consi...

Page 26: ...ers will be accepted rather than rejected This command is also a good way to establish that communications are functioning with the U60 The U60 always responds to this command with a CpNull packet so...

Page 27: ...occur and an unrelated code packet will be sent by the U60 CpMsgAck The host does not need to acknowledge this message Instead it provides an implied acknowledgement by sending the CpMsg code packet...

Page 28: ...ink whenever it senses a CRC error 0x31 U 0x50 niRESET When sent downlink this will reset the U60 Following any reset the U60 will send this command uplink U D 0x60 niFLUSH_CANCEL Exits the Flush stat...

Page 29: ...tatus information When sent downlink the U60 responds with the niSSTATUS command followed by the following 4 bytes of data TXID Value MIP Version 1 Layer 2 Mode or 0 Layer 5 Mode Serial checksum error...

Page 30: ...IzoT U60 DIN Network Interface User s Guide 28...

Page 31: ...nterface software installed by the OpenLDV 5 installer is auto configuring In the unlikely event that a problem occurs during installation this appendix describes how to diagnose and fix the problem I...

Page 32: ...nstructions to repair the software and then re insert the USB interface Check www echelon com downloads for an updated version of the OpenLDV driver 2 I opened the LONWORKS Interfaces application in t...

Page 33: ...interface to your computer If you have not previously installed the software before attaching the U60 Windows will inform you that it could not install the device and the U60 Network Interface will sh...

Page 34: ......

Reviews: