USER MANUAL
Model: DVS-232-2
COMPACT INDUSTRIAL
RS-232 DEVICE SERVER
(RS-232 TO ETHERNET / MODBUS RTU
TO MODBUS TCP CONVERTER)
CommFront
Revision: 1.0
Страница 1: ...USER MANUAL Model DVS 232 2 COMPACT INDUSTRIAL RS 232 DEVICE SERVER RS 232 TO ETHERNET MODBUS RTU TO MODBUS TCP CONVERTER CommFront Revision 1 0...
Страница 2: ...AGEMENT 12 3 1 Logging On 12 3 2 Current Status 12 3 3 Local IP Settings 13 3 4 Serial Port Settings 14 3 4 1 COM Port Settings 14 3 4 2 Operating Mode 15 3 4 3 Reset 21 3 4 4 Link 21 3 4 5 Index 21 3...
Страница 3: ...Host PC 31 4 2 2 Ping Test 32 4 2 3 Setting up a device server with AT Commands 33 4 2 4 Setting Up Device Sever with Web Management Tools 34 4 2 5 Test with the Serial TCP software 36 4 2 6 Test wit...
Страница 4: ...imizing configuration errors caused by manual entries The DVS 232 2 features auto negotiation for 10 or 100M data rates and it also supports MDI and MDI X auto crossover no DIP switch or jumper settin...
Страница 5: ...ver Ethernet Network 10 100M Auto Negotiation MDI X auto crossover Network Protocols IPv4 TCP UDP HTTP ARP ICMP Network Buffer Size TX 6KB RX 4KB IP Settings Static IP or DHCP Operating Modes TCP Serv...
Страница 6: ...ving data OFF Serial port is idle 10 100M Indicator ON The unit is connected to a 100M network OFF The unit is connected to a 10M network or is disconnected Link Act Indicator Flashing Sending receivi...
Страница 7: ...ntrol stations This makes the remote control management monitoring and diagnose possible and in turn adds an unprecedented level of intelligence and efficiency to the operation APPLICATION 1 DEVICE SE...
Страница 8: ...ddition conventional Modbus RTU has a limitation of 247 nodes per network while Modbus TCP networks can have as many slaves as the physical layer can handle which often go around 1 024 APPLICATION 3 M...
Страница 9: ...advanced serial to TCP IP bridging software you can also convert conventional serial control software into TCP IP software instantly and seamlessly without a need of software modifications In additio...
Страница 10: ...ry proven software and hardware products with your mission critical projects without a need of software or hardware modifications 1 Via COM port In TCP server mode the device server can turn on the In...
Страница 11: ...232Analyzer software download link https www commfront com pages downloads 2 Run the 232Analyzer software and set COM port settings to 115 2Kbps 8 N 1 Then select ASCII for both TX and RX data format...
Страница 12: ...work of your PC Proceed to web management for further configurations see Web Management Note For more detailed information about AT Commands please refer to Appendix AT Commands Set 2 2 Web Management...
Страница 13: ...work settings if necessary 3 1 Logging On A user name and password is required to log onto web interface default user name admin default password superuser Note User name and password can be changed u...
Страница 14: ...to or Manual Static IP Address Subnet Mask Gateway DNS Server Table 1 Default Local IP settings IP Settings Static IP DNS Type for DHCP Auto IP Address 192 168 1 200 Subnet Mask 255 255 255 0 Gateway...
Страница 15: ...g reset link index and RFC2217 Table 2 Default COM Port and IP Port settings Baud Rate 115 2Kbps Data Bit 8 Parity None Stop Bit 1 Local IP 192 168 1 200 refer to Local IP settings Local Port 502 Remo...
Страница 16: ...data over a TCP IP network Up to 8 clients can co exist and communicate with the server concurrently however only one server can exist in a client server network connection UDP is a datagram oriented...
Страница 17: ...orward receive serial data to from server s serial port TCP client can choose to send heartbeat or keep alive packets to remote server for maintaining the network connections see Heartbeat Packets for...
Страница 18: ...llows a maximum of 8 client connections concurrently If the number of client connections exceed 8 you can set to disable or keep the old TCP connections see Disable Old Connections for more informatio...
Страница 19: ...rial port as soon as the server s IP address and port number are defined and matched Remote IP Enter remote UDP server s IP address Remote Port Enter remote UDP server s port number Local IP To be set...
Страница 20: ...f the UDP server receives data from Client A first and then from Client B its serial data will be forwarded to Client B only Client A will not receive any data from the UDP server Local IP To be set u...
Страница 21: ...the HTTP protocol the optional headers that convey additional information and a body for the data Responses consist of the version of the HTTP protocol they follow a status code indicating if the requ...
Страница 22: ...not just help to identify the data source but also reports the client connection status to the connected serial devices When the Index function is turned on 1 Two additional bytes ASCII code I m I sta...
Страница 23: ...rward to a serial port and it consists of 8 bytes Table 3 RFC2217 Protocol COM port settings Byte 1 to 3 Byte 4 to 6 Byte 7 Byte 8 Baud Data Bit Parity Stop Bit Header Baud Rate Decimal to Hex Data Bi...
Страница 24: ...8 N 1 is 55 AA 55 00 4B 00 03 4E 3 The TCP IP command for changing COM port settings to 115200 8 N 1 is 55 AA 55 01 C2 00 03 C6 Sending RFC2217 commands from CommFront s Serial TCP software 1 Set the...
Страница 25: ...Modbus RTU to Modbus TCP gateway or a Modbus RTU to Modbus TCP protocol converter Modbus RTU data received from the serial port will be converted to Modbus TCP and transmitted over TCP IP network Like...
Страница 26: ...ckets are used for establishing connections or identifying data sources for IIoT cloud applications Registry Packet is used for TCP client mode Registry Packet Type None MAC address User Defined CF Cl...
Страница 27: ...e disconnecting timeout is reached Disconnecting Time 2 to 255 seconds Note Short connection is useful if the number of client connections exceed the maximum number allowed range from 1 to 8 to be set...
Страница 28: ...ia a serial port however it is not in use currently 3 6 Preferences The Preferences web management page allows users to set or change the device name web server port user name password maximum number...
Страница 29: ...ge password max 5 characters 3 6 3 Maximum Number of Client Connections This feature works for TCP Server mode and the number ranges from 1 to 8 When the number of client connections exceeds 4 default...
Страница 30: ...start Timeout This feature allows the user to set the Auto Restart timeout The device will automatically restart when timeout is reached which helps to prevent dead links due to long idle time Auto Re...
Страница 31: ...re products for real world projects Download link https www commfront com pages downloads 4 1 1 The 232Analyzer Protocol Analyzer Software The 232Analyzer is an award winning easy to use advanced RS23...
Страница 32: ...trol software and analyzing TCP IP and COM network with the built in IIoT Packet Sender Ping Resolve IP Address Host Name COM Port State LEDs Debugging and Checksum Calculator tools The Serial TCP pro...
Страница 33: ...Ping is a method to test whether a particular host is reachable across an IP network A ping measures the round trip time for packets to be sent from the local host to a destination device e g a comput...
Страница 34: ...er software and set the COM port settings to 115 2Kbps 8 N 1 Then select ASCII for both TX and RX data formats 3 Send ASCII command 4 The DVS 232 2 responds with an ASCII code a 5 Send ASCII command w...
Страница 35: ...h the current operating mode CR LF OK TCPC 192 168 1 211 502 CR LF 15 The DVS 232 2 responds with a confirmation code ok 16 Set the operating mode as TCP Server AT SOCK TCPS 192 168 1 211 502 CR 17 Re...
Страница 36: ...t and choose the correct COM port settings Note The COM port settings must match with the RS 232 device to which the DVS 232 2 is connected 4 Set the device server as TCP Server and port number as 502...
Страница 37: ...UDP port which is very useful for testing the device server 1 Download and install the free version of CommFront s Serial TCP software download link https www commfront com pages downloads 2 Set Seria...
Страница 38: ...the Serial TCP software the 232Analyzer software should receive the same commands 1 Download and install the free version of CommFront s 232Analyzer software download link https www commfront com pag...
Страница 39: ...4 0 Troubleshooting CommFront User Manual 38...
Страница 40: ...each command line The AT command must be terminated with a CR code HEX code 0D AT commands are usually responded to by the device and the response looks something like AT COMMAND CR CR LF response CR...
Страница 41: ...The device server responds with an ASCII code a 5 Send the second ASCII code within 3 seconds a 6 The device server responds with an ASCII code and it now enters into AT Command mode ok 7 Query curre...
Страница 42: ...mmand mode 3 Restart the device Command Response AT Z CR OK Restart the device and exit AT Command mode 4 Restore factory settings Command Response AT RELD CR OK Require device restart for factory set...
Страница 43: ...Ctrl No Hardware Control NFC Hardware Control FCH Example AT UART 115200 8 1 NONE NFC CR 9 Query or set Socket parameters Command Response AT SOCK CR OK socket IP port AT SOCK socket IP port CR OK Soc...
Страница 44: ...C address as registry packet USR Use user defined packet CLOUD Use cloud packet Example AT REGEN MAC CR 14 Query or set When to send registry packet Command Response AT REGTCP CR OK type AT REGTCP typ...
Страница 45: ...POST method for HTTP request Example AT HTPTP GET CR 18 Query or set HTTP request URL Command Response AT HTPURL CR OK url AT HTPURL url CR OK URL Less than 100 characters Example AT HTPURL 1 php CR 1...
Страница 46: ...TTP NET CR 23 Query or set Heartbeat interval Command Response AT HEARTTM CR OK time AT HEARTTM time CR OK Time 1 65535s Example AT HEARTTM 30 CR 24 Query or set Heartbeat packet Command Response AT H...
Страница 47: ...e index function OFF Disable index function Example AT INDEXEN ON CR 28 Enable or disable RFC2217 Command Response AT RFCEN CR OK status AT RFCEN status CR OK Status ON Enable RFC2217 OFF Disable RFC2...
Страница 48: ...OK Status ON Enable Clear serial buffer upon TCP IP connection OFF Disable Clear serial buffer upon TCP IP connection Example AT UARTCLBUF ON CR 33 Enable or disable Modbus RTU to Modbus TCP conversio...
Страница 49: ...OK ver 38 Query or set Maximum number or client connections server mode Command Response AT MAXSK CR OK number AT MAXSK number CR OK Number 1 to 8 Example AT MAXSK 8 CR 39 Query or set No data auto r...