background image

 

 

IzoT U60 DIN Network Interface User’s Guide 
 

 

23 

Type Code Values 

The following table lists the values for the Type Code byte.  Uplink means that data 

is transferred from the U60 to the host processor.  Downlink means that data is 

transferred from the host processor to the U60. 

 

 

Value

 

 

Type

 

 

Description

 

 

Uplink / 
Downlink

 

 

0

 

 

CpNull

 

 

No data is being sent.  Use this value for 
acknowledge-only packets, or for pinging. 

 

U/D 

 

1

 

 

CpFail

 

 

The previous transfer was broken or in 
error.  This is typically due to checksum 
errors or fragmented transfers.  The 
correct response to this command is to 
resend the previous transfer.  

 

U/D 

 

2

 

 

CpMsg

 

 

One message follows.  A message is any 
multi-byte network interface transfer and 
requires an application output buffer or 
packet buffer in 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 consists of a length 
byte, the NI command, the message itself, 
and a checksum. 

 

U/D 

 

3

 

 

CpMsgReq

 

 

Optional.  Sent by the host for requesting 
both the attention of the U60 and 
requesting an uplink 

CpMsgAck

 

The 

Param Data 

field contains either a 

0

 

or a 

informing the U60 that the following 

message is either a non-priority message 
(0) or a priority message (1). The U60 
driver does not use priority messaging; 
therefore, this value is ignored.  This 
allows the U60 to respond to the 

CpMsgReq 

based on actual buffer 

availability. 
  
Alternatively, you can send the entire 

CpMsg 

plus message to the U60 and a 

CpMsgReject 

may be sent uplink if there 

are no available buffers. 

 

 

4

 

 

CpMsgAck

 

 

The U60 is entering the ready-receive 
state.  This is the U60’s response to the 

CpMsgReq

 

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: