background image

 

 

IzoT U60 DIN Network Interface User’s Guide 
 

 

21 

 

 BYTE 0                  BYTE 1                  BYTE 2                   BYTE 3

Escape:            Sequence #,           Param Data        Packet
0x7E                 ACK bit,                                             Checksum
                         Type Code
                          (excludes
                            0x7E)    

  Sequence                 ACK            Type Code
  [D7 – D5]                  [D4]               [D3 – D0]

 

 

The second byte contains a 3-bit sequence number in the sequence bits (D7-D5), a 

single ACK bit (D4), and a 4-bit Type Code bits (D3-D0).  You cannot form the escape 

code by combining a Type Code value with the sequence number (0x0E is not 

allowed).  As a result, you can create 15 different codes.  The Type Code values are 

described in the next section. 
The sequence number is cycled through between values ‘1’ and ‘7’, with ‘0’ being an 

initialization value.  When a code packet is received that has the same sequence 

number as the previous code packet received, the new packet (and any following 

data) is rejected (this transfer will be acknowledged if necessary).  The exception is if 

the sequence number is zero.  The zero sequence number may be used for any 

idempotent code packet or message. 
The third and fourth bytes may contain the escape code value, but they will not be 

interpreted as escape 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 three bytes, 

results in an 8-bit zero result. 
The code packet has the following features: 

 

Asynchronous method of presenting itself at any time (by using an  

escape sequence) 

 

Checksum verification 

 

Data transfer initiation 

 

Duplication detection using a sequence number—duplicates 

may be sent when an expected response is lost or broken  

and does not occur within a time-out period 

Data outside of the code packet is restricted to either a 

message 

or a 

multi-byte local 

network interface command or response 

and is always enclosed with a length byte in 

the front and a checksum at the end.  The length byte does not account for the 

checksum at the end—the inclusion of the checksum is implied.  The checksum covers 

the data that preceded it; therefore, it does include the length byte. 

All data outside a code packet must include an escape prefix before any escape data 

values.  For example, if a 0x7E value appears in the sequence it must be followed by 

another 0x7E (the first 0x7E value is the escape prefix).  Checksum bytes and length 

bytes must be preceded with escape prefixes. 

Содержание IzoT U60 DIN

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 5: ......

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 18: ...IzoT U60 DIN Network Interface User s Guide 16...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 30: ...IzoT U60 DIN Network Interface User s Guide 28...

Страница 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...

Страница 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...

Страница 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...

Страница 34: ......

Отзывы: