Home
User Manual
Contents
1. Data Packing setting is are as follow Length Pack the length of serial data before forwarding data to Ethernet port Timeout the period of time to forward data to Ethernet Port Delimiter Wait for the Delimiter Character before forwarding data to Ethernet port The Delimiters are maximum two bytes Hex format ASCII code If you use Carriage Return CR and Line Feed LF as delimiters you can specify ODOA or 0d0a TCP IP Network Settings The group of TCP IP Network settings are configuring the IP Address TCP port and operation mode as follow OpMode TCP operation mode setting TCP Port TCP Port number of SE 100M EV Destination IP The IP address of remote host which SE 100M EV will actively connect to TCP Client mode only Connect At Startup means TCP connection is established when SE 100 and WE 200 User Manual 17 system starts TCP Client mode only Timeout When this option is checked TCP connection will be disconnected if there is no serial data activity before timeout IP Mode Configure the IP Address to be Static IP or Dynamic IP by DHCP IP Address Set the Static IP Address Subnet Mask Subnet Mask setting Gateway Gateway address setting Device Name Settings Click Edit Device Name button can edit the device name Please New Device Name 14 bytes at most I wa Access Control Settings SE 100M EV provides IP address filtering method and password authentication
2. TEA H ifndef __XTEA H__ define __XTEA_H__ void encipher unsigned long const v unsigned long const w const unsigned long const k void decipher unsigned long const v unsigned long const w const unsigned long const k endif SE 100 and WE 200 User Manual 37
3. 81 N82 SF Flow Control NONE RTS CTS XON XOFF SE 100 and WE 200 User Manual 29 G S ST Interface RS 232 RS 422 RS 485 Network G S LI IP Address e g SSLI192 168 2 127 G S LN Netmask e g SLN255 0 0 0 G S LG Gateway e g SSLG192 168 2 254 G S LC IP Mode 0 Static IP 1 DCHP LM MAC Default G LS LAN Status Link fail Link OK 100M Link OK 10M G S LW TCP windows 0 128 1 256 2 512 size 3 1024 e g SSLWO means TCP window size 128 bytes Operation G S OM Operation TS TCP Server Mode TC TCP Client G S OC TCP connection AC always connect timeout option TO Disconnect if timeout G S OU Timeout clock 0 65535 unit ms e g SSOUS00 SE 100 and WE 200 User Manual 30 OD Data Packing Three parameters 0 Delimiter Option 1 Timeout Option 2 Length Option 1 Enable 0 Disable e g S0D110 OS Delimiter Max two bytes characters e g SSOSODOA CRILF OT Timeout 0 65535 unit ms e g SOT5S00 OL Data Length 0 1024 e g SOL20 Access OF IP Filtering 0 Disable Control 1 Enable OF Authorized IP e g SOI 92 168 2 127 192 168 2 180 Starting IP Ended IP TCP Server VP Listen Port 1 65535 e g SVP4000 TCP Client CI Destination IP e g SCH92 168 1 211 CP Destination Port e g SCP4001 CC Connection Logic 0 Reserved for P
4. DTR DCD PIOO PIOB SE 100 and WE 200 User Manual 6 2 Getting Started Connecting Power Connecting 9 40VDC power line with the Evaluate Kit SE 100 EV terminal block or the power jack If the power is properly supplied the Power LED will keep solid yellow color Connecting Ethernet Port Connect a RJ45 Ethernet cable to the Ethernet port of SE 100M EV The Link Activity light will keep solid yellow color if Ethernet cable is corrected to the network and this light will keep flashing if there are data transmitted Connecting Serial Port Use a null modem DB9 serial cable to connect a RS232 serial device to SE 100M EV serial port The null modem cable will cross over the RxD to TxD connection between the serial device to SE 100M EV SE 100 and WE 200 User Manual ay ae Switch SW1 Settings Set the SW1 setting to RS 232 mode and pin definition of SE 100M EV serial port is as follow SE 100 and WE 200 User Manual 8 SWI Key RS 232 RS 422 RS 485 Normal DHCP Default Console Normal Aport is in Normal Operation Mode DHCP Network IP Address is assigned by DHCP Server Default All the settings are reset to Factory Default Console COMI serial port is served as console port User can use ACSII command to configure SE 100M EV via COM1 port Please refer to Appendix I for the ASCII command All the settings will not be effective until system reboot by p
5. One byte A percentage sign Function Two bytes function string Status OK or FAIL For example Set the IP Address by sending command SLI192 168 2 125 CR LF SE 100 and WE 200 User Manual 33 ATTENTION Echo string SLIOK CR LF means the new IP address is successfully transferred to the module and the new setting will be effective after reboot the module To get IP address setting you can send a command as follow SGLI then the Echo string will be GLI192 168 2 125 Always remember to reboot the module by send command S SYCR to use the new configuration SE 100 and WE 200 User Manual 34 Appendix A Tiny Encryption Algorithm 1 Example of TEA C 58 RR AR A A A HR 3 BE 9 A e k 2 2 2 2 2A 2K 2A TA FA I KK 2K OK 3K The Tiny Encryption Algorithm TEA by David Wheeler and Roger Needham of the Cambridge Computer Laboratory Placed in the Public Domain by David Wheeler and Roger Needham tee ANSI C VERSION New Variant Notes TEA is a Feistel cipher with XOR and addition as the non linear mixing functions Takes 64 bits of data in v 0 and v 1 Returns 64 bits of data in w 0 and w l Takes 128 bits of key in k 0 k 3 TEA can be operated in any of the modes of DES Cipher Block Chaining is for example simple to implement n is the number of iterations 32 is ample 6 is sufficient as few as eight may be OK The algorithm achieves good dispersion after six iterations
6. PPoE 1 Establish connection when Serial Data in SE 100 and WE 200 User Manual 31 System YC System mode R Reboot system F Reset to default setting and reboot D Set current setting as Default setting ET Exit console DIO DM Set Digital I O I Input mode O Output e g SDMI 0 4 5 set DIOO DIO4 DIOS as input SDMO 1 H 2 L 3 H set DIO1 DIO2 DIO3 as output and initial state are High H or Low L DM Get Digital T O mode e g GDM the response is GDM 1 0 0 0 1 5 0 0 DOH Set DO channel High Output e g 8SDOH 1 3 7 DOL Set DO channel Low Output e g SSDOL 2 6 DO X e g GDO 2 get DIO2 status DI Get DI channel status e g SGDI the response is SE 100 and WE 200 User Manual 32 GDI 0 1 4 0 5 1 It stands for DIO0 1 DI04 0 DIO5 1 e g SGDI 4 Get DIO4 status A Remark Italic font stands for Command String CR LF two bytes Both command from host and echo from SE 100M EV are terminated with a Carriage Return ACSII code Hex 0d and Line Feed ASCII code Hex 0a Therefore please remember to add CR LF at the end of command line in the terminal emulation program All command strings are in Upper Case Echo Syntax After SE 100M EV console port received correct command string it will response Echo String and the Echo Syntax is as follow Delimiter Function Status Delimiter
7. Table of Contents i Woveqeyel ble 4 0 srpen an e ter ere E E A E ERTE 2 Connectiig POWetis srisssesiiei snenie ae i ste 7 Connecting Ethernet Port ccccecccescssecseeeseeeseeeeeeseeeseeneeeeeeens 7 Connecting Serial Port eeessesessececeeceeeeeeeseeceaeceresesseeenes 7 Switch SW1 Settings 2 0 ccc eecceceeseeesceeseeeeceeeceecsseeseeeneeeeeenes 8 LED Status 2 2 cee ee cia h este es ee es ee 10 Serial Port Pin Assignment cesccseseseeeceeeeeeeeeceeeeeeeres 10 Factory Default Settings ecceeccescceseceeceeeceteceseeenecseeeeeeaes 13 Configure SE 1OOM EV ccceescesceesseesceeeceeeceeceseeseeeseeeaeeeaes 14 Install Java Configuration Utility cei cieeeeesceeecceeeeeeeeceeeeeneees 15 Serial and Data Packing Settings 0 0 0 eeeeeecsseereeseeneeeeeneeeees 17 TCP IP Network Settings cccccceescsecseeceeeceseceseeseeeneeeeeenes 17 Device Name Settings sisisi ssiri 18 Access Control Settings ccccescssessecssecseeeeeeeeeeeeeeeeeeeeeereees 18 Save Configuration cccccecccescessceesceeeceseceseceseceeeseeeneeeeeeereees 20 Save Configuration to File ccccescesecseesseceeeeeeeseeeeeeeeeeerees 20 OV ELVIEW S52 3202 ics Cie seeisi ihe ea ed a EE e 22 CVV EL VTS W eeen E E a E N 26 Serial Console Mode ceceeeccssesseeseceeeeecneeeeceaeeneeseeaeeeeeneeeres 26 Telnet Console Mode siteiriseiosireis eierniie 27 Forgot Password cssccssecssesseeesseeeceeeeeeceseceseces
8. The iteration count can be made variable if required Note this is optimised for 32 bit CPUs with fast shift capabilities It can very easily be ported to assembly language on most CPUs delta is chosen to be the real part of the golden ratio Sqrt 5 4 1 2 0 618034 multiplied by 2432 This version has been amended to foil two weaknesses identified by David A Wagner daw cs berkeley edu 1 effective key length of old variant TEA was SE 100 and WE 200 User Manual 35 126 not 128 bits 2 a related key attack was possible although impractical 2A 3 22 A 2 2 E FA FA C3 e 2 2K k FA CE 2K k kkk kkk include xtea h void encipher unsigned long const v unsigned long const w const unsigned long const k register unsigned long y v 0 z v 1 sum 0 del ta 0x9E3779B9 n 32 while n gt 0 yt z lt lt 4 z gt gt 5 z sum k sum amp 3 sum delta z y lt lt 4 y gt gt 5 y sum k sum gt gt 11 amp 3 w 0 y w 1 z void decipher unsigned long const v unsigned long const w const unsigned long const k register unsigned long y v 0 z v 1 sum 0xC6EF3720 del ta 0x9E3779B9 n 32 sum delta lt lt 5 in general sum delta n while n gt 0 Z y lt lt 4 y gt gt 5 y sum k sum gt 11 amp 3 sum delta y z lt lt 4 z gt gt 5 z sum k sum amp 3 SE 100 and WE 200 User Manual 36 w 0 y w 1 z 2 The
9. cifications Form Factor Type 30 pin dual inline drop in module Pitch 2 00mm WXLXH 40x45x13mm SE 100M and WE 200M Network Interface Type 10 100BaseT auto detect Protocols TCP UDP HTTP Telnet IP ICMP ARP IP addressing DHCP Static IP Operation Modes TCP Server TCP Client and UDP mode User Web Server WE 200M only Space capacity 64KB in Flash memory Serial Interface TTL level Signals TxD RxD RTS CTS DTR DSR DCD GND SE 100 and WE 200 User Manual 3 Baud 1 200 to 38 400 bps Parity None Even Odd Data bits 7 8 Stop bit 1 2 Flow control None RTS CTS XON OFF Programmable Digital I O PIOO PIO5 TTL level compatible PIO6 PIO8 CMOS level compatible Configuration Methods Web console Telnet Console and Serial Console Windows utility included in CD General Power input 5VDC Power consumption 100mA 5VDC Operation temp 0 70C 5 95 RH Storage temp 20 85C 5 95 RH Warranty 2 years SE 100 and WE 200 User Manual ahs Dimensions 18 30 LO lag i T x S 7 p lt z el on oo S sf ei j 45 00 x a A 3 41 36 1 82 400 SE 100 and WE 200 User Manual 5 Pin Assignment Lt ETXe 2 Erx 3 ERX 4 ERX 5 Link Act 6 Pioo 7 P01 14 OND 115 5v_ Block Diagram WE 200M To Ethernet Connector EJ To Serial Device TxD RxD ETx ETx RTS cTs Erx Erx DSR
10. command format is as follow LOG 16 bytes of TEA Encrypted Password SE 100 and WE 200 User Manual 297 or LOG if there are no password settings Forgot Password If you forgot the Password you can switch SW1 to Factory Default setting mode and use default IP Address 192 168 2 127 and enter the Web console pages Once the configuration is completed remember to switch SW1 back to Normal operation mode and reboot the module by Reset Command or push reset button Password is not required for serial console mode Therefore you can also use serial console to reset the password Command Syntax The command syntax is Delimiter Command Carriage Return CR Line Feed LF Delimiter one byte The command begins with a delimiter of dollar sign and if SE 100M EV receives the correct command it will response with an echo which begins with the delimiter of a percentage sign Command The command are ASCII string which contains three elements Read Write Function Parameter as described as follow SE 100 and WE 200 User Manual 28 Command Category Function 2 bytes Parameters command related Basic BN Device Name Max 14 bytes BM Model Name Default BP Password Max 8 bytes BV Firmware vet Default Serial SB Baud Rate 1200 2400 4800 9600 19200 38400 SD Data Format Parity Data Stop N72 E71 071 N81 E72 072 E81 0
11. dress input such as 192 168 2 127 The Login windows will ask you enter password if the password option is enabled After password confirmed the web configuration page will show up as follow SE 100 and WE 200 User Manual 22 RE BED Enno z Mees C t Y Ww b P EnA fal ustomize Your e age Network Settings IP Address Static IP 192 168 2 127 NetMask 255 0 0 0 Gateway 192 168 2 254 Model WE 200M gis Firmware Version 1 00 401 Serial Settings Buad Rat 19200 3 i S 5 Hx WER i P A Deivce Name Artila_WWE200M Edit Device Name Data Format N 81 M Parity Data bits Stop bits Flow Controt None Interface Rs222 v Basic Settings Access Control Settings Web page Convert and upload Operation Settings Operation Mode TCP Client x Convert web files to binary rUpload binary file to device Port Number 4000 Remote IP 192 168 224 Connect when OStartup Serial Data In source directory select binary file TCP Connection 1 OA Browse Browse lways connect O Timeout disconnect 1 99min x z output directory DEJ Eig Amoon yaan PD Os2PO8 tras Browse The configuration is very similar to the Java configuration utility After completing the settings click submit button then all the settings will save to the module and the module will
12. ecnaeeseecseeeaeeenes 28 Command Syntax cccccccccccsseesseessessceeeceeseeeeceeceecsaecseeeseeeeeeaes 28 Echo Syntax sarearen rie eain E NEEE N 33 SE 100 and WE 200 User Manual 1 1 Introduction Overview The SE 100M and WE 200M are mini mighty Serial to Ethernet embedded module which adds network and Web server function for legacy RS 232 422 485 devices The SE 200M provides a transparent data channel between serial device and the TCP IP network so that the serial device can be accessed by using standard TCP IP protocols The SE 100M can behave as a TCP server a TCP client or an UDP node on a Ethernet network to fulfill versatile application requirements 64KB Space for User Web Pages In addition to provide a transparent data channel from serial to Ethernet WE 200M features Artila s unique Web Module technology to enable RS 232 422 485 serial devices to be monitored and controlled through standard Web browsers anywhere anytime without the need to install dedicated application software Users can compose web pages using Java applets or ActiveX Controls with preferred tools then use Artila s Windows utility to SE 100 and WE 200 User Manual 2 transfer these files to the web server of the WE 200M through LAN WAN Programmable Digital I O Besides the WE 200M also provides 6 TTL plus 3 CMOS digital I Os A pre defined ASCII command set is provided for users to control these I Os through LAN WAN Product Spe
13. elop their own configuration utility software simply to use the ASCII command Serial Console Mode To enter the Serial console mode you can switch SW1 4 5 to ON position and then serial port will function as a console port The READY LED will keep flash that indicates Aport is in serial console mode Please set the serial data setting of the Serial Terminal software such as Hyper Terminal to be the same as the SE 100M EV serial port If you forgot the serial port setting you can use SW1 to reset it to factory default setting as use following setting SE 100 and WE 200 User Manual 26 ATTENTION Baud rate 19200 Data Format N 8 1 Parity Data bits Stop bits Flow Control None Interface RS 232 Now you can use serial terminal software to send the ASCII command to SE 100M EV In Serial Console Mode all the network functions will be disabled Once the configuration is completed remember to switch SW1 back to Normal operation mode and reboot the module by Reset Command or push reset button Telnet Console Mode SE 100M EV uses Port number 5001 as telnet console port Remember to turn on the LOCALECHO before opening the telnet console port You must login first before sending command to SE 100M EV If password is enabled you need to use the password to login The password is encrypted using Tiny Encryption Algorithm TEA and the keys are sixteen bytes with low case character from a to p The login
14. er Device Name MAC Address IP Address NeiMask GateVlay Password Model Name 1 SE 100 Sample 00 13 48 FFFFFF 192 168 2 127 255 255 265 0 0 0 0 0 INONE 5E 110 i es ast searching please wait a moment esult 1 device found Once this program started it will perform a broadcast search to find the SE 100 and WE 200 device in the network If you cannot find the SE 100 and WE 200 module and you know the IP SE 100 and WE 200 User Manual 15 address of the module you can click Search by IP item and specify the IP address to find the SE 100M EV The default IP address of SE 100M EV is 192 168 2 127 Click on the row of the SE 100 WE 200 settings the configuration window will open as follow T Cte ten ty Matet S110 SM DoeneesS 7 J temae Va wm 0 001 000 Dena p har Si O Langan Ea Doas Nam Be i Aom Otini Setioa Seid 8 Gate Pacay Stean Kt 1 tyes e 8 ieee 2 tem mem mest som When the SW1 is set to Console mode SE 100M EV A cannot be discovered by the Configuration Utility and the configurations are controlled by serial console SE 100 and WE 200 User Manual 16 When enter the configuration mode the READY LED will be flashing and TCP Data Port will be disabled and data transfer between serial port and Ethernet port will be stopped Serial and Data Packing Settings The group of setting is to configure the serial interface and data packing settings
15. for access control SE 100 and WE 200 User Manual 18 E Configuration utility Model SE 110 SN artila0123456789 ABC Firmware Version 00 08 15 Deivce Name Artila_SE110 Edit Device Name Basic Settings Access Control Settings Enable IP Filtering Password Settings Enable IP Filtering Old Password Start IP New Password 8 bytes at most End IP Re type again Accept Abort Reboot Module Save to Module Save to File Import Abort Enable IP Filtering When this option is checked user can specify the starting IP address and ended IP address which are allowed to access SE 100M EV TOP port in order to prevent unauthorized access Password Settings Enter the new password will enable the password authentication Password is required to login Java Configuration and Web configuration Pages in the next entry SE 100 and WE 200 User Manual 19 Save Configuration After the all the settings are configured click to the Save to Module button to save the settings to the module The new settings will be effective after the reboot of module by clicking the Reboot Module button Ifthe IP address had been modified please do broadcast search or search by IP again to find the SE 100M EV module Save Configuration to File You can also save current configuration to file by click the Save to File button A new window to specif
16. r and the pin assignments are described as follow Female DB 9 Pin 5 DIOO Pin 4 DIO1 Pin 3 DIO2 Pin 2 DIO3 Pin 1 DIO4 Pin 9 DIOS Pin 8 DIO6 Pin 7 DIO7 Pin 6 GND DIO0 to DIOS are TTL compatible Programmable DIO and DIO 6 to DIO7 are CMOS compatible Programmable DIO All the DIO channel are internally pulled up to SVDC with a 4 7K Ohm resistor SE 100 and WE 200 User Manual 12 Factory Default Settings Configure SE 100M EV If you forget your SE 100M EV settings you use SW1 to reset SE 100M EV provides four ways to configure the settings They Aport to factory default settings The factory default settings are are IP Address 192 168 2 127 1 Java Configuration Utility Data Port 4000 2 Web Configuration Utility Telnet Port 5001 3 Serial Console Web Port 80 4 Telnet Console Baud rate 19200 Data Format N 8 1 Parity Data bits Stop bits To use the Java configuration utility software you need to Flow Control None install the Java 2 Platform Standard Edition J2SE version Interface RS 232 1 4 2 or later J2SE is free and available at http java sun com SE 100 and WE 200 User Manual SE 100 and WE 200 User Manual 243 14 3 Java Configuration Install Java Configuration Utility To install the Java Configuration Utility you can simply copy manager jar to the desired folder Double click on the icon will start the manager jar Bea er monnor Numb
17. reboot automatically to use the new configuration Reboot Module Save to Module Save to File After you complete your web page design you can use the Manager Utility manager jar to upload the Web page to SE 100M EV Web server The web files need to be converted to binary format first before download to server Place the web files in the source directory and assign the output directory for the binary file Pressing the Convert button and you can find a binary file fsdata anf has been SE 100 and WE 200 User Manual SE 100 and WE 200 User Manual 23 24 created Use this binary file to upload to Web server You can see the converted file is available in the Upload binary file to device dialog box Press Upload and the Web Page Binary files will be uploaded to server Manager Utility uses tftp protocol to upload web page Before uploading the web page please check if there is any anti virus program which could prevent the tftp file transfer Shut down the anti virus program first to allow manager jar upload the binary file SE 100 and WE 200 User Manual 25 5 Serial Telnet Command Overview SE 100M EV provides a set of ASCII command to configure Aport through a serial and Ethernet port User can use serial terminal or Telnet command to configure SE 100M EV when Web browser and Java utility are available In addition these functions provide user the most convenient way to dev
18. ressing RESET button SE 100 and WE 200 User Manual 9 LED Status The LED provides the SE 100M EV operation information The LED status is described as follow Power LED Power LED keeps ON if power 9VDC to 40VDC is correctly input to SE 100M EV Ready LED Ready LED keeps ON when SE 100M EV firmware is ready for operation Ready LED will be flash when SE 100M EV in Serial Console mode SW1 key 4 and key 5 are ON or Telnet Console mode Telnet Console port 5001 are connected Link Act LED Link and Activity LED will turn ON when the Ethernet cable is connected When there is network data traffic this LED will be flash RX TX LED The RX TX LED is a dual color LED that indicates the serial data traffic In RS 232 mode the Yellow LED stands for transmitting data and Green LED means receiving data In RS 422 485 mode the Yellow LED stands for receiving data and Green LED means transmitting data Serial Port Pin Assignments Serial Port COM1 uses a Male DB9 connector and it includes RS 232 RS 422 and RS485 signal and pin assignments are described as follow SE 100 and WE 200 User Manual 10 Pin Transmission Signals Number RS 232 4 wire RS 485 RS485 1 DCD TxD 2 RxD TxD 3 TxD RxD Data 4 DTR RxD Data 5 GND GND GND 6 DSR 7 RTS 8 CTS 9 z x SE 100 and WE 200 User Manual 11 Digital I O Digital I O uses DB9 connecto
19. y the path of the file will pop out as follow See BH A SE 100M ly a E a R c3 82 32560 027 files 71 5964 00L pat 06 00314 040 jpg 72 02565 015 pat 06 00319 040 jpg 72 24C16 061 paf 68 01610 304 pat 0 73 74373 0AW pdf 68 6015F 020 PDF 73 78204 0A0 pdt 71 D9000 00L pat 8051_e pat J i L D gt ERAM Config td BRAU ARR x aro mao SE 100 and WE 200 User Manual 20 The configuration is a text file and uses extension of txt If you use Text editor to open the configuration command you will notice that the configuration file contains the ASCII command set of the configuration You can also edit these commands by the text editor to configure the settings and import it to the SE 100M EV by using the Import button take ESF Woks BRE FRE FO RA HAW SE 166M Configuration file 66 13 48 B1 F2 63 A SL1192 168 2 127 SLN255 6 6 6 SLG192 168 2 127 SSSIRS 232 S SBNArtila_def SSONTS SSB19266 SSDN81 SSFNONE SLCO S SUP4068 socac sopee6 SSBP SOFO SE 100 and WE 200 User Manual 21 4 Web Configuration Overview SE 100M EV can also be configured by Web Browser The build in Web server and Web configuration pages makes SE 100M EV configurable anywhere via a Web browser such as IE and Firefox To open the Web configuration pages you can simply type the IP address to the Web Ad
Download Pdf Manuals
Related Search
Related Contents
Toshiba 53AX61 53" Rear Projection Television total control - produktinfo.conrad.com Operating instructions R3G310AP5201 H2O Audio Capture Samsung 24 colių ergonomiškas verslo klasės LED monitorius Vartotojo vadovas Franklin CROSSWORDS CWQ-100 User's Manual Copyright © All rights reserved.
Failed to retrieve file