Ethernet to RS-422/485 adapter user manual Ethernet to RS-485 adapter Package Contents: Ethernet RS-485 adapter x 1 A4 User manual x 1 USB Cable x 1 White Box Dimension: 11 x 6 x 5 (cm) Total Package Weight: 126 g 1. Product profile: Male type of DB9 connector 1.1 Top & Rear view: TX-,TX+,RX-,RX+ LED: Data: Red Status: Blue Reset switch Mini USB Power input 5 ~27VDC RJ-45 Top view RS-485 RS-422 Rear Side 2. Start to use the adapter 2.1 2.2 There re two power inputs, mini USB or blue 2 ports block terminal. Please select one way to power the adapter. The max. voltage is 27 VDC input for all sources. 2.2 COM port default setting: Baud rate: 115,200 bps Data bit: 8 Parity: none Stop bit: 1 Flow control: none 2.3 Network default setting: IP: 192.168.0.7 Socket port: 23 (TCP server) Log in ID: admin Log in password: admin 1
2.4 Network setting: The adapter will be connected with the PC or NB directly w/o the hub or router. Please set the local IP address as the same network segment of the default Ethernet to serial converter. The IP address mustn t be the same for both sides. 2.5 LED indicator on RJ45 connector: Green: Link, when ethernet physical link established, on. Yellow: Data, when ethernet data communicate, toggle 2.6 LED indicator on the adapter: Red is solid on when power on the adapter 2.7 Power supply 2.7.1 Voltage: 5~27 VDC, Don t exceed the limit. 2.7.2 There re 3 ways to power the adapter: Mini USB, 2P Terminal Block and pin9 of DB9, please choose one. Don t power the adapter by more than one source. 2.7.3 The mini USB cable is inside the standard package. 4. Configuration: 4.1 Web page: Execute the browser and type the default IP address, 192.168.0.7 and log in ID: admin, log in password: admin. Http client setting: 2
4.2 RS-232: AT command set, please refer to section 10 Send +++ to serial port Ethernet response a Key in in a within 3 second to serial port of Ethernet Ethernet response Ok to enter into AT command mode After setting, the Ethernet will reboot to data mode 4.3 Configuration software 5. Virtual COM port driver: Execute the VCOM software 3
6. Test 6.1 Teraterm: The user will test the TCP or COM port. The COM port will be used before VCOM executed. 6.2 Test software 4
7. Reset button: Press the Reset button over 5 seconds, the Ethernet adapter will reset to default value. The LEDs will be off for some time and then reboot to the default value. The function is the same ad the software reset. 8. One to one connection: The two Ethernet adapters will be connected directly without access point. TCP Server TCP Client (Host IP is the same as the TCP server) 9. Test APP Download: If you need the sample code, please contact the supplier. ios Android: 5
Screenshot of the test APP: 10. AT command set: Command format: AT+(command)<CR>; ex: AT+VER<CR> 10.1 Management ENTM: Exit serial AT command mode and enter work mode Z: Reset the module RELD: Restore default settings E: Query/Set AT command echo function enable/disable 10.2 System VER: Query firmware version MID: Query/Set module name MAC: Query module MAC address USERMAC: Set user editable MAC address PDTIME: Query production data WANN: Query/Set module WAN interface parameters DNS: Query/Set DNS address SEARCH: Query/Set searching port and keyword in LAN RSTIM: Query/Set timeout reset time CFGTF: Saving current settings as default settings PING1: Set PING IP address and perform a PING action 10.3 Web server WEBU: Query/Set Web Server username and password WEBPORT: Query/Set Web Server port number PLANG: Query/Set default language of Web Server 10.4 Serial port and socket 6
UART1: Query/Set serial port parameters UARTTL1: Query/Set serial package time and length SOCKA1: Query/Set socket A parameters SOCKLKA1: Query/Set socket A connection status WEBSOCKPORT1: Query/Set websocket port number RFCEN1: Query/Set baud rate synchronization function enable/disable SOCKSL1: Query/Set non-persistent connection function enable/disable SHORTO1: Query/Set non-persistent connection function time SOCKTON1: Query/Set timeout reconnecting time NETPR1: Query/Set network printing function enable/disable UDPON1: Query/Set not judging remote IP address and port in UDP Client mode function enable/disable UARTCLBUF: Query/Set clearing serial port cache before module establishing connection enable/disable 10.5 Modbus: The command is available for the RS-485 model only. MODTCP1: Query/Set Modbus RTU<->Modbus TCP function enable/disable MODPOLL1: Query/Set Modbus polling enable/disable MODTO1: Query/Set Modbus polling time 10.6 Identity packet REGEN1: Query/Set status of identity packet REGTCP1: Query/Set sending method of identity packet REGUSR1: Query/Set user editable identity packet data, only support ASCII REGUSER1: Query/Set user editable identity packet data, support ASCII and HEX REGCLOUD1: Query/Set USR Cloud ID and password 10.7 Heartbeat packet HEARTEN1: Query/Set heartbeat packet enable/disable HEARTTP1: Query/Set type of heartbeat packet HEARTTM1: Query/Set heartbeat packet interval HEARTDT1: Query/Set user editable heartbeat packet data, only support ASCII HEARTUSER1: Query/Set user editable heartbeat packet data, support ASCII and HEX 10.8 Http HTPTP1: Query/Set HTTP requesting method in HTTPD Client mode HTPURL1: Query/Set URL in HTTPD Client mode HTPHEAD1: Query/Set HTTP header in HTTPD Client mode HTPCHD1: Query/Set filtering HTTP header of response data enabled/disabled in HTTPD Client mode 7