background image

n

 

- 44 - 

 

5.

 

Typical Applications 

 
This chapter provides some examples of typical scenarios for the IS-MS3180 series module, 

including applications focused on the Modbus Gateway, Modbus Net ID, Pair-connection and TCP 

Client Mode, etc... 

 

5.1

 

Modbus Gateway 

 

The IS-MS3180 series module is a Modbus TCP/UDP to RTU/ASCII gateway that enables a Modbus 

TCP/UDP host to communicate with serial Modbus RTU/ASCII devices through an Ethernet network, 

and eliminates the inherent cable length limitations of legacy serial communication devices. 

 

5.2

 

Modbus Net ID 

 

The IS-MS3180 series module is a gateway that can be used to convert between the Modbus 

TCP/UDP protocol and the Modbus RTU/ASCII protocol. Consequently, SCADA/HMI applications is 

able to access each Modbus RTU/ASCII slave device via the IS-MS3180 gateway by specifying correct 

NetID of the intended slave device in each Modbus TCP request.   

 

Note that the NetID of the IS-MS3180 gateway is reserved for specific control purposes and is not used to 
access slave devices. 

 

 

 

 

 

Содержание IS-DS5150

Страница 1: ...IS MS3180 Series User Manual Tiny Modbus TCP to RTU ASCII Gateway...

Страница 2: ...ions 13 IS MS3180 Series Module 13 CA 002 Cable 14 2 4 Pin Assignments 15 IS MS3180 15 2 5 Wiring Notes for RS 232 485 422 Interfaces 16 RS 232 Wiring 16 RS 422 Wiring 16 RS 485 Wiring 17 3 Getting St...

Страница 3: ...ion 51 6 1 Modbus Message Structure 51 01 0x01 Read the Status of the Coils Readback DOs 54 02 0x02 Read the Status of the Input Read DIs 55 03 0x03 Read the Holding Registers Readback AOs 56 04 0x04...

Страница 4: ...l and data acquisition SCADA systems The IS MS3180 module is a Modbus TCP UDP to RTU ASCII gateway that enables a Modbus TCP host to communicate with serial Modbus RTU ASCII devices through an Etherne...

Страница 5: ...rs true IEEE 802 3af compliant classification Class 1 Power over Ethernet PoE functionality using a standard Category 5 Ethernet cable to receive power from a PoE switch If there is no PoE switch on s...

Страница 6: ...e Ethernet BOOTP TFTP Tiny Web server for configuration HTTP Contains a 32 bit MCU that efficiently handles network traffic 10 100 Base TX Ethernet RJ 45 x1 Auto negotiating auto MDI MDIX LED Indicato...

Страница 7: ...a networks Connectivity via the Internet snow common in many of the latest applications from home appliances to vending machines to testing equipment to UPS etc An Ethernet network can link office aut...

Страница 8: ...andard web browser interface e g Google Chrome Internet Explorer or Firefox etc This means that it is easy to check the configuration of the IS MS3180 via an Ethernet network without needing to instal...

Страница 9: ...85 4 wire RS 422 Self Tuner Yes automatic RS 485 direction control RS 485 Bias Resistor Yes 1 K Node 254 max UART 16c550 or compatible Signal Isolation 3000 VDC ESD Protection 4 kV COM Port Format Bau...

Страница 10: ...Orange indicator will be illuminated When power is supplied via PoE Power over Ethernet the PoE LED Green indicator will be illuminated 12 to 48 VDC Jack The IS MS3180 is equipped with a 12VDC to 48 V...

Страница 11: ...be moved from the Run position to the Init position The switch must be returned to the Run position after the update is complete LED Indicator Once power is supplied to the IS MS3180 series module the...

Страница 12: ...il clips on the bottom of the chassis that allow them to be reliably mounted on a DIN Rail or a wall For more detailed information regarding DIN Rail Mounting refer to the illustration in figure below...

Страница 13: ...vide the dimensions of the IS MS3180 series module and CA 002 cable that can be used as a reference when defining the specifications and the DC power supply plug for any custom enclosures All dimensio...

Страница 14: ...14 CA 002 Cable Note Cable color BLACK NO DESCRIPTION QTY UNIT 1 UL2464 18AWG 2C RED BLACK 0D5 0 COLOR BLACK 1 PCS 2 DC PLUG 5 5 2 1 1 PCS 3 PVC 45 P BLACK G Pin Assignment P1 P2 1 RED OPEN 2 BLACK OP...

Страница 15: ...n 15 2 4 Pin Assignments IS MS3180 Terminal No Pin Assignment 10 F G 09 N A RS 232 08 ISO GND 07 RxD1 06 TxD1 RS 485 RS 422 05 ISO GND 04 RxD1 03 RxD1 02 TxD1 D1 01 TxD1 D1...

Страница 16: ...n 16 2 5 Wiring Notes for RS 232 485 422 Interfaces RS 232 Wiring 3 wire RS 232 Connection RS 422 Wiring...

Страница 17: ...must be used for the DATA wires 3 Both two ends of the cable may require a termination resistor connected across the two wires DATA and DATA Typically 120 resisters are used 4 The Data and B pins are...

Страница 18: ...network settings on your PC are configured correctly Ensure that the Windows firewall or any Anti Virus firewall software is correctly configured or temporarily disable these functions otherwise the S...

Страница 19: ...ion CD ROM 2 Double click the ISON eSearch Utility shortcut on the desktop 3 Click the Search Servers button to search your IS MS3180 4 Once the search process is complete double click the name of the...

Страница 20: ...ton The new settings for the IS MS3180 will take effect within 2 seconds If you don t know the correct network configuration information contact your Network Administrator to obtain the details 6 Wait...

Страница 21: ...wiring options for RS 232 422 485 refer to Section 2 5 Wiring Notes for RS 232 485 422 Interfaces 3 4 Configuring the Serial Port 1 Open a web browser such as Google Chrome Internet Explorer or Firefo...

Страница 22: ...aud Rate Data Format and Modbus Protocol e g 19200 8N2 and Modbus RTU from the relevant drop down options Notes 1 The Baud Rate Data Format and Modbus protocol settings depends on your Modbus device 2...

Страница 23: ...y enter the IP address of IS MS3180 in the Modbus TCP section and then click the Connect button to connect to the IS MS3180 3 Refer to Protocol Description section and type the Modbus command in the C...

Страница 24: ...pen a new browser window Open a web browser for example Google Chrome Firefox or Internet Explorer which are reliable and popular Internet browsers that can be used to configure IS MS3180 series modul...

Страница 25: ...displayed enter a password the factory default password is admin and then click the Submit button to continue Step 4 Log in to the IS MS3180 Web Server After logging into the IS MS3180 web server the...

Страница 26: ...e software and hardware information section include information related to the Model Name the current Firmware version the IP Address the current position of the Initial Switch the Alias the MAC Addre...

Страница 27: ...n 27 The lower section provides information related to the port settings and pair connection settings...

Страница 28: ...re detail below 4 3 1 IP Address Selection The Address Type Static IP Address Subnet Mask and Default Gateway values are the most important network settings and should always correspond to the LAN con...

Страница 29: ...connected to the network must have its own unique IP address This parameter is used to assign a specific IP address Subnet Mask This parameter is used to assign the subnet mask for the IS MS3180 The s...

Страница 30: ...respective network settings fields Step 3 Click the Update Settings button to complete the configuration Dynamic Configuration Dynamic configuration is very easy to perform If a DHCP server is connect...

Страница 31: ...Name This parameter is used to assign an alias for each IS MS3180 to assist with easy identification ISON System Timeout Network Watchdog This parameter is used to configure the system timeout value I...

Страница 32: ...hether the slave response is checked for compatibility with the Modbus RTU format If the slave response is an invalid Modbus message a 0x41 exception code will be reported Enable 1 Disable 0 1 CRC Exc...

Страница 33: ...eived a 0x4B exception will be reported Enable 1 Disable 0 1 Busy Exception This parameter is used to enable or disable whether a busy exception code 0x06 is reported if the Gateway request queue is f...

Страница 34: ...2 Click the OK button in the message dialog box Step 3 Check whether the module has been reset to the original factory default settings for use with the ISON eSearch Utility Refer to Chapter for more...

Страница 35: ...on can be used to force the IS MS3180 to reboot or to remotely reboot the device After the IS MS3180 module has rebooted the original login screen will be displayed requesting that you enter your Logi...

Страница 36: ...r the IS MS3180 including the Baud Rate Data Format Slave Timeout Char Timeout Silent Time Read Cache TCP Timeout Modbus Protocol and Pair connection parameters etc each of which will be described in...

Страница 37: ...used to enable or disable hardware flow control CTS RTS function None Slave Timeout ms This parameter is used to set the waiting time that should elapse after last character of the request sent to th...

Страница 38: ...period and allows slower slave devices more time to process previous requests and responses thereby reducing communication problems Valid range 10 20to 65530 ms 0 Read Cache ms When sharing Modbus RT...

Страница 39: ...protocol Modbus TCP or UDP for the remote device Remote Server IP The IP address for the remote device Remote TCP Port The TCP Port number for the remote device RTU Virtual ID 1 247 The Modbus RTU Sl...

Страница 40: ...fied in the IP Filter List can access the IS MS3180 The following is an overview of the parameters contained in the Accessible IP section Item Description Add IP to the list Add an IP address to the I...

Страница 41: ...onitor Page After clicking the Monitor tab the Current Connection Status page will be displayed showing detailed information regarding the current status of the serial port connection settings for the...

Страница 42: ...rent password field use the default password admin and then enter a new password in the New password field Re enter the new password in the Confirm new password field and then click the Submit button...

Страница 43: ...n 43 4 8 Logout Page After clicking the Logout tab you will be immediately logged out from the system and be returned to the login page...

Страница 44: ...rough an Ethernet network and eliminates the inherent cable length limitations of legacy serial communication devices 5 2 Modbus Net ID The IS MS3180 series module is a gateway that can be used to con...

Страница 45: ...ess of IS MS3180 2 502 IS MS3180 2 115200 8N1 Server Note The Baud Rate and Data Format settings of the client and server IS MS3180 1 and 2 depend on the COM ports of the PC or the connected device Th...

Страница 46: ...rowser 2 When the login screen is displayed enter the password use the default password admin in the Password field and then click the Submit button to display the configuration page 3 Click the Port1...

Страница 47: ...RTU 5 In the Pair connection Settings area for Port1 select Server from the Application Mode drop down options 6 Amend any details as required and then click the Submit button to complete the configu...

Страница 48: ...n 48...

Страница 49: ...a network a PC and a Power Supply 1 Confirm that the IS MS3180 device is functioning correctly For detailed information regarding how to install configure and operate your IS MS3180 series module refe...

Страница 50: ...e appropriate Baud Rate Data Format and Modbus Protocol settings from the relevant drop down options The following is an example Baud Rate bps 115200 Data Bits bits 8 Parity None Stop Bits bits 1 and...

Страница 51: ...es the slave and the slave responds with the reply The protocol is open and hence highly scalable 6 1 Modbus Message Structure Modbus devices communicate using a master slave client server technique i...

Страница 52: ...on Number specifies the address of the receiver Modbus TCP slave The first byte in the message structure of Modbus is the receiver s address The valid addresses are in the range of 0 to 247 Addresses...

Страница 53: ...0x0A 0x0B The data field of messages sent between a master and a slave contains additional information about the action to be taken by the master or any information requested by the slave If the maste...

Страница 54: ...Byte 02 high byte Byte 03 low byte 04 05 Number of Points Channels 2 Bytes Byte 04 high byte Byte 05 low byte Response Byte Description Size Value 00 Net ID Station Number 1 Byte 1 to 247 01 Function...

Страница 55: ...low byte 04 05 Number of Points Channels 2 Bytes Byte 04 high byte Byte 05 low byte Response Byte Description Size Value 00 Net ID Station Number 1 Byte 1 to 247 01 Function Code 1 Byte 0x02 02 Byte...

Страница 56: ...5 Number of 16 bit Registers Channels 2 Bytes Word Count Byte 04 high byte Byte 05 low byte Response Byte Description Size Value 00 Net ID Station Number 1 Byte 1 to 247 01 Function Code 1 Byte 0x03 0...

Страница 57: ...6 bit Registers Channels 2 Bytes Word Count Byte 04 high byte Byte 05 low byte Response Byte Description Size Value 00 Net ID Station Number 1 Byte 1 to 247 01 Function Code 1 Byte 0x04 02 Byte Count...

Страница 58: ...0 sets the output to ON 0x00 00 sets the output to OFF All other values are invalid and will not affect the coil Byte 04 high byte Byte 05 low byte Response Byte Description Size Value 00 Net ID Stati...

Страница 59: ...te Byte 03 low byte 04 05 Register Value 2 Bytes Register Value Byte 04 high byte Byte 05 low byte Response Byte Description Size Value 00 Net ID Station Number 1 Byte 1 to 247 01 Function Code 1 Byte...

Страница 60: ...Bytes A bit corresponds to a channel A value of 1 for a bit denotes that the channel is ON while a value of denotes that the channel is OFF n 1 Byte 07 data bit 7 to 0 n 2 Byte 08 data bit 15 to 8 n...

Страница 61: ...byte 06 Byte Count 1 Byte n Points x 2 Bytes 07 Register Values n Bytes Register Values n 2 Byte 03 high byte Byte 04 low byte n m Byte 03 high byte Byte 04 low byte Byte m 1 high byte Byte m 2 low b...

Страница 62: ...odule is reset Step 1 Locate the Init Run switch that can be found on the right hand side of the IS MS3180 module and set it to the Init position Reboot the module to load factory default settings inc...

Страница 63: ...tings as necessary e g the IP Mask and Gateway addresses and then click the OK button to save the new settings Step 4 Reset the Init Run switch on the IS MS3180 module to the Run position and reboot t...

Страница 64: ...4 0 20 9600 9568 0 0 33 14400 14392 0 05 19200 19136 0 33 38400 38464 0 17 57600 57552 0 08 115200 114960 0 21 128000 128240 0 18 230400 229920 0 21 250000 250000 0 00 256000 256400 0 15 460800 459760...

Страница 65: ...ted action 0x05 ACKNOWLEDGE Indicates that the slave has accepted the request and is processing it but it will take an extended period of time to do so This response is returned to prevent a timeout e...

Страница 66: ...is still sending data when timed out the IS MS3180 will return this code Please use larger Slave Timeout value for the serial port of the IS MS3180 module 0x41 MODBUS PROTOCOL FORMAT ERROR The IS MS3...

Отзывы: