Home

BWS-136 Manual - Ethernet Direct

image

Contents

1. OpMode TCP operation mode setting TCP Port TCP Port number of BWS 136 Save to Module Export When the SW1 is set to Console mode BWS 136 cannot Destination IP The IP address of remote host which BWS 136 A be discovered by the Configuration Utility and will actively connect to TCP Client mode only the configurations are controlled by serial console Connect At Startup means TCP connection is established when system starts TCP Client mode only When enter the configuration mode the READY LED will be Timeout When this option is checked TCP connection will be flashing and TCP Data Port will be disabled and data transfer disconnected if there is no serial data activity before timeout between serial port and Ethernet port will be stopped IP Mode Configure the IP Address to be Static IP or Dynamic IP by DHCP Serial and Data Packing Settings IP Address Set the Static IP Address Subnet Mask Subnet Mask setting The group of setting is to configure the serial interface and data Gateway Gateway address setting packing settings Data Packing setting is are as follow BWS 136_User Manual doc 15 BWS 136_User Manual doc 16 Device Name Settings Click Edit Device Name button can edit the device name Please New Device Name 14 bytes at most Access Control Settings BWS 136 provides IP address filtering method and password authentication for access control BWS 136_User Manu
2. 5 95 RH Dimension 108x78x25 mm HxWxD without ear BWS 136_User Manual doc 6 2 Getting Started Panel Layout RX TX Power LED Ready LINK Act Power Jack Power TB Ethernet Sw BWS 136_User Manual doc 7 Connecting Power Connecting 9 40VDC power line with the BWS 136 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 BWS 136 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 BWS 136 serial port The null modem cable will cross over the RxD to TxD connection between the serial device to BWS 136 Switch SW1 Settings Set the SW1 setting to RS 232 mode and pin definition of BWS 136 serial port is as follow BWS 136_User Manual doc 8 SWI Key RS 232 RS 422 RS 485 Normal DHCP Default Console Normal BWS 136 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 BWS 136 via COM port Please refer to Appendix I for the
3. T O mode the response is GDM 1 0 0 0 1 1 0 0 S DOH Set DO e g SDOH 1 3 7 channel High Output S DOL Set DO e g SDOL 2 6 channel Low Output G DI Get DI channel eg GDI status the response is GDI 0 1 4 0 5 1 It stands for DIOO 1 DI04 0 DIOS 1 Remark Italic font stands for Command String CR LF two bytes Both command from host and echo from BWS 136 are terminated with a Carriage Return ACSII code Hex Od 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 BWS 136_User Manual doc 31 ATTENTION ATTENTION A All command strings are in Upper Case Echo Syntax After BWS 136 console port received correct command string it will response Echo String and the Echo Syntax is as follow Delimiter Function Status Delimiter 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 16 100 CR LF 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 GLI then the Echo string will be GLU92 168 16 100 Always remember to reboot the module by send command SYCR to use the new configuration BWS 136_User Manual
4. 168 16 10 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 BWS 136 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 BWS 136_User Manual doc 27 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 Ver Default Serial SB Baud Rate 1200 2400 4800 9600 19200 38400 SD Data Format Parity Data Stop N72 E71 071 N81 E72 072 E81 081 N82 SF Flow Control NONE RTS CTS XON XOFF STI Interface RS 232 BWS 136_User Manual doc 28 e g SOSODOA CRILF RS 422 RS 485 Network G S LI IP Address e g SLI192 168 2
5. ASCII command All the settings will not be effective until system reboot by pressing RESET button LED Status The LED provides the BWS 136 operation information The BWS 136_User Manual doc 9 LED status is described as follow Power LED Power LED keeps ON if power 9VDC to 40VDC is correctly input to BWS 136 Ready LED Ready LED keeps ON when BWS 136 firmware is ready for operation Ready LED will be flash when BWS 136 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 BWS 136_User Manual doc 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 2 2 BWS 136_User Manual
6. doc 32 Appendix A Tiny Encryption Algorithm 1 Example of TEA C EE EERE ERE EER ER ER ERE RES EEN 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 Er 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 1 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 16 is sufficient as few as eight may be OK The algorithm achieves good dispersion after six iterations The iteration count can be made variable if required Note this is optimized for 32 bit CPUs with fast shift capabilities It can very easily be ported to assembly language on most CPUs delta is chosen BWS 136_User Manual doc 33 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 126 not 128 bits 2 a related key attack was possible although impractical 2he Phe oe he he 28 E 2A 2 ee 6 2 ee he 2s 2 he 28 2 k kk k he he k kk k k k k kk k k k kk he k k inc
7. 127 G S LN Netmask e g SLN255 0 0 0 G S LG Gateway e g SLG192 168 2 254 G S LC IP Mode 0 Static IP 1 DCHP G LM MAC Default G LS LAN Status Link fail Link OK 100M Link OK 10M 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 8SOU5S00 G S OD Data Packing Three parameters 0 Delimiter Option 1 Timeout Option 2 Length Option 1 Enable 0 Disable e g SOD110 G S OS Delimiter Max two bytes characters OT Timeout 0 65535 unit ms e g SOT500 OL Data Length 0 1024 e g SOL20 Access OF IP Filtering 0 Disable Control 1 Enable OT Authorized IP e g SO1192 168 16 1 192 1 68 16 9 Starting IP Ended IP TCP Server VP Listen Port 1 65535 e g SVP4000 TCP Client CI Destination IP e g SCI192 168 16 200 CP Destination Port eg SCP4001 CC Connection 0 Reserved for PPPoE Logic 1 Establish connection when Serial Data in 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 IDM Set Digital UO Z Input mode O Output BWS 136_User Manual doc 29 BWS 136_User Manual doc 30 e g SDMI 0 4 5 set DIOO DIO4 DIOS as input SDMO 1 2 3 6 7 set DIO1 DIO2 DI03 DI06 DI O7 as output G IDM Get Digital eg GDM
8. 6 converts the serial data to standard TCP IP protocol therefore the serial device can be accessed everywhere RS 232 422 485 DB9 connector x1 via Internet or Ethernet In addition BWS 136 provides an embedded RS 232 RxD TxD RTS CTS DSR DTR DCD GND Web server which allows user to save the custom web page therefore user RS 422 RX RX TX TX GND can use a standard Web browser to remote manage the serial device RS 485 Data Data GND Baud Rate 300 38400 bps Package Check List Parity None Even Odd BWS 136 is shipped with following items Data Bits 7 8 1 BWS 136 Module Stop Bits 1 2 2 Software CD and Electronic user manual Flow Control RTS CTS XON XOFF Protection 15KV ESD Digital Input Output General Purpose DIO x8 DIOO to DIOS Programmable Digital I O TTL BWS 136_User Manual doc 3 BWS 136_User Manual doc 4 DIO6 to DIO7 Programmable Digital I O CMOS pin 1 DIO 4 pin 2 DIO 3 pin 3 DIO 2 pin 4 DIO 1 pin 5 DIO 0 pin 6 DIO GND pin 7 DIO 7 pin 8 DIO 6 pin 9 DIO 5 Software Protocol TCP UDP IP HTTP ICMP DHCP Telnet Utility Java Configuration Web Configuration Serial Console Telnet Console Operation Mode TCP Server TCP Client Web Control Power Power input 9 40VDC 100mA Connector Power Jack or Terminal Block Environment Operating Temperature 10 60 C 14 140 F 5 95 RH BWS 136_User Manual doc 5 Storage Temperature 20 85 C 4 185 F
9. Serial Console Mode 25 Table of Contents Telnet Console Mode siioni ea 26 res rte e 3 Forgot PasS words cossen hedeak es acest dE oo neon ce e 27 LAN DEE 4 Command Syntax snasao senasis oeseri ekee iesise 27 Serial isteach ae ee a EN 4 Echo Sne 32 Digital Input Output ee eeeeeceeeeeceseeeeseeceeesecneeseeeesneeeeens 4 erte gies Sing erie us aust Secher athena MER ieee 5 INS 5 EMVATOMMENE RET RATT 5 IR 6 Panel T wont eege ewes e aE EEEE E E 7 Connecting Bower e i eea a aa 8 Connecting Ethernet Port 8 Connecting Serial Port 8 Switch SW1 Settings oes eeessecseeeecnerseceseeeeesecaeeseenereeeeaees 8 LED Status EE 9 Serial Port Pin Asetgnments 10 Factory Default Settings 000 eee esecceeecseeeeeseceeeecneeeeeseeeeeeas 12 Configure BWS 136 ececcesesoseserseseseetencnerseseneseneeseneronenes 13 Configuration Utility ec eeceeeecseeeeeseceeesecaeesecneeeeesaeeeeesesneeeeens 14 Serial and Data Packing Senge 15 TCP IP Network Senge 16 Device Name Settings roret oriei era reeeo Ekor s EESE 17 Access Control Senge 17 Save Configuration nenn eene n ee rets iee aes 22 Save Configuration to Ple 22 OVERVIEW E 24 BWS 136_User Manual doc 1 BWS 136_User Manual doc 2 1 Product Specifications Introduction EA Ethernet 10 100 Mbps RJ45 x1 Overview Protection Built in 1500V magnetic isolation BWS 136 provides the easiest way to enable serial industrial device with Serial networking capability _BWS 13
10. al doc 17 configuration utility D Firmware Version 2 062 420 Deivce Name BWS 136 Edit Device Name Basic Settings Operation Mode Settings Access Control Settings Password Settings Enable IP Filtering Old Password Enable IP Filtering New Password Start IP Re type again End IP Accept Abort Save to Module Export 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 BWS 136 TCP 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 BWS 136_User Manual doc 18 Auto report 1 Use the broadcast function to find the BWS 136 which you have upgraded with mer 130 utility Notice You can still configure the new version BWS 136 with the Java configuration utility but you can t find the new function in java utility The user interface has been changed for the new function 2 Double click the device which you choose then it will appear configuration screen The new function was design in the Access Control Settings page Input the ID information in the Device name option BWS 136_User Manual doc 19 Search amp Configurat
11. doc 11 Digital UO Digital I O uses DB9 connector and the pin assignments are described as follow pin 1 DIO 4 pin 2 DIO 3 pin 3 DIO 2 pin 4 DIO 1 pin 5 DIO 0 pin 6 DIO GND pin 7 DIO7 pin 8 DIO 6 pin 9 DIO5 DIOO to DIOS are TTL compatible Programmable DIO and DIO 6 to DIO7 are CMOS compatible Programmable DIO TTL can pull up 5 V and CMOS can pull up 3 V Factory Default Settings If you forget your BWS 136 settings you use SW1 to reset BWSto factory default settings The factory default settings are IP Address 192 168 16 10 BWS 136_User Manual doc 12 Data Port 4000 Telnet Port 5001 3 Web Port 80 8 Baud rate 19200 Configuration Data Format N 8 1 Parity Data bits Stop bits Flow Control None Interface RS 232 Configuration Utility Configure BWS 136 C Search amp Contigurate unity 2 106 Ze Exit Configuration Monitor faroadcast Search 4 ster Device Name MAC Adirens IP Adie Nobnask Galewar Password Model Name Device Modd BWS 136 provides three ways to configure the settings They are Search ty IP ewe 136 WOTSHCUORTTE TUDTETETO 1552657550 E EN omg Ve ace 1 Configuration Utility 2 Web Configuration Only for change IP address 3 Telnet Console Once this program started it will perform a broadcast search to find the BWS device in the network If you cannot find the BWS module and you know the IP address of the module you can clic
12. e Utility v1 00 File Help E Configuration Monitor X Exit Configurate Broadcast Search by IP Upgrade Reboot 00 13 48 00 0B E7 192 168 10 124 None BWS 136 5 Normal 1234567 Basic Settings Operation Mode SettiKgs Access Control Settings r Setial Data Packing Settings Baud bps 19200 e Data Format M I e Flow Control NONE e Interface RS 232 e Data Packing by I Lenth 17 1024 bytes Timeout U S i lee I Delimiter xf ox Network Settings IP Mode DHCP z IP Address 192 168 10 124 Subnet Mask 255 255 255 0 Gateway 192 168 10 254 TCP window size 1024 v MAC address 00 13 48 00 0B E7 Ethernet Status link ok 100M vV Save to Module Export Import X Abort 3 Switch to the Access Control Settings page enable auto report function and input the necessary information BWS 136_User Manual doc 20 gt Configuration Utility A Firmware version baam tt d Device name 1234567 Basic Settings Operation Mode Settings Access Control Settings gt Password Settings i IP Filtering Old Password I Enable IP Filtering New Password Start IP Re type again End IP S A Accept Abort pdo Report JV Enable Auto Report Remote IP 192 168 10 68 Remote Port 4000 Timeout E vV Saveto Module Expat Import A Abort Notice 1 The unit o
13. eep flash that indicates BWS 136 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 BWS 136 serial port If you forgot the serial port setting you can use SW to reset it to factory default setting as use following setting 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 BWS 136_User Manual doc 25 command to BWS 136 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 BWS 136 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 BWS 136 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 command format is as follow LOG 16 bytes of TEA Encrypted Password or LOG if there are no password settings BWS 136_User Manual doc 26 Forgot Password If you forgot the Password you can switch SW1 to Factory Default setting mode and use default IP Address 192
14. f timeout option is minutes 2 When the BWS 136 have connected the report server and finished the ID information transfer the BWS 136 will auto break the connection between report server and BWS 136 BWS 136_User Manual doc 21 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 If the IP address had been modified please do broadcast search or search by IP again to find the BWS 136 module Save Configuration to File You can also save current configuration to file by click the Save to File button A new window to specify the path of the file will pop out as follow em Geom ago c3 82 32560 027 files IN 71 5964 00L pat 06 00314 040jpg IN 72 02565 01S paf 06 00319 040 jpg IN 72 24C16 061 paf TN 68 01610 301 pat 73 74373 0AW pdf 68 6015F 020 PDF IN 73 78204 0A0 pat IN 71 D9000 00L pdf IN 8051_e pdf J il T ERAM Config td ERAU ATES BATF S H C BWS 136_User Manual doc 22 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
15. it to the BWS 136 by using the Import button Pte ES Woks BRO FRE FO RA HAN 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 BWS 136_User Manual doc 23 4 Web Configuration Overview BWS 136 can also be configured by Web Browser only for IP address and serial mode The build in Web server and Web configuration pages makes BWS 136 configurable anywhere via a Web browser such as JE and Firefox To open the Web configuration pages you can simply type the IP address to the Web Address input such as 192 168 16 10 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 BWS 136_User Manual doc 24 Serial Telnet Command BWS 136 provides a set of ASCII command to configure BWS through a serial and Ethernet port User can use serial terminal or Telnet command to configure BWS 136 when Web browser and Java utility are available In addition these functions provide user the most convenient way to develop 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 k
16. k Search by IP item and specify the IP address to find the BWS 136 The default IP address of BWS 136 is 192 168 16 10 Click on the row of the BWS 136 setting the configuration window will open as follow BWS 136_User Manual doc 13 BWS 136_User Manual doc 14 Length Pack the length of serial data before forwarding data to E Configuration Utility Ethernet port D Firmware Version 2 064 420 ae ee Ms at Device Name epee Ten Timeout the period of time to forward data to Ethernet Port Delimiter Wait for the Delimiter Character before forwarding Basic Settings Operation Mode Settings Access Control Settings data to Ethernet port The Delimiters are maximum two bytes Serial amp Data Packing Settings Network Settings Hex format ASCII code If you use Carriage Return CR and Line Baud bps 19200 IP Mode Static Feed LF as delimiters you can specify ODOA or Od0a Data Format N81 IP Address 192 168 16 10 Flow Control NONE Subnet Mask 255 255 255 0 terface RS 232 Gateway 192 168 16 254 TCP window size 1024 TCP IP Network Settings Data Packing by Length 1 1024 bytes MAC address 00 13 48 00 87 7E Ethernet Status link ok 100M Timeout 1 65535 ms The group of TCP IP Network settings are configuring the IP _ Delimiter 2 Hex bytes most Address TCP port and operation mode as follow
17. lude 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 delta 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 delta 0x9E3779B9 n 32 sum delta lt lt 5 in general sum delta n BWS 136_User Manual doc 34 while n gt 0 Z y lt lt 4 y gt gt 5 y sum k sum gt gt 11 amp 3 sum delta y z lt lt 4 z gt gt 5 z sum k sum amp 3 w 0 y w 1 z 2 The 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 BWS 136_User Manual doc 35

Download Pdf Manuals

image

Related Search

Related Contents

Miele W5877WPS Edition111  Gardena 3500/4  clic clic - Parachute  HP WX407AA mice  Graco ISPP047AB User's Manual  Philips AquaTrio Vacuuming and Mopping System FC7070  BBWorks Mobile powered by EMOBILE 利用規約(第 2 版) 第一章    OCZ Technology Fatal1ty 750W  SMT PRECISION LEADTFREE REFLOW OVEN  

Copyright © All rights reserved.
Failed to retrieve file