Do you have a question about the SE3012 and is the answer not in the manual?
Questions and answers
Summary of Contents for SZComark SE3012
Page 1
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Serial Gateway User Manual Models: SE3012/5011/5041/5044/5144/5244 MG3012/5011/5041/5044/5144/5244 Release: 2019-1-24 Version: V1.2.0 ShenZhen Comark Technology Co.,Ltd. http://www.comark.cn...
Page 2
Date Reason V1.0.0 2017.5 Found document V1.1.0 2017.9.28 Add SE3012&MG3012 Add Serial Gateway to add Modbus NetType, V1.2.0 2019.1.24 mapping, Log display function Text agreed on: In reading this manual, please note the following: Description: Necessary explanatory information in the process of using a serial gateway...
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Contents 1 RS-232/485/422 SERIAL PORT ...................... 4 2 SERIAL PORT CONFIGURATION ....................6 2.1 N ..........................6 ETWORK ISIT 2.2 F ..........................8 UNCTION 2.3 S ........................9 ERIAL 2.3.1 TCP Server Mode ........................... 14 2.3.2 TCP Client Mode ............................
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual 1 RS-232/485/422 Serial Port This series of serial interfaces provides 5-Pin industrial terminals with 5.08mm spacing. SE3012 MG3012 RS-485 Serial Port: Pin Define — — RS-422 Serial Port: Pin Define...
Page 5
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual SE5011/5041 MG5011/5041: RS-485 Serial Port: Pin Define — — RS-422 Serial Port: Pin Define SE5044/5144/5244 MG5044/5144/5244(TX and RX unused) RS-485 Serial Port: Pin Define D1/3- D1/3+ D2/4- D2/4+ Page 5...
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual 2 Serial Port Configuration Before making this device configuration, make sure that the necessary software is installed on your computer and that the network is properly configured. The minimum configuration requirements for a user's computer are as follows: ◆...
Page 7
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual MAC ADDRESS The hardware address of the device is made up of 48 specialist (6 bytes),16 binary digits, its uniqueness (not recommended customers to independently modify). IP ADDRESS IP address is assigned to the connection in the Internet addresses of the devices on a 32-bit length. IP address is made up of two fields: the network number field (net-ID) and host number field (host-ID).
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual 2.2 Function Menu A detailed introduction and configuration approach will be made in this chapter. Value Value Range Description Serial Port Select the serial number you want to set. 110,300,1200, Set the baud rate for this serial port.
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Set the data to the Ethernet switch and transmit the working mode of the serial port. Tcpclient: In this working mode, the serial port actively connects the remote IP destination ports. With Tcpserver into pairs used.
Page 10
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual ➢ Building a simple configuration environment: Page 10...
Page 11
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Description: Computer needs to have a serial port, because the computer is RS-232 serial port need to use the RS-485/422 serial port RS-485/422 to RS-232 converter. ➢ Connection Wiring: According to different serial lines to connect the different line sequence (RS-485 connect the 2 root line A/D+ connect RS-485 transfer RS-232 Converter to the R+, B/D-connector R;...
Page 12
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual ➢ Choose Physical Serial Port Click the "My Computer" management to appear as shown in the following illustration Click on the Device Manager and then click the port information to appear in the red box of the computer's serial information Page 12...
Page 13
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Select the correct serial number after the single-machine open port appears the following status Page 13...
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual 2.3.1 TCP Server Mode Configuring the TCP server mode parameter is shown in the following illustration: When a device is a TCP server, only the local port number is configured (For multiple serial devices different serial ports need to set a different local port number)
Page 15
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Click Connect to appear in the next Figure red box will be normal communication. In the Send area, select the packets you want to send, as shown in the following illustration. Page 15...
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual 2.3.2 TCP Client Mode Configure the TCP client mode parameters as shown in the following illustration: As a TCP client side, the device proactively connects to TCP/IP network devices on Ethernet, such as PCs. You need to tell the device which network address and TCP port number to connect when the condition meets.
Page 17
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Click Listening to appear in the following picture red box to normal communication. In the Send area, select the packets you want to send, as shown in the following illustration. Page 17...
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual 2.3.3 UDP Mode Configure UDP mode parameters as shown in the following illustration: In UDP working mode, the device is both the server side and the client side. UDP-related configuration options have remote port, IP address.
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual In the Send area, select the packets you want to send, as shown in the following illustration. Notice:RS-485 as half-duplex mode only one serial port to send another serial port can only receive data; RS-232/422 can send both bidirectional for full duplex mode.
Page 20
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Serial Port Work(For Example) 1:Computer Installation Modbus test software Unzip and install software Unzip and install software 2:Modbus Functional Verification Test Configuring Web Serial Parameters Input device default IP 192.168.1.253 on IE browser, click the serial port configuration page configuration serial parameter: Take serial port RS-485 as example configuration as shown in the following illustration 3:Run Modbus test software Page 20...
Page 21
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Open software configuration, parameter configuration is consistent with the Web display. Click Connection, select TCP/IP,IP address write device IP 192.168.1.253,Port write local port number 502. (For multiple serial devices different serial ports need to set a different local port number) Click OK on the connection (red font no Connection will disappear) Open...
Page 22
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Click Connection, select Serial port, serial parameters and the Web display consistent, select the RTU mode. Select the correct communication port Click OK on the connection (red font no Connection will disappear) 4:transmit-receive Modbus data Page 22...
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual The error is 0 for the test to pass normally. According to this method, test RS-232/422 serial communication sequentially. 2.3.5 ModbusTCP(RTU_SLAVE) Mode This series of equipment serial port and the host computer PLC serial port connected(RS-232/485/422) , PC port of the lower computer connected to the Ethernet port of this series of devices, Implement the transmission of Modbus RTU on the Modbus TCP to serial link on the Ethernet link.
Page 24
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Unzip and install software 2:Modbus Functional Verification Test Configuring Web Serial Parameters Input device default IP 192.168.1.253 on IE browser, click the serial port configuration page configuration serial parameter: Take serial port RS-485 as example configuration as shown in the following illustration Remote IP address, remote port, and slave ID for configuring SLAVE, The range of ID can be one or one consecutive value, but cannot be repeated.
Page 25
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Click OK on the connection (red font no Connection will disappear) Open software configuration, parameter configuration is consistent with the Web display. Click Connection, select TCP/IP,IP address write Slave IP 192.168.1.111,Port write remote port number 502. Page 25...
Page 26
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Select the correct communication port Click OK on the connection (red font no Connection will disappear) 4:transmit-receive Modbus data Page 26...
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual The error is 0 for the test to pass normally. According to this method, test RS-232/422 serial communication sequentially. 2.3.6 ModbusTCP(ASCII_MASTER) Mode PC port of the host computer connected to the Ethernet port of this series of devices,This series of equipment serial port and the lower computer PLC serial port connected(RS-232/485/422),Implement the transmission of Modbus ASCII...
Page 28
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Unzip and install software 2:Modbus Functional Verification Test Configuring Web Serial Parameters Input device default IP 192.168.1.253 on IE browser, click the serial port configuration page configuration serial parameter: Take serial port RS-485 as example configuration as shown in the following illustration 3:Run Modbus test software Open software configuration, parameter configuration is consistent with the Web display.
Page 29
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Open software configuration, parameter configuration is consistent with the Web display. Click Connection, select Serial port, serial parameters and the Web display consistent, select the ASCII mode. Select the correct communication port Click OK on the connection (red font no Connection will disappear) Page 29...
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual 4:transmit-receive Modbus data The error is 0 for the test to pass normally. According to this method, test RS-232/422 serial communication sequentially. 2.3.5 ModbusTCP(ASCII_SLAVE) Mode This series of equipment serial port and the host computer PLC serial port connected(RS-232/485/422) , PC port of the lower computer connected to the Ethernet port of this series of devices, Implement the transmission of Modbus ASCII on the Modbus TCP to serial link on the Ethernet link.
Page 31
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Serial Port Work(For Example) 1:Computer Installation Modbus test software Unzip and install software Unzip and install software 2:Modbus Functional Verification Test Configuring Web Serial Parameters Input device default IP 192.168.1.253 on IE browser, click the serial port configuration page configuration serial parameter: Take serial port RS-485 as example configuration as shown in the following illustration Page 31...
Page 32
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Remote IP address, remote port, and slave ID for configuring SLAVE, The range of ID can be one or one consecutive value, but cannot be repeated. (For multiple serial devices different serial ports need to set a different remote port number) 3:Run Modbus test software Open...
Page 33
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Open software configuration, parameter configuration is consistent with the Web display. Click Connection, select TCP/IP,IP address write Slave IP 192.168.1.111,Port write remote port number 502. Select the correct communication port Click OK on the connection (red font no Connection will disappear) Page 33...
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual 4:transmit-receive Modbus data The error is 0 for the test to pass normally. According to this method, test RS-232/422 serial communication sequentially. 2.4 Mapping The mapping function is used to realize the mismatch between the slave address and the slave address issued by the master station, which requires the serial port gateway to remap the slave station ID and realize the normal communication between the master station and the slave station Modbus data.
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Value Value Range Description Serial NO. Select the serial number you want to set. Set up the mappings' enabling and disabling. When the disable function is selected, the current mapping table item will be Enable Enable, Disable deactivated, and the modbus will communicate with the...
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual Notice: The maximum mapping items per serial port are 32. 2.5 Log display Log display function is used to start debugging phase, when master-slave data transfer, it is used to analyze the correctness of receiving or sending Modbus messages by serial gateway.
Page 37
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual In the TFTP settings shown in the following figure. Step 1: In the navigation on the left side, select "manage settings" and enter the TFTP firmware upgrade page. Step 2: Sets the IP address of the TFTP server and the name of the upgrade software. Step 3: Click the "upgrade", a software upgrade.
ShenZhen Comark Technology Co.,Ltd. Serial Server and Gateway User Manual 3 Maintenance and Service From the date of product shipment, the company offers a five year product warranty. According to the product specification, during the warranty period, if no fault in the product or feature fails, the company will be free for the user to repair or replace the product.
Need help?
Do you have a question about the SE3012 and is the answer not in the manual?
Questions and answers