875-000072 User Manual
1
RS-232/RS422 to TCP/IP Converter
Rev 1.0
Страница 1: ...875 000072 User Manual 1 875 000072 User Manual RS 232 RS422 to TCP IP Converter Rev 1 0 ...
Страница 2: ... 1 TCP Client 9 2 2 2 TCP Server 10 2 2 3 UDP Client 11 2 2 4 UDP Server 13 2 2 5 HTTPD Client 14 2 3 Serial port 14 2 3 1 Serial port basic parameters 14 2 3 2 Serial Package Methods 15 2 3 3 Baud Rate Synchronization 15 2 4 Features 16 2 4 1 Identity Packet Function 16 2 4 2 Heartbeat Packet Function 17 2 4 3 Editable Web server 17 2 4 4 Reset function 17 2 4 5 Index function 18 2 4 6 TCP Server...
Страница 3: ...bps to 230 4bps Support None Odd Even Mark Space Support heartbeat packet and identity packet Support RS232 RS485 and RS422 Support web server AT command and setup software to configure module Support timeout reset function Support TCP Client non persistent function Support DHCP Static IP Support software hardware reload Support virtual serial port with USR VCOM software ...
Страница 4: ...875 000072 User Manual 4 1 Get Started Product link https www b tek com products rs232 rs422 serial to tcp ip ethernet converter 1 1 Application Diagram Figure 2 Application diagram ...
Страница 5: ...ser Manual 5 1 2 Hardware Design 1 2 1 Hardware Dimensions 1 2 2 DB9 Pin definition Figure 3 Hardware dimensions Figure 4 DB9 Pin Pin 2 3 5 1 4 6 7 8 9 Definition RXD TXD GND NC Default NC can be used as power pin ...
Страница 6: ...ally Flash a period every 200ms Upgrading status Off Not working LINK LED for Link function Link function can only work in TCP Client Server mode TCP connection established LINK on TCP connection disconnect normally LINK off immediately TCP connection disconnect abnormally Link off with about 40 seconds delay Enable Link function in UDP mode LINK on TX On Sending data to serial Off No data sending...
Страница 7: ...rall knowledge of it Figure 7 Product Functions diagram 2 1 Basic Functions 2 1 1 Static IP DHCP There are two ways for module to get IP address Static IP and DHCP Static IP Default setting of module is StaticIP and default IP is 192 168 0 7 When user set module in Static IP mode user need set IP subnet mask and gateway and must pay attention to the relation among IP subnet mask and gateway DHCP M...
Страница 8: ...en release to restore default settings Software User can use setup software to restore default settings AT command User can enter AT command mode and use AT RELD to restore default settings 2 1 3 Upgrade Firmware Version User can contact to salespersons for needed firmware version and upgrade by setup software as follow Figure 9 Upgrade firmware version ...
Страница 9: ...onnection is established module will send Keep Alive packets about every 15 seconds to check the connection and will disconnect then reconnect to TCP server if abnormal connection is been checked by Keep Alive packets TCP Client mode also support non persistent function SERIAL DEVICE SERVER work in TCP Client mode need connect to TCP Server and need set the parameters Remote Server Addr and Remote...
Страница 10: ... SERIAL DEVICE SERVER work in TCP Server mode will listen local port which user set and build connection after receiving connection request Serial data will be sent to all TCP Client devices connected to SERIAL DEVICE SERVER in TCP Server mode simultaneously SERIAL DEVICE SERVER work in TCP Server support 16 client connections at most and will kick off oldest connection beyond maximum connections ...
Страница 11: ...875 000072 User Manual 11 2 2 3 UDP Client Figure 11 TCP Server UDP transport protocol provides simple and unreliable communication services No connection connected disconnected ...
Страница 12: ...ent mode if user set remote IP as 255 255 255 255 SERIAL DEVICE SERVER can broadcast to entire network segment and receive broadcast data After firmware version 4015 306 support broadcasting in same network segment Such like xxx xxx xxx 255 broadcasting way User can set SERIAL DEVICE SERVER in UDP Client mode and related parameters by setup software or web server as follows Figure 12 UDP Client ...
Страница 13: ...E SERVER will change target IP every time after receiving UDP data from a new IP Port and will send data to latest communication IP Port Usercan set SERIAL DEVICE SERVER in UDP Server mode and related parameters by setup software or web server as follows Figure 13 UDP Server ...
Страница 14: ...don t need care about the HTTP format of data Usercan set SERIAL DEVICE SERVER in HTTPD Client mode and related parameters by web server as follow Figure 14 HTTPD Client 2 3 Serial port SERIAL DEVICE SERVER support RS232 RS485 RS422 User can refer to 1 2 2 DB9 Pin definition 1 2 3 RS422 RS485 Pin definition to connect and RS232 RS485 RS422 can t be used simultaneously 2 3 1 Serial port basic param...
Страница 15: ...ERVER adopt fixed Package time four bytes sending time and fixed Package length 400 bytes 2 3 3 Baud Rate Synchronization When module works with USR devices or software serial parameter will change dynamically according to network protocol Customer can modify serial parameter by sending data conformed to specific protocol via network It is temporary when restart module the parameters back to origi...
Страница 16: ...lient UDP client There are two sending methods for identity packet Identity data will be sent when connection is established Identity data will be add on the front of every data packet Identity packet can be MAC address or user editable data User editable data at most 40 bytes User can set SERIAL DEVICE SERVER with Identity Packet function by web server as follow Figure 18 Identity Packet ...
Страница 17: ... can set SERIAL DEVICE SERVER with Heartbeat Packet function by web server as follow Figure 19 Heartbeat Packet 2 4 3 Editable Web server SERIAL DEVICE SERVER support user modify the web server based on template according to needs then use related tool to upgrade If user have this demand can contact to our salespersons for web server source and tool 2 4 4 Reset function When 306 work in TCP Client...
Страница 18: ...P Server mode and establish more than one connection to TCP Client After open Index function 306 will mark every TCP Client to distinguish them User can send receive data to from different TCP Client according to their unique mark User can enable disable the Index function by setup software as follow Figure 21 Index function ...
Страница 19: ...hange maximum TCP Clients connection by web server When TCP Clients more than 4 user need make every connection data less than 200 bytes s If TCP Clients connected to 306 exceed maximum TCP Clients user can enable disable kick off old connection function by web server User can set above TCP Server settings by web server as follow Figure 22 TCP Server setting ...
Страница 20: ...ort side or network side over a fixed time This fixed time can be 2 255s default is 3s User can set SERIAL DEVICE SERVER with non persistent connection function by web server as follow Figure 23 Non persistent Connection 2 4 8 Timeout Reset function Timeout reset function no data reset If network side no data transmission beyond a fixed time User can set this fixed time between 60 65535s default i...
Страница 21: ...L DEVICE SERVER in same LAN and configure the SERIAL DEVICE SERVER as follow Figure 25 Setup software After researching SERIAL DEVICE SERVER and clicking SERIAL DEVICE SERVER to configure user need log in with user name and password Default user name and password both are admin If user keep the default parameters it is not necessary to log in 3 2 Web Server Configuration User can connect PC to SER...
Страница 22: ...rstly connecting PC to SERIAL DEVICE SERVER user can open browser and enter default IP 192 168 0 7 into address bar then log in user name and password user will enter into web server Web server screenshot as follow Figure 27 Web Server ...
Страница 23: ...tly Except the duty declared in sales terms and conditions we don t take any other responsibilities We don t warrant the products sales and use explicitly or implicitly including particular purpose merchantability and marketability the tort liability of any other patent right copyright intellectual property right We may modify specification and description at any time without prior notice 5 Update...