background image

 
 

 

The LinkHub-E

  

Users Guide 

 

 
 

An Advanced, Intelligent, Multiport Network Interface 

for the iButton™ and 1-Wire™ Bus 

 
 

 

 

 

 
 

 

6/25/2008 

 

Software Version 1.1i and above

Copyright © 2008 by iButtonLink LLC 

iButton and 1-Wire are trademarks of Dallas Semiconductor Corp, Dallas, Texas, USA. 

1 of 17 

Содержание LinkHub-E

Страница 1: ...ed Intelligent Multiport Network Interface for the iButton and 1 Wire Bus 6 25 2008 Software Version 1 1i and above Copyright 2008 by iButtonLink LLC iButton and 1 Wire are trademarks of Dallas Semiconductor Corp Dallas Texas USA 1 of 17 ...

Страница 2: ...programming is adaptive and automatically adjusts many 1 Wire network parameters The LinkHub E is based on the Link designed in cooperation with Dallas Semiconductor Corp Dallas Texas the originator of 1 Wire and iButton devices and various accessories Some terms used in this document may be trademarks of Dallas Semiconductor Corporation and are used with their permission DS2480B Emulation The Lin...

Страница 3: ...The LinkHub E reports device version 7 when queried using the normal DS2480B method This allows the software to distinguish the LinkHub E from a standard Dallas DS2480B interface which at the time of this writing returns a 3 Since the Link single port also returns a device version 7 the user can use the space ASCII command to determine if a LinkHub E is present Embedded EEPROM Memory The LinkHub E...

Страница 4: ... 1 Wire bus functions without software drivers The LinkHub E functions that can be performed have been coded for normal ASCII keys so that all the basic 1 Wire functions can be performed manually on the keyboard of a terminal program or using programming languages that are limited to ASCII serial port I O As a rule these special commands consist of every command code that is not used in the DS2480...

Страница 5: ...ve a page size of 64 bytes M Issue 32 read byte commands to the OW bus and return 32 pairs of hex characters This subcommand is used to read a memory page from devices that have a page size of 32 bytes m Issue 34 read byte commands to the OW bus and return 34 pairs of hex characters This subcommand is used to read a memory page WITH CRC from devices that have a page size of 32 bytes Inserts a carr...

Страница 6: ...he search conditions are satisfied See the data sheets for each individual Dallas iButton or 1 Wire device for specific search type command codes Key l lower case L This will test the composite 1 Wire bus level and report a 0 if any bus is low or a 1 if all busses are high followed by a carriage return Key x Forces all 1 Wire busses to a low level Cancelled by a reset r command or any bit or byte ...

Страница 7: ...h and Restart LinkHub Key C backslash uppercase C Set the active Channel Mask This command is follow by a two digit hex value representing a bitmask for channels which should be active There are five 1 Wire busses The bit patterns used to form the mask are 0x37 All busses enabled 0x01 External bus 1 0x02 External bus 2 0x04 External bus 3 0x10 Internal bus 0x20 External bus 4 A one 1 makes the cha...

Страница 8: ... backslash lowercase r Read ASCII data from EEPROM Data is read from the EEPROM and returned as ASCII characters The read is terminated by a carriage return from the EEPROM data stream The carriage return is also sent to the user Example After entering some ASCII data into the EEPROM with M000100 wThis is a test CR wThis is line two CR WThis is line three CR wThis is the last line CR The command M...

Страница 9: ... Since this can be extremely difficult to do to a remotely located LinkHub E this command will be removed in a future LinkHub E firmware release Note 1 The 1 Wire bus with relaxed timing suitable for long lines can only process bits at a rate of about 14 000 per second Streaming bytes using the b command will fail if the baud rate is set to more than 19 200 because the host will overrun the 1 Wire...

Страница 10: ...orted as a string with a exclamation point character a comma and the arriving device serial number When a device has been present on the bus and then is not found in ten 10 successive complete discovery cycles it is reported as a Departure with a question mark followed by a comma and the serial number of the device that departed from the bus This de bounces the departure While scanning is active t...

Страница 11: ... in Intel little endian order as a 16 bit signed integer as 4 hex characters 10 Exit byte mode CR The returned value will be a signed value in 1 16 deg C increments A return value of 5701 represents 0x0157 or 343 in decimal Dividing by 16 yields 21 4 degrees C or 70 6 degrees F Mind the sign bit or values below freezing will appear to be unusually warm by several thousand degrees Debugging hint Th...

Страница 12: ... Switched 5 Aux Pin 4 Ground Pin 5 1 Wire Data Pin 6 Ground Pin 7 5V Pin 8 Ground Warning There is no current limiting provided on the 12V pin Shorting this to ground will severely damage the LinkHub E Copyright 2008 by iButtonLink LLC iButton and 1 Wire are trademarks of Dallas Semiconductor Corp Dallas Texas USA 12 of 17 ...

Страница 13: ...tain an IP address from a DHCP server if one is available on the network or use AutoIP to generate an address in the range of 169 254 x x with a class B subnet mask XPort configuration can be done with the Lantronix Device Installer which includes web and telnet configuration options It can also be done with a standard web browser connection to port 80 or a telnet connection to port 9999 To use we...

Страница 14: ...Screen shots of Web Configuration page settings Copyright 2008 by iButtonLink LLC iButton and 1 Wire are trademarks of Dallas Semiconductor Corp Dallas Texas USA 14 of 17 ...

Страница 15: ...68 0 2 gateway 192 168 0 1 netmask 255 255 255 0 Security SNMP is enabled SNMP Community Name public Telnet Setup is enabled TFTP Download is enabled Port 77FEh is enabled Web Server is enabled Web Setup is enabled ECHO is disabled Enhanced Password is disabled Port 77F0h is enabled Channel 1 Baudrate 115200 I F Mode 4C Flow 00 Port 10001 Connect Mode C0 Send in Modem Mode enabled Show IP addr aft...

Страница 16: ...val 1 s Re notification interval 0 s Trigger 2 Serial trigger input disabled Channel 1 Match 00 00 Trigger input1 X Trigger input2 X Trigger input3 X Message Priority L Min notification interval 1 s Re notification interval 0 s Trigger 3 Serial trigger input disabled Channel 1 Match 00 00 Trigger input1 X Trigger input2 X Trigger input3 X Message Priority L Min notification interval 1 s Re notific...

Страница 17: ... ConnectMode C0 Send in Modem Mode Y Show IP addr after RING Y Auto increment source port N Remote IP Address 000 000 000 000 Remote Port 0 DisConnMode 00 40 Telnet Com Port Cntrl Enabled FlushMode 00 DisConnTime 00 00 SendChar 1 00 SendChar 2 00 Terminal name Change Setup 0 Server 1 Channel 1 3 E mail 5 Expert 6 Security 7 Defaults 8 Exit without save 9 Save and exit Your choice 9 Parameters stor...

Отзывы: