Advertisement

Quick Links

Protocol Converter
ODOT-S2E2
User Manual
V1.00
2020.07.21

Advertisement

Table of Contents
loading

Summary of Contents for odot ODOT-S2E2

  • Page 1 Protocol Converter ODOT-S2E2 User Manual V1.00 2020.07.21...
  • Page 2 ODOT Series ODOT-S2E2 ODOT Automation System Co., Ltd. 2020-02 Copyright ©2019 ODOT Automation all rights reserved...
  • Page 3 The product and text described in this document are under constant development and refinement. ODOT Automation System Co., Ltd. has the right to modify this document without notifying users.
  • Page 4: Table Of Contents

    Catalogue 1. Product Overview ........5 1.1 Product Functions .............5 1.2 Functional Characteristics ..........5 1.3 Technical parameters ...........6 2. Hardware description .............7 2.1 Product appearance ............7 2.2 Indicator light description ..........8 2.3 Terminal definition ............8 2.4 Reset switch ............9 2.5 External terminal resistance ..........10 2.6 Installation dimension ..........11 3.
  • Page 5: Product Overview

    1.1 Product Functions This product is a Modbus RTU/ASCII to Modbus TCP protocol converter developed by Sichuan ODOT Automation System Co., Ltd based on market demand and years of experience. All slave devices that have RS485/RS422 interfaces and support Modbus RTU/ASCII can connect to the Modbus TCP network through this gateway and communicate with TCP clients.
  • Page 6: Technical Parameters

    ◆ EMC complies with EN 55022:2010 & EN55024:2010 international standards. 1.3 Technical parameters The technical parameters of this product are shown in Table 3.1. Please use this product within the parameters of this product to obtain better performance. Table 3.1 Technical parameters ODOT-S1E1 ODOT-S2E1 Environmental parameters Working temperature -40~85℃...
  • Page 7: Hardware Description

    Serial communication RTU mode and ASCII mode are optional. mode 120 Ω external resistance Serial terminal resistance Supported Baud rate 1200~115200 bps Supported validation No check, odd check, even check mode Number of slave Maximum 62 (without repeater) stations supported Mapping mode 0x01、0x02、0x03、0x04、0x05、0x06、0x0F、0x10 protocol function...
  • Page 8: Indicator Light Description

    Serial port no.2 has data being received. Serial port no.2 receiving indicator light Serial port no.2 receives no data. Caution:*——During normal communication, the status of the ODOT-S2E2 gateway indicator 2.3 Terminal definition The equipment connection adopts 3 Pin and 16Pin 3.81mm distance unplugging terminal.
  • Page 9: Reset Switch

    numbe Serial port no.1 RS485- Serial port no.1 RS485+ SGND Signal ground Shield Earthing Serial port no.2 RS485- Serial port no.2 RS485+ SGND Signal ground Shield Earthing 9-16 Power terminal definition serial numbe Terminal Definition Shield Earthing 24Vdc- 24Vdc+ 2.4 Reset switch The paper clip can be used to click the reset button, and all the indicators blink once to indicate a successful reset.
  • Page 10: External Terminal Resistance

    Parameter Name Defaults Protocol converter IP 192.168.1.254 Subnet mask 255.255.255.0 LAN gateway IP 192.168.1.1 Modbus TCP data port Configure the por 1024 Ethernet side Modbus-TCP watchdog time The enabling of Modbus-TCP enable watch dog Gateway work mode Transmission Mode Gateway station Number Serial port mode Master station mode Protocol type of Modbus...
  • Page 11: Installation Dimension

    the gateway is used in the field, if the field RS485 bus is far away and the field interference is large, it is necessary to add 120Ω terminal resistance at both ends of the RS485 bus to prevent the reflection of the serial signal. Note: 120 Ω...
  • Page 12: Gateway Working Mode

    to 31 Modbus RTU/ASCII slave devices without relay; this mode is mainly used for the communication between the Modbus TCP master station and the Modbus RTU/ASCII slave station. When the serial port works in slave mode, the serial port can be connected to a Modbus RTU/ASCII master device;...
  • Page 13: System Diagnosis Area

    and other functions. The data storage area allocation and address coding range are shown in "Table 3.1". Table 3.1 Data storage area address table Storage Description Storage capacity Address range category Zone 0 coil 8192 Bit 0x0000~0x1FFF Zone 1 Discrete input 8192 Bit 0x0000~0x1FFF Zone 3...
  • Page 14 Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8 number Address 0x200F Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 number The second part: The address 0x2010-0x2106 has a total of 247 words, which is the "slave station status indication" area. Reading this area can get the current working status of the slave station.
  • Page 15 Table 3.4 Description of Slave Error Code Error Fault description Troubleshooting method code 0x00 works normally None The device does not support the current function Illegal function 0x01 code, please refer to the slave station manual to select code the corresponding function code module The device data exceeds its address range, refer to 0x02 Illegal data address...
  • Page 16: Default Parameters

    The data contains non-hexadecimal ASCII codes Non-character data 0x12 in ASCII mode The number of 0x13 characters in ASCII The response length of the slave is wrong mode is wrong 3.2 Default parameters The default factory configuration of the gateway is as follows: Table 3.5 Factory default configuration of gateway Parameter name Default value...
  • Page 17: Gateway Ip Address Modification

    1. If you want to configure the parameters of the gateway, please use the software "ODOT MGCC Config" for configuration. The software installation package is in the CD-ROM, or you can call the Sichuan Odot Automation System Co., Ltd. hotline: +86-816-2538289.
  • Page 18 Modify the gateway IP address of the configuration software interface to: 192.168.10.12 (cross-network segment), and change the LAN gateway IP to: 192.168.10.1. After the modification is completed, click to download the gateway configuration directly, and a warning box will pop up to confirm whether to modify the IP address. Click OK, you can see the download is successful in the lower right corner.
  • Page 19 After the IP address is successfully modified, you need to change the computer's IP address to: 192.168.10.* network segment. Click Upload Gateway Configuration on the configuration software MGCC Config interface. After the upload is successful, you can see the upload success in the lower right corner.
  • Page 20: Description Of Typical Applications

    3.4 Description of typical applications 3.4.1 Communicate between Modbus TCP client and Modbus RTU/ASCII slave station 3.4.1.1 Application topology...
  • Page 21 3.4.1.2 Transparent transmission mode configuration 1. Open configuration software "odot MGCC Config”, Right click the slave configuration page and select "Add Device",Add "ODOT-S2 E2”.
  • Page 22 Figure 3.2 Add device 2. Double-click "ODOT-S2E2" or right-click "ODOT-S4E2", Select “common device attributes”, Set the gateway working mode to Transparent in the popup page. Double-click "COM1" or "COM2" or right-click "COM1" or "COM2" and click "Serial Port Properties". The "Serial Port Settings" window will pop up. After setting the communication parameters, click the "OK"...
  • Page 23 Modbus protocol type: It is used to set up the gateway's protocol type of the network between the communication of the serial port and other connected devices. You can choose Modbus RTU or Modbus ASCII. Please keep this parameter in accord with the device that is connected to the serial port.
  • Page 24 Figure 3.4 Set serial port properties 4.Select "COM1" or "COM2", right-click and select Add Slave, enter "Slave Name", fill in "Slave Station Number" and Slave "Response Timeout" time, and click "OK" to return. The station number of each slave station on the device cannot be the same, it cannot be the same as the station number of the device, and the slave station address range is between 1-247, and the slave station names under the same serial port cannot be the same.
  • Page 25 Figure 3.5 Add Slave 5.Configure the Ethernet parameters of the gateway through the "Ethernet Configuration" in the left half of the configuration software. The meanings of some parameters are as follows: Modbus gateway IP: the IP address of the device itself; Subnet mask: the subnet mask of the device;...
  • Page 26 Figure 3.6 Set device Ethernet properties Set the destination gateway address that you want to download and download communication port number through “Communication”—“Communication Configuration”. The default is the gateway factory default IP 192.168.1.254 and port number 1024. Figure 3.7 Communication configuration between software and gateway 7.Click the "Download Gateway Configuration"...
  • Page 27 IP address 192.168.1.254, the Modbus data communication port 502 and the slave station number 1. 3.4.1.3 Mapping mode configuration Open the configuration software "odot MGCC Config".Right-click on the configuration page of slave station and select "Add Device" ,then add "ODOT-S2E2".
  • Page 28 Figure 3.9 Add device Double-click "ODOT-S2E2", or right-click "ODOT-S2E2". Select "Common Properties of Device Serial Port". Set the gateway working mode to "Mapping Mode" in the popup setting page Figure 3.10 Set gateway working mode Double-click "COM1" or "COM2" or right-click "COM1" or "COM2" and click "Serial Port Properties".
  • Page 29 The meaning of each parameter is as follows: Operating mode: et up gateway as master station or slave station in the network. It is used to s Default is master mode. Modbus protocol type: It's used to set up the gateway's protocol type of the network between the communication of the serial port and other connected devices.
  • Page 30 Figure 3.11 Set serial port parameters Select "COM1" or "COM2", right-click to select Add Slave, enter "Slave Name", fill in "Slave Station Number", configure Modbus function code and slave data according to the communication manual of the slave device The starting address, the number of data, the starting address of the gateway mapping area, the response timeout time, and whether the number changes will be sent.
  • Page 31 Figure 3.12 Add slave Figure 3.13 Configure slave address mapping table 5.Configuring the Ethernet parameters of the gateway by the "Ethernet Configuration" on the left of the software. Some of the parameters are as follows: Modbus gateway IP:The device's own IP address; Subnet mask:Subnet mask of the device;...
  • Page 32 Modbus-TCP data communication port:Generally 502; Configure the port:The configuration software downloads the configuration to the device through this port of the device; Modbus-TCP watchdog time:The time interval from when the gateway receives the last Modbus TCP packet to the automatic restart; Modbus-TCP watchdog enable:Whether the watchdog function is enabled.
  • Page 33 Figure 3.15 Software and gateway communication configuration 7.Click the button “Download Gateway Configuration “.Download configuration parameters to the gateway. After the download is successful, the "Download successful" prompt appears in the Status Bar at the lower right. After the download is successful, the gateway restarts automatically then the gateway goes into running state.
  • Page 34 Figure 3.15 Download gateway configurations 8.After completing the above settings, the Modbus TCP client can use the Modbus TCP protocol to access the slave device 16DI which the station number is X(0<X<248 and X cannot be the device station number for the gateway) though the gateway IP address 192.168.1.254, the Modbus data communication port 502 and the slave station number 1.
  • Page 35 Figure 3.16 System topology diagram 3.4.2.2 Simple configuration 1.Open the configuration software "odot MGCC Config".Right-click on the configuration page of slave station and select "Add Device" ,then add "ODOT-S2E2".
  • Page 36 Figure 3.17 Add device 2.Double-click "ODOT-S4E2" or right-click "ODOT-S4E2", Select “common device attributes”, set the gateway as the station number of the Modbus RTU/ASCII slave on the popup setup page. Figure 3.18 Set gateway working mode 3.Double-click "COM1" or "COM2" or right-click "COM1" or "COM2" and click "Serial Port Properties", the "Serial Port Settings"...
  • Page 37 in accord with the device that is connected to the serial port. Stop bit: You can choose stop bit 1 or stop bits 2. Default is stop bit 1. Please keep this parameter in accord with the device that is connected to the serial port. Receive character interval:...
  • Page 38 device through this port of the device; Modbus-TCP watchdog time: The time interval from when the gateway receives the last Modbus TCP packet to the automatic restart; Note: Automatic restart of the gateway can release connection resources that have not been used for a long time in time;...
  • Page 39 Figure 3.21 Software and gateway communication configuration 6. Click the button “Download Gateway Configuration “.Download configuration parameters to the gateway. After the download is successful, the "Download successful" prompt appears in the Status Bar at the lower right.After the download is successful, the gateway restarts automatically then the gateway go into running state.
  • Page 40 Figure 3.22 Download the gateway configuration. 7. After the setting is completed, connect the gateway to the Modbus TCP network through Ethernet, and connect to the Modbus RTU/ASCII network through the corresponding serial port (the routine is configured as COM2). The gateway acts as a Modbus TCP server in the Modbus TCP network.
  • Page 41 Figure 3.23 System topology diagram 3.4.3.2 Simple configuration 1.Open the configuration software "odot MGCC Config".Right-click on the configuration page of slave station and select "Add Device" ,then add "ODOT-S4E2".
  • Page 42 Figure 3.24 Add device 2. Double-click "ODOT-S4E2" or right-click "ODOT-S4E2", Select “common device attributes”, set the gateway as the station number of the Modbus RTU/ASCII slave on the popup setup page. Figure 3.25 Set gateway working mode 3. Double-click "COM1", "COM2" or right-click "COM1", "COM2" and click "Serial Port Properties", the "Serial Port Settings"...
  • Page 43 Baud rate: Serial port baud rate: optional range is 1200~115200bps and default is 9600bps, Please keep this parameter in accord with the device that is connected to the serial port. Check Digit: No parity, odd parity, even parity, no default can be chose. Please keep this parameter in accord with the device that is connected to the serial port.
  • Page 44 Modbus-TCP data communication port:Generally 502; Configure the port:The configuration software downloads the configuration to the device through this port of the device; Modbus-TCP watchdog time:The time interval from when the gateway receives the last Modbus TCP packet to the automatic restart; Modbus-TCP watchdog enable: whether to enable the watchdog function.
  • Page 45 Figure 3.28 Software and gateway communication configuration 6.Click the button “Download Gateway Configuration “.Download configuration parameters to the gateway. After the download is successful, the "Download successful" prompt appears in the Status Bar at the lower right. After the download is successful, the gateway restarts automatically and then the gateway go into running state.
  • Page 46 Figure 3.29 Download gateway configuration 7. After setting up, two different Modbus RTU/ASCII networks are accessed through the corresponding serial ports. The gateway acts as slave station in both Modbus RTU/ASCII networks. The Modbus RTU/ASCII master stations in both networks can both read and write the gateway's”...
  • Page 47 Figure 3.30 System topology diagram 3.4.4.2 Simple configuration 1. Open the configuration software "odot MGCC Config".Right-click on the configuration page of slave station and select "Add Device" ,then add "ODOT-S4E2". Figure 3.31 Add device...
  • Page 48 2. Double-click "ODOT-S2E2", or right-click "ODOT-S2E2", select "Common Properties of Device Serial Port", and set the gateway working mode to "Mapping Mode" on the pop-up setting page. 3. Double-click "COM1" or "COM2" or right-click "COM1" or "COM2" and click "Serial Port Properties". The "Serial Port Settings" window will pop up.
  • Page 49 responding too slowly and causing communication failures. Overtime handling Read the data from the slave station, if the slave station responds to the data processing mode of timeout, you can choose "data clear" or "data hold". The default "data hold" mode, this parameter is only valid for Modbus read commands, please set this value according to actual needs.
  • Page 50 Figure 3.34 Adding slave Figure 3.35 Configure slave address mapping table 5. Double-click "COM1" or "COM2" or right-click "COM1" or "COM2" and click "Serial Port Properties", the "Serial Port Settings" window will pop up, set the communication parameters, set the serial port working mode to slave mode, click "Confirm" button to save and return (select COM2 for this example).
  • Page 51 or Modbus ASCII. Please keep this parameter in accord with the device that is connected to the serial port. Baud rate: Serial port baud rate: optional range is 1200~115200bps and default is 9600bps, Please keep this parameter in accord with the device that is connected to the serial port. Check Digit:...
  • Page 52 Modbus-TCP data communication port:Generally 502; Configure the port: The configuration software downloads the configuration to the device through this port of the device; Modbus-TCP watchdog time: The time interval from when the gateway receives the last Modbus TCP packet to the automatic restart. Note: Automatic restart of the gateway can release connection resources that have not been used for a long time in time;...
  • Page 53 Figure 3.37 Configure gateway Ethernet parameters 7.Set the destination gateway address that you want to download and download communication port number through “Communication”—“Communication Configuration”. The default is the gateway factory default IP 192.168.1.254 and port number 1024. Figure 3.38 Software and gateway communication configuration 8.Click the button “Download Gateway Configuration “.Download configuration parameters to the gateway.
  • Page 54 the download is successful, the gateway restarts automatically and then the gateway go into running state. If the download fails, please check out whether the computer's IP address and gateway IP address are in the same network segment. Then check whether the gateway IP address is set correctly.
  • Page 55: Supplement

    Modbus RTU/ASCII slave data from COM1,The Modbus RTU/ASCII master and Modbus TCP clients indirectly access the Modbus RTU/ASCII slaves by accessing the gateway's internal gateway data store. 4. Supplement Brief introduction of serial port network topology 1. RS232 RS232 is one of serial communication interfaces controlled by industry. It is widely used to connect computer serial interface with peripherals.
  • Page 56: Rs422

    The top left corner is 1, the bottom right corner is 9 9-pin RS232 serial port(DB9) Name Function Carrier detect Receive data Send data Data terminal ready Signal ground Data ready Request to send Clear to send Ring alert As the RS232 interface has the above electrical characteristics, it can only realize point-to-point communication.
  • Page 57 interface circuit. RS422 adopts four-wire plus ground wire (T+, T-, R+, R-, GND), full-duplex, differential transmission, multi-point communication data transmission protocol. It USES a balanced transmission line that is unidirectional/non-reversible, with or without an enabling end. Because the receiver USES a high input impedance and the sending driver is stronger than RS232, it is allowed to connect multiple receiving nodes on the same transmission line, up to 10 nodes.
  • Page 58: Rs485

    The upper left corner is 1, the lower right corner is 9. The RS422 communication wiring diagram is shown in the figure: 3. RS485 Since the RS-485 is developed from the RS-422, many electrical provisions of the RS-485 are similar to those of the RS-422.If they all adopt the balanced transmission mode, they all need to connect the final resistance on the transmission line, etc.
  • Page 59 communication distance, if in a long-distance communication, please reduce the baud rate, to reduce the signal during transmission by external electromagnetic interference, please use twisted-pair shielded cable as a communication cable. RS485 bus in the case of no trunk to support a maximum of 32 nodes, node and node between the "Daisy chain"...
  • Page 60 ______________________________________________________________ Odot Automation System Co., Ltd. Add: No.6 Hongsheng Road, Hi-Tech District, Mianyang, Sichuan, China. Tel: +86-0816-2538289 Zip Code: 621000 Email:sales@odotautomation.com Web: www.odotautomation.com http:// www.odotautomation.com TEL: +86-0816-2538289 60 / 60...

Table of Contents