Gebruiksaanwijzing /service van het product 900-618 van de fabrikant Lantronix
Ga naar pagina of 79
xPico User Guide Part Num ber 900 - 618 Revis ion B J anu ar y 2013.
Copyright and Trademark © 2013 Lantr onix. All r ights res erved. No part of the contents of this bo ok ma y be transm itted or repro duced in an y form or by an y m eans without the written perm ission of Lantron ix. DeviceL inx ® , xPico ™ and DeviceIns ta ll er™ ar e trade mark s of Lan tronix.
Disclaimer Operation of th is equipm ent in a resid ential area is likely to caus e interf erence, in which case the user, at his or her o wn expense, will be requir ed to tak e whatever meas ures ma y be required to correct the interferenc e.
Table of Conte nts Cop y right a nd Tradem ark ............................................................................................. 2 W arranty ..................................................................................................
Table of C ontents Server Co nfiguration ................................................................................................... 22 Server Co nfiguration .....................................................................................
Table of C ontents c) Activ e Startup ................................................................................................... 44 d) Data gram T y pe ..........................................................................................
Table of C ontents Disable ECHO Ports ............................................................................................ 58 Enable E ncrypt ion ................................................................................................ 59 Enable E nhanced Pass word .
List of Tab les and Figur es List of T a bles Table 6 - 1. BootP/DHCP/Au toIP Options ____________________________________________ 37 Table 6 - 2. Standard I P Network N et m asks __________________________________________ 38 Table 7 - 1. Interf ace Mode Options ________________________________________________ 41 Table 7 - 2.
1. Using This Guide Purpose and Audie nc e This guid e covers xPico Device Ser ver Modu le . It provi des the inform ation needed to configure, use , and u pdate the xPico firm ware and is intend ed for OEMs a nd syste m integrators who are em bedding the x Pico i n their end product desig ns.
1 : Using Th is Guide Additi ona l Document ation Visit the Lantronix W eb site at www.lantronix .com/s upport/documentat ion for th e latest docum entation and the foll o wing add it ion al doc um entation . Document Descriptio n xPico Quick Start Provides the steps f or gettin g the xPic o evaluation board up and runni ng.
2. Introduction This c hapter summ arizes the xPico device ser ver’s features and the bas ic inform ation needed to get started. Capabi l itie s The xPico device ser ver has the f ollowing capab ilities: Connects devices thr ough a T CP data channe l or through a Telnet conn ection to computer s or to another device ser ver.
2: Introduct ion Protoc ol Support The xPico device ser ver uses the I nternet Protoc ol (IP) f or network c o mmunication s. It uses th e Transm ission Control Protocol (T CP) to as sure that no data is lost or duplicat ed, and that e verything s ent to the con nection ar rives correctl y at the tar get.
2: Introduct ion IP Address Every de vice connecte d to an IP network mus t have a unique IP address . T his address is used to ref erence the s pecific unit . T he xPico is autom atic al l y assigned an IP add r ess on DHC P - enabled net works, as it is DHC P - enabled b y def ault.
3. Using D evi ceInstal l er This c hapter covers the s teps f or getting the xPico dev ice server on line and vie wing its curr ent configurat ion . Note: DeviceInst aller is a fr ee utility pro gram provid ed by Lantro nix that discover s, configures, upgrades, a nd manages Lantronix Device Ser vers.
3: Using Dev iceInstall er 2. Click the A ssign IP ic on . 3. If prom pted, enter the h ardware ad dress (on t he product label) and clic k Next . 4. Select A ssign a specifi c IP addr ess and c lick Next . 5. Enter the IP add re ss . T he Subnet mask displays aut omaticall y based on the IP address; if desired, you may cha nge it.
3: Using Dev iceInstall er DHCP Device Nam e Non - config urable fi eld. Display s the name associ ated w ith xPic o ’s curr ent IP addr ess, if the IP a ddress w as obtained dynamical ly. To change the DHCP device n ame, see Conf iguration Using Web Manager or Configur ation vi a Telnet or Serial P ort (Set up Mode) .
3: Using Dev iceInstall er Telnet Support ed Non - config urable fi eld. Indic ates if Telnet sessi ons are permitted . Telnet Port Non - config urable fi eld. Display s the xPi co ’s port fo r Telnet sessio ns. Web Port Non - config urable fi eld. Display s the xPi co ’s port for W eb - Manager conf iguration.
4. Configur atio n Usi ng W eb Manager You mus t configure the unit so that it can com municate on a network w ith your serial device. For exam ple, you must set the way the unit will respo nd t o seria l and net work traff ic, how it will h andle serial pac kets, and when to star t or close a con nection.
4: Configur ation Usin g Web Manager Figure 4-1 . Web - Manager Lo gin Window 7. Perform one of the fol lowing: If no T elnet password h as been defin ed (default), leave both f ields blank and click OK . If a T elnet password has been define d, leave the usernam e blank, type in th e passwor d, and then c lick OK .
4: Configur ation Usin g Web Manager Figure 4-3 . Net w ork Sett ings Network M ode 1. Click Network from the m ain menu. 2. Note the f ollowing: Networ k Mode Wired Onl y is the only ch oice. It enables t he Ether net netw ork connectiv ity. Automatic IP Address Confi guration A n IP addr ess can be assig ned autom aticall y.
4: Configur ation Usin g Web Manager Protocol (DHCP) to assign a l eased I P address t o the xP ic o unit auto matically . E nable is th e default. AutoIP Select Ena ble to pe rmit the xPi co to generat e an IP i n the 169.254.x . x address ran ge with a Cla ss B subnet .
4: Configur ation Usin g Web Manager Auto Negot iate With this option, the E thernet port au to - negotiate s the speed and duplex with the har dware endpoint t o which it i s connected. T his is the default. If this opti on is no t selec ted, t he compl ete the f ields that become availa ble: Speed: T he speed of data transmission.
4: Configur ation Usin g Web Manager Server Configuration Advanced P assword Select w hether to ena ble adva nc ed password: Enable : selectin g this optio n enabl es adv an ced passwor d creation, allowing y ou to create pa sswords up to 16 bytes in length.
4: Configur ation Usin g Web Manager The hos t list supports a minim um of 1 and a m aximum of 12 entr ies. Each e ntry contains an IP address and a port number. Note: The host l ist is disabl ed for Manua l and Modem Mode. The un it does not accept a data connec tion from a r emote device w hen the h ostlist opt ion is enable d.
4: Configur ation Usin g Web Manager Note: Directions for config uring Channe l 1 serial sett ings and c onnection apply for C hannel 2 conf iguration , except wher e indicat ed . Serial Settings To configure the channel’s serial settings: 1. On the m ain menu, cl ick Serial Settings (under Chan nel 1 ) to disp lay the Seri al Settings wi ndow .
4: Configur ation Usin g Web Manager device is prepared to mana ge it causes lost or retran smi tted data. None is th e default . Channel 1: None, Xon/Xoff, Xon/X off P ass Char s to Host or CTS/RTS (hardware).
4: Configur ation Usin g Web Manager from the n etwork to t he dev ice. The default is No . At Time o f Disconnect Select Yes to clear the input buf fer w hen the netw ork connection to or from the device is disconn ected.
4: C onfigur ation Using W eb Manager Figure 4-7 . TCP Conn ectio n S ettings xPico User Guide 28.
4: Configur ation Usin g Web Manager 2. In the a vailable fiel ds, enter or modif y t he following inform ation: Connect Protocol Protocol From the dr op - dow n menu, s elect TCP . Connect Mode: Pass ive Co nnectio n Accept In coming Select Yes to a ccept inc oming con nections.
4: Configur ation Usin g Web Manager Connect i s set to N one . Se lec t Enable t o permit Te lnet communic atio n to the unit. The Telnet Com Port Cn trl feature is used in c onjunction with th e Com Por t Redire ctor (CPR) utility. (See the CPR online H elp for details.
4: Configur ation Usin g Web Manager Figure 4-8 . UDP Conne ctio n Settings Connect Protocol Protocol Select UDP from the drop - dow n menu. Datagram Mode Datagram Ty pe Configures the remo te IP or n etwor k broadcast a ddress and the remote port. Enter 01 for directe d or broad cast UDP .
4: Configur ation Usin g Web Manager 3. W hen y ou are finished, click the OK button. 4. On the m ain menu, cl ick Apply Settings . Configur a ble Pin Se t tings There ar e eight conf igurable hard ware pins on th e xPico unit. For eac h pin, conf igure the pin func tion, com munication d irection, and activity level .
4: Configur ation Usin g Web Manager 2- wire and 4 - w ire mode on OEM hard ware design. Serial Chan nel 1 St atus LED Indicates c hannel 1 status an d ex tended diagno stics. Serial Chan nel 2 St atus LED Indicates chan nel 2 st atus an d ex tended diagno stics.
5. Configuration via T elnet or Serial Port (Setup Mode) You mus t configure the unit so that it can com municate on a network w ith your serial device.
5: Configur ation via Te lnet or Seri al Port (Setup Mode ) To est ablish a Telnet conn ection: 1. From the W indows Start menu, click Run and type the f ollowing com mand, where x.x .x.x is the I P address, and 9999 is the u nit’s fixed n etwork c onfiguration port num ber: W indows: telnet x.
5: Configur ation via Te lnet or Seri al Port (Setup Mode) Note: The easiest w ay to enter S etup Mode is to hold down the x key at the termi nal (or emulat ion) while res etting the u nit. You must do this withi n three seconds of resetti ng the xPico .
6. Setup Mode : S erver Confi guration This c hapter explains how to conf igure the net work sett ing s. Note: Current va lues appear in parentheses. Ser v e r Configura tion (Opt i on 0) The unit ’s basic net work param eters displa y when you select Server configuration (option 0 ).
6: Setup Mode: Serv er Con figur a tio n Set Ga te w a y I P Addres s Th e gateway address , or router, a llows comm unication to ot her LAN se gments. T he gatewa y addr ess should b e the IP addr ess of the ro uter connect ed to the sam e LAN segm ent as the unit.
6: Setup Mode: Serv er Con figur a tio n An enhanc ed pass w ord set ting (for T elnet access onl y) of 16 char acters is a vailable under Secur ity Settings (Option 6) o n page 56 . Note: You do not need a passwor d to access th e Setup Mode w indow by a s erial connecti on.
7. Setup Mode : Channel C o nf igura tion This c hapter explains how to conf igure the ser ial port. Channel 1 (Option 1) or Channel 2 (Opt ion 2) Select Channel 1 (opti on 1 ) or Channel 2 (option 2 ) f rom the Chan ge Setup m enu to define ho w the serial port responds t o network and serial com municatio ns.
7: Setup Mode: Cha nne l Configuratio n I/F (I nterface) Mode The Inter face (I/F) Mod e is a bit - c oded b yte entered in hexadec imal notat ion. I/F Mode (4C) ? _ The f ollowing table d isplays ava.
7: Setup Mode: Cha nne l Configuratio n Table 7-3 . F low Control Op tions Flow Control Option Hex No flow contr ol 00 XON/XO FF flow control 01 Hardw are handshake w ith RTS/CTS lines 02 XON/XO FF pass charac ters to host 05 Port Numbe r The s etting represen ts the sourc e port num ber in TCP connect ions.
7: Setup Mode: Cha nne l Configuratio n Table 7-5 . Con nect Mode Options Connect Mode Option 7 6 5 4 3 2 1 0 a) Incoming Con nection Never accept incom ing 0 0 0 Accept with activ e M odem Control I .
7: Setup Mode: Cha nne l Configuratio n b) Response Character R esponse A single char ac ter is trans mitted to t he serial p ort w hen there is a change in c onnection s tat e: C = connected, D = disconnected, N = host unreachab le. The IP addre ss of t he host con necting t o the CoBo s device w ill b e provided w hen you use ver bose mode.
7: Setup Mode: Cha nne l Configuratio n Manual Conne ction Attempts t o connect w hen directed by a command str ing received fr om the se rial port . The fir st chara cter of t he comm and string must be a C (AS CII 0x 43), and the last chara cter mu st be either a c arriage re turn (ASCI I 0x 0D) or a line feed (0x 0A).
7: Setup Mode: Cha nne l Configuratio n Command String Result if r emote IP is 129.1.2.3 and remote po rt is 1234 Once it co nnects, the unit st ops trying to conn ect to any others. If this conn ec tion fails, t he unit cont inues t o scroll thr ough the table unt il it is ab le to conne ct to ano ther IP in the hos tlist.
7: Setup Mode: Cha nne l Configuratio n d) Datagram T y pe Directed UDP When select ing thi s option, y ou are p rompted for the Dat agram ty pe. Enter 01 for directed or broad cast UDP . Datagra ms of type 01 can be sent as a bro adcast by enabli ng the S end as Br oadcast o ption.
7: Setup Mode: Cha nne l Configuratio n Messag e Meaning Numeric Response 0 OK 1 Connected 2 Ring 3 No Carrier 4 Error Received com m ands must begin with the two - charac ter sequenc e AT and b e term inated with a carr iage return c haracter.
7: Setup Mode: Cha nne l Configuratio n Modem Mode Command Function ATD0.0. 0.0 Forces th e unit i nto Monitor Mode i f a remot e IP addre ss and port number are defined w ithin the unit. ATD or ATDT Forces the unit i nto Monitor M ode if a remote I P addre ss and port number are not def ined wit hin the unit.
7: Setup Mode: Cha nne l Configuratio n Y ( Yes ) auto inc rement the source port. T he xPico increm ents the port number used with eac h new connec tion .
7: Setu p Mode: Cha nne l Configuratio n Disconne ct Mode Option 7 6 5 4 3 2 1 0 State LED off with c onnection (4 ) 1 Disconnect with EOT (^D) (5) 1 (1) The Telnet Com Port C ontrol feature is used in conjunct ion w i th Com Port Redi rector. The unit sends the Terminal Ty pe upon an outgoing connecti on.
7: Setup Mode: Cha nne l Configuratio n Pack control settings ar e enabled in Flush Mo de. Set this value to 00 if you do no t need spec ific functions . Note: All bit posit ions in the table that ar e blank repr esent “don’t c are” bits, for t hat particular option, whic h can be set t o either a 0 or 1 value.
7: Setup Mode: Cha nne l Configuratio n DisConn Time (Inac tivity Timeout ) Use this parameter to s et an inac tivity tim eout. The uni t drops the T CP connec tion to the local port if there is no activit y on th e serial line b efore the s et time ex pires.
8. Setup Mode : A dvan ced S ettin g s Exper t Settings (Option 5 ) Note: You can cha nge the Ena ble alterna te MAC setti ng using telnet or serial connecti ons only. It is not availabl e through the Web - Manager . CAUTION : Only an expert shoul d change these paramete rs.
8: Setup Mode: Adv a nced Sett ings ARP Cache timeout in seco nds W henev er the u nit comm unicates with another devic e on the net work, it adds an entry int o its ARP tabl e. The ARP C ache tim eout option allo w s y ou to define ho w man y s econds (1 - 600) the unit will wait before t iming out th is table.
8: Setup Mode: Adv a nced Sett ings TCP Re-Transmissi on Timeout The T CP Re - Transm ission Tim eout is the interv al to wait for acknowledgem ent of transm itted TCP segm ents befor e re - transm itting them. Enter between 500 and 4000 ms. T he default is 500 m s .
8: Setup Mode: Adv a nced Sett ings Disable Port 77F0h (N) ? Disable SNMP This s etting allows you to disable the SNMP pr otocol on the unit for sec urity reasons . Disable SNMP (N) ? _ SNMP Communit y Name The SNM P Communit y Na me is a require d field for NMS to read or write to a device .
8: Setup Mode: Adv a nced Sett ings Disable TFTP Firmw are Upgrade This s etting defaults to the N (No) option. The Y ( Yes) option disables the us e of TFT P to perform networ k firm ware upgrades. W ith this opti on, you can download firm ware upgrades ov er the serial port using Device Installer ’s Recover F irmware procedure.
8: Setup Mode: Adv a nced S et tings Enable Encr y ption Rijndael is the block cipher algorithm chosen b y the Nation al Institute of Science a nd Tec hnology (NIST) as the Advance d Encryptio n Standard (A ES) to be use d by the US gover nment. T he xP ico supports 128 - , 1 92 - , and 2 56 - bit encryption k ey length s .
8: Setup Mode: Adv a nced Sett ings Lantronix Secure Com Port Redirec tor provide s an encr y pted conn ection fr om W indows - based applicat ions to the x Pico . Inform ation about SCPR is at www.lantr onix.com /device - networking/ utilities - tools/scp r A 30 - da y trial ver sion of SCPR is available .
8: Setup Mode: Adv a nced Sett ings Hostlist ret ry timeout 250 (mse c) Start charact er for serial ch annel 1 (or channe l 2) 0x0D (CR) All ot her parameter s 0 Expert Settings Def aults TCP Keepaliv.
9. GPIO I n terf ace Configur a ble Pins The xPico has eight pins ( CP 1-8 ) that y ou can c onfigure f or General Pur pose I/O (GPIO). Note: You can also c onfigur e the pins for s erial port c ontrol lines, s uch as har dware control, modem contro l ( CTS, RTS, DTR, an d DCD ) , and diag nosti c outputs to LED, using DeviceI ns tal ler.
9: GPIO Inter face Control Pr otocol The GPIO control prot ocol is a s imple, propr ietary prot ocol . Guidelines The GPIO control prot ocol is des cribed from the PC side. Send m eans from PC to xPico . Respons e com es from xP ico to PC. The protoc ol allows f or control of up to 32 GPIOs .
9: GPIO Inter face Command 10h, Get Functions Send: No parameter s Response: 1 paramet er Bytes 1 - 4: Functions Bit X 1 means general purp ose I/O available t o the us er. 0 means ded icated f unction (e .g., seria l flow control, di agnostics ) for configura ble pin X .
9: GPIO Inter face Command 19h, Set Direct ions Send: 2 paramet ers Bytes 1 - 4: Mask Bit X 1 means the directi on for GP IO X w ill be updated w ith the value in t he second parameter . 0 means the directi on for tha t GPI O will not ch ange. Bytes 5 - 8: New Directions Bit X 1 means GPIO X w ill become an output.
9: GPIO Inter face 10h = com mand 10h 00h, 00h, 00h, 00h = ignor e d 00h, 00h, 00h, 00h = ignor e d Response d etails: 10h = respo nse to com mand 10h 03h, 00h , 00h, 00h = bits 0 and 1 are 1 → CP1 a nd CP2 are conf igured as GPIOs. bit 2 is 0 → CP3 is configur ed as either s erial control or diagnost ics.
10. Firmware Upgrades Obtai ning Firmwar e You can o btain the m ost up - to - date f irmware and r elease notes for the un it from th e Lantronix web site ( w ww.lantronix.com/s upport/downl oads ) or by us ing anon y m ous FT P ( ftp.lantronix.com /pub ).
10 : Firmwar e Upgr a des Figure 10 -1 . TFTP Windo w 6. Click the Put b utton to tran sfer the f ile to the unit. T he unit perf orms a po wer reset af ter the firm ware has been l oaded and st ored. After the f irmware has been loaded a nd stored, which tak es approxim ately 8 seconds to com plete, the unit per forms a power reset.
10 : Firmwar e Upgr a des Recovering the Fir mware Using the Serial Po rt and DeviceInstall er If f or some reason t he firmware is d amaged, you can rec over the firm ware file by using De viceInstaller t o download t he *.ROM fi le over the seri al port.
11. Monitor Mode Monitor M ode is a com mand - line interf ace used f or diagnostic purposes. There ar e two wa y s to enter Monitor Mode: l ocally us ing the ser ial port or rem otely using the networ k . Enter ing Monitor Mode Using the Serial Port To enter Monitor M ode locally: 1.
11 : Monitor Mod e Table 11 -1 . Monit or Mod e Com mands Command Command N ame Function VS x.x.x. x Version Queries sof tware head er record (16 byte s) of un it with IP addr ess x .x.x.x . GC x.x.x.x Get Config uration Gets configuration of unit w ith IP addre ss x .
11 : Monitor Mod e Table 11 -2 . Comma nd Response Codes Response Meaning 0> OK; no error 1> No answer f rom remote device 2> Cannot reac h remote device o r no answ er 8> Wrong parameter(.
12. T roubleshooting This c hapter discus ses how you can diagnose a nd fix errors quickly witho ut having to contact a dealer or Lan tronix. It helps to conn ect a term inal to the seri al port whi le diagnosi ng an error t o view sum mary mess ages that m ay displa y .
12 : Troubl eshooting Problem/ Message Reason Solution When you Tel net to port 1 to assign an IP address to t he device serv er, the T elnet window does not res pond for a long time. You may hav e entered the Ethernet address incorrect ly with t he ARP command.
12 : Troubl eshoot ing Problem/ Message Reason Solution You can p ing the dev ice serve r, but not T elnet to t he device server on port 9999. There may be an IP address con flict o n your network You are not T elneti ng to port 9999. The T elnet configurat ion port (9999) is disabl ed within the device serv er security s ettings.
12 : Troubl eshooting Technica l Support If y o u are exper iencing an er ror that is not described in this chapt er, or if you are unable to f ix the error , y ou have th e following options : Technical S upport US C heck our online k nowledge base or send a ques tion to T echnical Support at http://www .
A: Binary to He xadecimal C onversion s Many of the unit’s co nfiguration pr ocedures requ ire assem bling a series of options (repres ented as bits) into a com plete comm and (represented as a byte). C onvert the resulting bin ar y v alu e to a hexadecim al represe ntation.
A : Binary to H exadecima l Conversions 4. Click Hex . T he hexadecim a l value d isplays. xPico User Guide 78.
B: Compliance RoHS Not i ce All Lantronix products in the foll owing famil i es are China RoHS - com pliant and free of the following hazardous s ubstances and elements: • Lead (P b) • Mercu ry (H.
Een belangrijk punt na aankoop van elk apparaat Lantronix 900-618 (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen Lantronix 900-618 heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens Lantronix 900-618 vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding Lantronix 900-618 leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over Lantronix 900-618 krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van Lantronix 900-618 bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de Lantronix 900-618 kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met Lantronix 900-618 . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.