Protocol Converter
ODOT-S2E2
User Manual
V1.00
2020.07.21
Страница 1: ...Protocol Converter ODOT S2E2 User Manual V1 00 2020 07 21...
Страница 2: ...ODOT Series ODOT S2E2 ODOT Automation System Co Ltd 2020 02 Copyright 2019 ODOT Automation all rights reserved...
Страница 3: ...ormation Without the permission of the copyright owner all or part of this document shall not be republished as a paper or electronic document Disclaimer This document is only intended to assist the r...
Страница 4: ...minal resistance 10 2 6 Installation dimension 11 3 How to use the gateway 11 3 1 Introduction to how to use Gateway 11 3 1 1 Serial port working mode 11 3 1 2 Gateway working mode 12 3 1 3 Gateway da...
Страница 5: ...stics 9 36V wide voltage input anti reverse connection protection DC DC isolated power supply 3000V isolation voltage 2KV network port isolation protection 10M 100Mbps rate adaptive automatic MDI MDIX...
Страница 6: ...ters 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...
Страница 7: ...ven check Number of slave stations supported Maximum 62 without repeater Mapping mode protocol function code 0x01 0x02 0x03 0x04 0x05 0x06 0x0F 0x10 Modbus data storage area 0xxxx area coil 8192 Bit 1...
Страница 8: ...e Instruction PWR Power Light on off ON Power on OFF Power off ETH Gateway status indication ON TCP gateway communication error OFF TCP gateway communication normal TX1 Serial port no 1 send indicator...
Страница 9: ...way reset successfully the technical parameters of the gateway are as follows numbe r 1 1B Serial port no 1 RS485 2 1A Serial port no 1 RS485 3 SGND Signal ground 4 PE Shield Earthing 5 2B Serial port...
Страница 10: ...ing resistor is generally required below 300 meters The terminating resistor is connected to the two ends of the transmission cable When Parameter Name Defaults Ethernet side Protocol converter IP 192...
Страница 11: ...s to prevent the reflection of the serial signal Note 120 resistance attached to the package please check it 2 6 Installation dimension 3 How to use the gateway 3 1 Introduction to how to use Gateway...
Страница 12: ...evice to respond After the slave device responds it directly returns the data to the TCP client The mapping mode adopts the data buffer mode and the slave station address mapping table needs to be edi...
Страница 13: ...ically cleared after the slave station returns to normal The data encoding format is shown in Table 3 2 Table 3 2 Coding format of slave error indication area No Storage category Description Storage c...
Страница 14: ...n code currently executed and mapped to the slave Byte0 is the low byte indicating the error code of the current slave communication The specific meaning of the slave error codes is shown in Table 3 4...
Страница 15: ...nterval and check the communication parameter settings 0x06 Protocol ID error Check the sender message 0x07 Cache address error Device internal error 0x08 Bit offset error Device internal error 0x09 S...
Страница 16: ...se length of the slave is wrong Parameter name Default value Ethernet side Ethernet side protocol converter IP 192 168 1 254 Subnet mask 255 255 255 0 LAN gateway IP 192 168 1 1 Modbus TCP data port 5...
Страница 17: ...otline 86 816 2538289 3 3 Gateway IP address modification First supply 24VDC to the gateway connect the network cable to the gateway and the computer change the computer s local network card IP addres...
Страница 18: ...work 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...
Страница 19: ...u 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 s...
Страница 20: ...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...
Страница 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...
Страница 22: ...le 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 button to save an...
Страница 23: ...s 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 when receiving packets Frame interval detection time can...
Страница 24: ...rn 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 slav...
Страница 25: ...of the network where the device is located Modbus TCP data communication port generally 502 Configuration port The configuration software downloads the configuration to the device through this port of...
Страница 26: ...ommunication 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 th...
Страница 27: ...ile to import and save configuration files to the local disk Click Upload Gateway Configuration to upload the current configuration of the gateway to the software Note When downloading and uploading e...
Страница 28: ...t 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 The Ser...
Страница 29: ...t is connected to the serial port Stop bit You can choose 1 stop bit or 2 stop bits Default is 1 stop bit Please keep this parameter in accord with the device that is connected to the serial port Rece...
Страница 30: ...ing area the response timeout time and whether the number changes will be sent The station number of the slave station under the same serial port cannot be the same or the same as the station number o...
Страница 31: ...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 mas...
Страница 32: ...the gateway receives the last Modbus TCP packet to the automatic restart Modbus TCP watchdog enable Whether the watchdog function is enabled Figure 3 14 Configure gateway Ethernet parameters 6 Set th...
Страница 33: ...s automatically then the gateway goes 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 whet...
Страница 34: ...e 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 a...
Страница 35: ...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...
Страница 36: ...as follows Operating mode It is used to set up gateway as master station or slave station in the network Default is master mode Here is set up slave mode Modbus protocol type It s used to set up the g...
Страница 37: ...dbus RTU ASCII slave from the time it receives a message from the master to when it sends a reply This parameter relates to the performance of the master Figure 3 19 Set the corresponding serial port...
Страница 38: ...nection resources that have not been used for a long time in time Modbus TCP watchdog enable Whether the watchdog function is enabled Figure 3 20 Configure gateway Ethernet parameters 5 Set the destin...
Страница 39: ...er 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 If you forget the gateway IP address you can reset the ga...
Страница 40: ...tion in the network the Modbus TCP client can read and write the gateway data storage area inside the gateway through the Modbus TCP protocol and the Modbus RTU ASCII master station can also read and...
Страница 41: ...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...
Страница 42: ...ters and set the working modes of both serial ports to slave Station mode click the OK button to save and return The meaning of each parameter is as follows Operating mode It is used to set up gateway...
Страница 43: ...erval When receiving packets Frame interval detection time can be chose from 1 5t to 200t Default is 3 5t In general you don t have to change this parameter Slave response delay The gateway acts as a...
Страница 44: ...e gateway receives the last Modbus TCP packet to the automatic restart Modbus TCP watchdog enable whether to enable the watchdog function Figure 3 27 Configure gateway Ethernet parameters 5 Set the ta...
Страница 45: ...hether 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 If you forget the gateway IP address you can reset th...
Страница 46: ...ASCII master stations in both networks can both read and write the gateway s internal gateway data storage area the Modbus RTU ASCII protocol The gateway realize communication between the Modbus TCP...
Страница 47: ...m 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 Figur...
Страница 48: ...ter to be consistent with the device connected to the serial port Baud rate Serial port baud rate optional range is 1200 115200bps and defaultis 9600bps Please keep this parameter in accord with the d...
Страница 49: ...ation Number and configure Modbus function code the starting address of the slave station data the number of data the starting address of the gateway mapping area the response timeout time and whether...
Страница 50: ...rking mode to slave mode click Confirm button to save and return select COM2 for this example The meaning of each parameter is as follows Operating mode It is used to set up gateway as master station...
Страница 51: ...ted to the serial port Receive character interval when receiving packets Frame interval detection time can be chose from 1 5t to 200t Default is 3 5t In general you don t have to change this parameter...
Страница 52: ...ugh 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 rele...
Страница 53: ...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...
Страница 54: ...er reset the gateway IP address is the factory default IP address Click Import Profile and Export Profile to import and save the configuration file to the local disk Click Upload Gateway Configuration...
Страница 55: ...is weak the transmission distance is limited RS232 interface standards stipulated in the code element distortion maximum transmission distance is less than 4 under the condition of standard values of...
Страница 56: ...GND Signal ground 6 DSR Data ready 7 RTS Request to send 8 CTS Clear to send 9 RI Ring alert As the RS232 interface has the above electrical characteristics it can only realize point to point communic...
Страница 57: ...and the maximum transmission distance can be reached only if the rate is below 100KB s The highest rate of transmission can be obtained only over very short distances Generally the maximum transmissio...
Страница 58: ...ipoint system using a combination of balanced drivers and differential receivers for enhanced common mode dry resistance i e good noise interference resistance Because the semi duplex network composed...
Страница 59: ...mode in the communication cable at both ends need to add terminal resistance the resistance value is required to be approximately equal to the transmission cable characteristic impedance In short dis...
Страница 60: ...9 ______________________________________________________________ Odot Automation System Co Ltd Add No 6 Hongsheng Road Hi Tech District Mianyang Sichuan China Tel 86 0816 2538289 Zip Code 621000 Email...