background image

Reference 

MVI56E-MNETR ♦ ControlLogix Platform 

User Manual 

Modbus TCP/IP Interface Module with Reduced Data Block 

 

 

Page 112 of 175 

ProSoft Technology, Inc. 

 

June 14, 2011 

 

 

5.2 

Functional Overview 

5.2.1  About the MODBUS TCP/IP Protocol 

MODBUS is a widely used protocol originally developed by Modicon in 1978. 
Since that time, the protocol has been adopted as a standard throughout the 
automation industry.  
The original MODBUS specification uses a serial connection to communicate 
commands and data between Client and server devices on a network. Later 
enhancements to the protocol allow communication over Ethernet networks using 
TCP/IP as a "wrapper" for the MODBUS protocol. This protocol is known as 
MODBUS TCP/IP.  
MODBUS TCP/IP is a Client/server protocol. The Client establishes a connection 
to the remote server. When the connection is established, the Client sends the 
MODBUS TCP/IP commands to the server. The MVI56E-MNETR module works 
both as a Client and as a server.  
Aside from the benefits of Ethernet versus serial communications (including 
performance, distance, and flexibility) for industrial networks, the MODBUS 
TCP/IP protocol allows for remote administration and control of devices over a 
TCP/IP network. The efficiency, scalability, and low cost of a MODBUS TCP/IP 
network make this an ideal solution for industrial applications.  
The MVI56E-MNETR module acts as an input/output module between devices 
on a MODBUS TCP/IP network and the Rockwell Automation backplane. The 
module uses an internal database to pass data and commands between the 
processor and the Client and server devices on the MODBUS TCP/IP network.  

 

5.2.2  Module Power Up 

On power up the module begins performing the following logical functions: 

Initialize hardware components 

o

 

Initialize ControlLogix backplane driver 

o

 

Test and Clear all RAM 

o

 

Read configuration for module from MNET.CFG file on Compact Flash 
Disk 

Initialize Module Register space 

Enable Server Drivers 

Enable Client Driver 

When the module has received the configuration, the module will begin 
communicating with other nodes on the network, depending on the configuration. 

 

Summary of Contents for ControlLogix inRAx MVI56E-MNETR

Page 1: ...MVI56E MNETR ControlLogix Platform Modbus TCP IP Interface Module with Reduced Data Block June 14 2011 USER MANUAL ...

Page 2: ...y Inc all rights reserved MVI56E MNETR User Manual June 14 2011 ProSoft Technology ProLinx inRAx ProTalk and RadioLinx are Registered Trademarks of ProSoft Technology Inc All other brand or product names are or may be trademarks of and are used to identify products and services of their respective owners ProSoft Technology Product Documentation In an effort to conserve paper ProSoft Technology no ...

Page 3: ...on operational Vibration 5 g from 10 Hz to 150 Hz Relative Humidity 5 to 95 without condensation All phase conductor sizes must be at least 1 3 mm squared and all earth ground conductors must be at least 4mm squared Important Safety Information North America Warnings A Warning Explosion Hazard Substitution of components may impair suitability for Class I Division 2 B Warning Explosion Hazard When ...

Page 4: ... 2056722 2090408 cULus GOST R Test 2 4 243333 E183151 ME06 Ex II 3 G Ex nA IIC T4 Gc 0 C Ta 60 C 25 C Ta 70 C XT models only II Equipment intended for above ground use not for use in mines 3 Category 3 equipment investigated for normal operation only G Equipment protected against explosive gasses cULus E183151 Class I DIV 2 groups A B C D T5 for all models 0 C to 60 C 25 C to 70 C XT models only ...

Page 5: ...ct to the Module 24 1 9 Connecting to the Module s Web Page 26 1 10 Uploading the Add On Instruction from the Module 27 1 11 Creating a New RSLogix 5000 Project 27 1 11 1 Create the Remote Network 28 1 11 2 Create the Module Remote Rack 30 1 11 3 Create the Module Local Rack 33 1 11 4 Import Add On Instruction 36 1 11 5 Connecting Your PC to the ControlLogix Processor 47 1 11 6 Downloading the Sam...

Page 6: ...ent Information 100 4 6 1 Command List 100 4 6 2 Command Status 100 4 6 3 Config 100 4 6 4 Status 100 4 7 Monitoring MNET Server Information 101 4 7 1 Config 101 4 7 2 Status 101 4 8 LED Status Indicators 102 4 8 1 Scrolling LED Status Indicators 102 4 8 2 Ethernet LED Indicators 103 4 8 3 Non Scrolling LED Status Indicators 104 4 9 Client Configuration Error Word 105 4 10 Clearing a Fault Conditi...

Page 7: ...odule 150 5 6 5 Writing the Ethernet Settings to the Module 152 5 6 6 Reading the Clock Value from the Module 153 5 6 7 Writing the Clock Value to the Module 154 5 7 Adding the Module to an Existing Project 155 5 8 Using the Sample Program 158 5 8 1 Opening the Sample Program in RSLogix 158 5 8 2 Choosing the Controller Type 160 5 8 3 Selecting the Slot Number for the Module 161 5 8 4 Downloading ...

Page 8: ...Contents MVI56E MNETR ControlLogix Platform User Manual Modbus TCP IP Interface Module with Reduced Data Block Page 8 of 175 ProSoft Technology Inc June 14 2011 ...

Page 9: ...rements hardware installation and basic configuration Diagnostic and Troubleshooting Diagnostics and Troubleshooting page 91 This section describes Diagnostic and Troubleshooting procedures Reference Product Specifications Functional Overview Reference page 109 Product Specifications page 110 Functional Overview page 112 These sections contain general references associated with this product Specif...

Page 10: ...Guide to the MVI56E MNETR User Manual MVI56E MNETR ControlLogix Platform User Manual Modbus TCP IP Interface Module with Reduced Data Block Page 10 of 175 ProSoft Technology Inc June 14 2011 ...

Page 11: ...cting to the Module s Web Page 26 Uploading the Add On Instruction from the Module 27 Creating a New RSLogix 5000 Project 27 To get the most benefit from this User Manual you should have the following skills Rockwell Automation RSLogix software launch the program configure ladder logic and transfer the ladder logic to the processor Microsoft Windows install and launch programs execute menu command...

Page 12: ...Windows software for diagnostics connecting via the module s Ethernet port or CIPconnect to upload download module configuration information and access troubleshooting features and functions ProSoft Discovery Service PDS Utility software to find and display a list of MVI56E modules on the network and to temporarily change an IP address to connect with a module s web page CIPconnect enabled Allows ...

Page 13: ...Service PDS included in PCB Pentium II 450 MHz minimum Pentium III 733 MHz or better recommended Supported operating systems o Microsoft Windows Vista o Microsoft Windows XP Professional with Service Pack 1 or 2 o Microsoft Windows 2000 Professional with Service Pack 1 2 or 3 o Microsoft Windows Server 2003 128 Mbytes of RAM minimum 256 Mbytes of RAM recommended 100 Mbytes of free hard disk space ...

Page 14: ...t Before beginning the installation please verify that all of the following items are present Qty Part Name Part Number Part Description 1 MVI56E MNETR Module MVI56E MNETR Modbus TCP IP Interface Module with Reduced Data Block 1 Cable RL CBL025 5 foot Ethernet Straight Through Cable Gray 1 ProSoft Solutions CD CD 013 Contains configuration tools for the MVI56E MNETR module 1 Insert MVI56E MNETR Qu...

Page 15: ...e protected mode the Setup pins are not connected and the module s firmware cannot be overwritten Do not jumper the Setup pins together unless you are directed to do so by ProSoft Technical Support The following illustration shows the MVI56E MNETR jumper configuration Note If you are installing the module in a remote rack you may prefer to leave the Setup pins jumpered That way you can update the ...

Page 16: ... chassis power is applied and the system is operating However please note the following warning Warning When you insert or remove the module while backplane power is on an electrical arc can occur An electrical arc can cause personal injury or property damage by sending an erroneous signal to your system s actuators This can cause unintended machine motion or loss of process control Electrical arc...

Page 17: ...t Configuration Builder To install ProSoft Configuration Builder from the CD ROM 1 Insert the ProSoft Solutions CD ROM into the CD drive of your PC Wait for the startup screen to appear 2 On the startup screen click INSTALL PROSOFT CONFIGURATION BUILDER This action starts the installation wizard for ProSoft Configuration Builder 3 Click NEXT on each page of the installation wizard Click FINISH on ...

Page 18: ...7 Connecting Your PC to the Module With the module securely mounted connect one end of the Ethernet cable to the Config E1 Port and the other end to an Ethernet hub or switch accessible from the same network as your PC You can also connect directly from the Ethernet Port on your PC to the Config E1 Port on the module by using an Ethernet crossover cable not included ...

Page 19: ...le OR reconfigure the router layer 3 switch to allow routing of the UDP broadcast messages 1 Click the START button and then navigate to PROGRAMS PROSOFT TECHNOLOGY 2 Click to start PROSOFT CONFIGURATION BUILDER If you have used other Windows configuration tools before you will find the screen layout familiar PCB s window consists of a tree view on the left and an information pane and a configurat...

Page 20: ...4 2011 4 On the shortcut menu select CHOOSE MODULE TYPE This action opens the Choose Module Type dialog box 5 In the Product Line Filter area of the dialog box select MVI56E In the SELECT MODULE TYPE dropdown list select MVI56E MNETR and then click OK to save your settings and return to the ProSoft Configuration Builder window 6 Right click the module icon ...

Page 21: ...x Platform Start Here Modbus TCP IP Interface Module with Reduced Data Block User Manual ProSoft Technology Inc Page 21 of 175 June 14 2011 7 On the shortcut menu choose DIAGNOSTICS This action opens the Diagnostics dialog box ...

Page 22: ... there is no response from the module 1 Click the SET UP CONNECTION button to browse for the module s IP address 2 On the Connection Setup dialog box click the TEST CONNECTION button to verify if the module is accessible with the current settings 3 If PCB is still unable to connect to the module click the BROWSE DEVICE S button to open the ProSoft Discovery Service ...

Page 23: ...Module with Reduced Data Block User Manual ProSoft Technology Inc Page 23 of 175 June 14 2011 4 Select the module then right click and choose ASSIGN TEMPORARY IP 5 The module s default IP address is 192 168 0 250 6 Choose an unused IP within your subnet and then click OK ...

Page 24: ...rk upload and download files and view network and module diagnostics from a PC RSLinx is not required when you use CIPconnect All you need are The IP addresses and slot numbers of any 1756 ENBT modules in the path The ControlNet node numbers and slot numbers of any 1756 CNBx ControlNet Bridge modules in the path The slot number of the MVI56E MNETR in the destination ControlLogix chassis the last E...

Page 25: ... field is automatically selected depending on the destination module of the last rack 1756 CNB or 1756 ENBT Source Module IP Address IP address of the source module only applicable for 1756 ENBT Source Module Node Address Node address of the source module only applicable for 1756 CNB Destination Module Select the destination module associated to the source module in the rack The connection between...

Page 26: ... module to configure and then click the right mouse button to open a shortcut menu 2 On the shortcut menu choose VIEW MODULE S WEBPAGE The web page contains the product documentation and sample programs Important The temporary IP address is only valid until the next time the module is initialized Please refer to Setting Temporary IP Address page 19 in the MVI56E MNETR User Manual for information o...

Page 27: ... 5000 version 16 or higher Two Add On Instructions are provided The Rung Import with Sample Program Add On Instruction MVI56EMNETR_AddOn_Rung_v1_3 L5X Includes the user defined data types data objects and ladder logic required to configure the MVI56E MNETR module The Rung Import with Utility Add On Instruction Optional MVI56EMNETR_Optional_Rung_v1_0 L5X If your processor uses an earlier version of...

Page 28: ...N 16 4 Enter a name for your controller such as My_Controller 5 Select your ControlLogix chassis type 6 Select SLOT 0 for the controller Note If you are installing the MVI56E MNETR module in a remote rack follow these next few steps If you are installing the module in a local rack follow the steps in Create the Module Local Rack page 33 1 11 1 Create the Remote Network 1 Right click I O CONFIGURAT...

Page 29: ...the COMMUNICATIONS module selections and then select the Ethernet Bridge module that matches your hardware This example uses a 1756 ENBT A module Note If you are prompted to Select Major Revision choose the lower of the available revision numbers 3 Name the ENBT A module then set the IP Address and slot location in the local rack with the ControlLogix processor 4 Click OK ...

Page 30: ...ane and click the right mouse button to open a shortcut menu On the shortcut menu choose NEW MODULE 6 Repeat steps 2 and 3 to add the second EtherNet IP module to the remote rack 1 11 2 Create the Module Remote Rack 1 Next select the remote 1756 BACKPLANE node in the Controller Organization pane underneath the remote rack EtherNet IP module you just created and click the right mouse button to open...

Page 31: ...terface Module with Reduced Data Block User Manual ProSoft Technology Inc Page 31 of 175 June 14 2011 This action opens the SELECT MODULE dialog box 2 Select the 1756 MODULE GENERIC 1756 MODULE from the list and click OK This action opens the NEW MODULE dialog box ...

Page 32: ...MNETR Description Enter a description for the module Example Modbus TCP IP Interface Module with Reduced Data Block Comm Format Select DATA INT Very Important Slot Enter the slot number in the rack where the MVI56E MNETR module will be installed Input Assembly Instance 1 Input Size 42 Output Assembly Instance 2 Output Size 42 Configuration Assembly Instance 4 Configuration Size 0 5 On the CONNECTI...

Page 33: ... the MVI56E MNETR module in a local rack follow these next few steps If you are installing the module in a remote rack follow the steps in Create the Module Remote Rack page 28 1 11 3 Create the Module Local Rack 1 Add the MVI56E MNETR module to the project In the CONTROLLER ORGANIZATION window select I O CONFIGURATION and click the right mouse button to open a shortcut menu On the shortcut menu c...

Page 34: ...e Properties values as follows Parameter Value Name Enter a module identification string The recommended value is MNETR Description Enter a description for the module Example Modbus TCP IP Interface Module with Reduced Data Block Comm Format Select DATA INT Very Important Slot Enter the slot number in the rack where the MVI56E MNETR module is to be installed Input Assembly Instance 1 Input Size 42...

Page 35: ...educed Data Block User Manual ProSoft Technology Inc Page 35 of 175 June 14 2011 4 On the CONNECTION tab set the RPI value for your project Five 5 milliseconds is usually a good starting value Click OK to confirm The MVI56E MNETR module is now visible in the I O CONFIGURATION section ...

Page 36: ...TASKS folder and subfolder until you reach the MAINPROGRAM folder 2 In the MAINPROGRAM folder double click to open the MAINROUTINE ladder 3 Select an empty rung in the new routine and then click the right mouse button to open a shortcut menu On the shortcut menu choose IMPORT RUNG 4 Navigate to the location on your PC where you saved page 27 the Add On Instruction for example My Documents or Deskt...

Page 37: ...une 14 2011 This action opens the IMPORT CONFIGURATION dialog box showing the controller tags that will be created o If you are installing the module in a Remote Rack open the dropdown menus for the Input and Output tags and select the MNETR module in the remote rack 5 Click OK to confirm the import RSLogix will indicate that the import is in progress ...

Page 38: ...75 ProSoft Technology Inc June 14 2011 When the import is complete you will see the new Add On Instruction rung in the ladder The procedure has also imported new User Defined Data Types data objects and the Add On instruction for your project 6 Save the application and then download the sample ladder logic into the processor ...

Page 39: ...f 175 June 14 2011 Adding Multiple Modules Optional Important If your application requires more than one MVI56 MNETR module into the same project follow the steps below 1 In the I O Configuration folder click the right mouse button to open a shortcut menu and then choose NEW MODULE 2 Select 1756 MODULE This action opens the New Module dialog box ...

Page 40: ...a Block Comm Format Select DATA INT Slot Enter the slot number in the rack where the MVI56E MNETR module is located Input Assembly Instance 1 Input Size 42 Output Assembly Instance 2 Output Size 42 Configuration Assembly Instance 4 Configuration Size 0 4 Click OK to confirm The new module is now visible 5 Expand the Tasks folder and then expand the MainTask folder 6 On the MainProgram folder click...

Page 41: ... Reduced Data Block User Manual ProSoft Technology Inc Page 41 of 175 June 14 2011 8 Select an empty rung in the new routine and then click the right mouse button to open a shortcut menu On the shortcut menu choose IMPORT RUNG 9 Select the file MVI56 E MNETR_AddOn_Rung_ Version L5X ...

Page 42: ...d Data Block Page 42 of 175 ProSoft Technology Inc June 14 2011 This action opens the IMPORT CONFIGURATION dialog box showing the controller tags that will be created 10 Associate the I O connection variables to the correct module The default values are Local 1 I and Local 1 O so these require change ...

Page 43: ...rface Module with Reduced Data Block User Manual ProSoft Technology Inc Page 43 of 175 June 14 2011 Change the default tags MNETR and AOI56MNETR to avoid conflict with existing tags This procedure will append the string _2 as follows Or in a Remote Rack application ...

Page 44: ...Start Here MVI56E MNETR ControlLogix Platform User Manual Modbus TCP IP Interface Module with Reduced Data Block Page 44 of 175 ProSoft Technology Inc June 14 2011 11 Click OK to confirm ...

Page 45: ...MVI56E MNETR ControlLogix Platform Start Here Modbus TCP IP Interface Module with Reduced Data Block User Manual ProSoft Technology Inc Page 45 of 175 June 14 2011 Or in a Remote Rack application ...

Page 46: ...n in the tree view and double click MODULE to open an Edit window Change the READ REGISTER COUNT to contain the number of words for your Read Data area Important Because the module pages data in blocks of 200 registers at a time you must configure your user data in multiples of 200 registers 2 To modify the WriteData array follow the above steps substituting WriteData for ReadData Also make sure t...

Page 47: ...The following steps show how to establish communication through the serial interface It is not mandatory that you use the processor s serial interface You may access the processor through whatever network interface is available on your system Refer to your Rockwell Automation documentation for information on other connection methods 1 Connect the right angle connector end of the cable to your cont...

Page 48: ... download through the processor s serial port as shown here You may download through any available network connection 2 When communication is established RSLogix 5000 will open a confirmation dialog box Click the DOWNLOAD button to transfer the sample program to the processor 3 RSLogix 5000 will compile the program and transfer it to the processor This process may take a few minutes 4 When the dow...

Page 49: ...terface Module with Reduced Data Block User Manual ProSoft Technology Inc Page 49 of 175 June 14 2011 2 Configuring the MVI56E MNETR Module In This Chapter Using ProSoft Configuration Builder Software 50 Downloading the Project to the Module 69 Using CIPconnect to Connect to the Module 71 ...

Page 50: ...iguration files customized to meet your application needs PCB is not only a powerful solution for new configuration files but also allows you to import information from previously installed known working configurations to new projects Note During startup and initialization the MVI56E MNETR module receives its protocol and backplane configuration information from the installed Personality Module Co...

Page 51: ... layout familiar PCB s window consists of a tree view on the left and an information pane and a configuration pane on the right side of the window When you first start PCB the tree view consists of folders for Default Project and Default Location with a Default Module in the Default Location folder The following illustration shows the PCB window with a new project Your first task is to add the MVI...

Page 52: ...roSoft Technology Inc June 14 2011 2 On the shortcut menu select CHOOSE MODULE TYPE This action opens the Choose Module Type dialog box 3 In the Product Line Filter area of the dialog box select MVI56E In the SELECT MODULE TYPE dropdown list select MVI56E MNETR and then click OK to save your settings and return to the ProSoft Configuration Builder window ...

Page 53: ...save the new name Configuring Module Parameters 1 Click on the sign next to the module icon to expand module information 2 Click on the sign next to any icon to view module information and configuration options 3 Double click any icon to open an Edit dialog box 4 To edit a parameter select the parameter in the left pane and make your changes in the right pane 5 Click OK to save your changes Printi...

Page 54: ...r Start 0 to 4999 The Read Register Start parameter specifies the start of the Read Data area in module memory Data in this area will be transferred from the module to the processor Note Total user database memory space is limited to the first 5000 registers of module memory addresses 0 through 4999 Therefore the practical limit for this parameter is 4999 minus the value entered for Read Register ...

Page 55: ...and the number of registers to transfer from the processor to this memory area up to a maximum value of 5000 words Note Total Read Register Count and Write Register Count cannot exceed 5000 total registers Read Data and Write Data Areas must be configured to occupy separate address ranges in module memory and should not be allowed to overlap Failure Flag Count 0 through 65535 This parameter specif...

Page 56: ... duplex 10 MB speed Value 2 Full duplex 10 MB speed Value 3 Half duplex 100 MB speed Value 4 Full duplex 100 MB speed Value 0 Auto negotiate Auto negotiate is the default value for backward compatibility This feature is not implemented in older software revisions 2 1 4 MNET Client x This section defines general configuration for the MNET Client Master Error Status Pointer 1 to 4990 Starting regist...

Page 57: ...s from a remote Client when it is moving 32 bit floating point data If the remote Client expects to receive or will send one complete 32 bit floating point value for each count of one 1 then set this parameter to YES When set to YES the Server driver will return values from two consecutive 16 bit internal memory registers 32 total bits for each count in the read command or receive 32 bits per coun...

Page 58: ...is parameter specifies the number of 100 millisecond intervals to turn off a command in the error list after an error is recognized for the command If this parameter is set to 0 there will be no delay 2 1 5 MNET Client x Commands The MNET Client x Commands section of the configuration sets the Modbus TCP IP Client command list This command list polls Modbus TCP IP server devices attached to the Mo...

Page 59: ...ands The command list is processed from top command 1 to bottom A poll interval parameter is associated with each command to specify a minimum delay time in tenths of a second between the issuances of a command If the user specifies a value of 10 for the parameter the command will be executed no more frequently than every 1 second Write commands have a special feature as they can be set to execute...

Page 60: ...ead Input 1x Register Code Register 1 10th Seconds Word Count Code IP Address Port Address Read Holding Registers 4x Register Code Register 1 10th Seconds Word Count 0 IP Address Port Address Read Input Registers 3x Register Code 1 bit 1 10th Seconds Bit Count 0 IP Address Port Address Force Write Single Coil 0x Register Code 1 bit 1 10th Seconds Word Count 0 IP Address Port Address Preset Write S...

Page 61: ...is valid only for write commands Internal Address 0 to 4999 for word level addressing or 0 to 65535 for bit level addressing This field specifies the database address in the module s internal database to use as the destination for data brought in by a read command or as the source for data to be sent out by a write command The database address is interpreted as a bit address or a 16 bit word regis...

Page 62: ...rs store and transmit multi byte data in different combinations This parameter is helpful when dealing with floating point or other multi byte values as there is no one standard method of storing these data types The parameter can be set to rearrange the byte order of data received or sent into an order more useful or convenient for other applications The following table defines the valid Swap Cod...

Page 63: ...TCP IP device Note Most Modbus devices accept an address in the range of only 1 to 247 so check with the slave device manufacturer to see if a particular slave can use addresses 248 to 255 If the value is set to zero the command will be a broadcast message on the network The Modbus protocol permits broadcast commands for write operations Do not use node address 0 for read operations Modbus Functio...

Page 64: ...el Input Status data Function Code 2 30001 or 300001 3x0001 for Input Register data Function Code 4 40001 or 400001 4x0001 for Holding Register data Function Codes 3 6 and 16 Address calculation examples For bit level Coil commands FC 1 5 or 15 to read or write a Coil 0X address 00001 specify a value of 0 00001 00001 0 For Coil address 00115 specify 114 00115 00001 114 For register read or write c...

Page 65: ...eceive or will send one complete 32 bit floating point value for each count of one 1 then set this parameter to YES When set to YES the Server driver will return values from two consecutive 16 bit internal memory registers 32 total bits for each count in the read command or receive 32 bits per count from the Client for write commands Example Count 10 Server driver will send 20 16 bit registers for...

Page 66: ...en a value greater than 0 is set For example if the Output Offset value is set to 3000 data requests for Modbus Coil Register address 00001 will use the internal database register 3000 bit 0 If the Output Offset value is set to 3000 data requests for Modbus Coil register address 00016 will use the internal database register 3000 bit 15 Function codes affected are 1 5 and 15 Bit Input Offset 0 to 4...

Page 67: ...ired The module will accept up to 40 static IP MAC address data sets Use the Static ARP table to reduce the amount of network traffic by specifying IP addresses and their associated MAC hardware addresses that the MVI56E MNETR module will be communicating with regularly Important If the device in the field is changed this table must be updated to contain the new MAC address for the device and down...

Page 68: ...o configure the Ethernet settings for your module You must assign an IP address subnet mask and gateway address After you complete this step you can connect to the module with an Ethernet cable 1 Determine the network settings for your module with the help of your network administrator if necessary You will need the following information o IP address fixed IP required _____ _____ _____ _____ o Sub...

Page 69: ... the MVI56E MNETR module 2 Open the PROJECT menu and then choose MODULE DOWNLOAD This action opens the Download dialog box Notice that the Ethernet address field contains the temporary IP address you assigned in the previous step ProSoft Configuration Builder will use this temporary IP address to connect to the module Click TEST CONNECTION to verify that the temporary IP address is correct 3 If th...

Page 70: ... of 175 ProSoft Technology Inc June 14 2011 2 On the Download dialog box click BROWSE DEVICES to open ProSoft Discovery Service 3 Select the module and then click the right mouse button to open a shortcut menu On the shortcut menu choose SELECT FOR PCB 4 Close ProSoft Discovery Service 5 Click DOWNLOAD to transfer the configuration to the module ...

Page 71: ...le This allows you to configure the MVI56E MNETR network settings and view module diagnostics from a PC RSLinx is not required when you use CIPconnect All you need are The IP addresses and slot numbers of any 1756 ENBT modules in the path The slot number of the MVI56E MNETR in the destination ControlLogix chassis the last ENBTx and chassis in the path To use CIPconnect follow these steps 1 In the ...

Page 72: ...e last rack 1756 CNB or 1756 ENBT Source Module IP Address IP address of the source module only applicable for 1756 ENBT Source Module Node Address Node address of the source module only applicable for 1756 CNB Destination Module Select the destination module associated to the source module in the rack The connection between the source and destination modules is performed through the backplane Des...

Page 73: ...hnology Inc Page 73 of 175 June 14 2011 2 3 1 Example 1 Local Rack Application For this example the MVI56E MNETR module is located in the same rack as the 1756 ENBT that is connected to the PC Rack 1 Slot Module Network Address 0 ControlLogix Processor 1 Any 2 MVI56E MNETR 3 1756 ENBT IP 192 168 0 100 1 In the Download dialog box click CIP PATH EDIT ...

Page 74: ...educed Data Block Page 74 of 175 ProSoft Technology Inc June 14 2011 2 Configure the path as shown in the following illustration and click CONSTRUCT CIP PATH to build the path in text format Click OK to close the CIPconnect Path Editor and return to the Download dialog box 3 Check the new path in the Download dialog box ...

Page 75: ... User Manual ProSoft Technology Inc Page 75 of 175 June 14 2011 4 Click TEST CONNECTION to verify that the physical path is available The following message should be displayed upon success 5 Click OK to close the Test Connection pop up and then click DOWNLOAD to download the configuration files to the module through the path ...

Page 76: ... 2 3 2 Example 2 Remote Rack Application For this example the MVI56E MNETR module is located in a remote rack accessible through ControlNet as shown in the following illustration Rack 1 Slot Module Network Address 0 ControlLogix Processor 1 1756 CNB Node 1 2 1756 ENBT IP 192 168 0 100 3 Any Rack 2 Slot Module Network Address 0 Any 1 Any 2 Any 3 Any 4 Any 5 1756 CNB Node 2 6 MVI56E MNETR ...

Page 77: ...Block User Manual ProSoft Technology Inc Page 77 of 175 June 14 2011 1 In the Download dialog box click CIP PATH EDIT 2 Configure the path as shown in the following illustration and click CONSTRUCT CIP PATH to build the path in text format Click OK to close the CIPconnect Path Editor and return to the Download dialog box ...

Page 78: ...uced Data Block Page 78 of 175 ProSoft Technology Inc June 14 2011 3 Check the new path in the Download dialog box 4 Click TEST CONNECTION to verify that the physical path is available The following message should be displayed upon success 5 Click DOWNLOAD to download the configuration files to the module through the path ...

Page 79: ...and the processor The ladder logic handles tasks such as Module backplane data transfer Special block handling Status data receipt Additionally a power up handler may be needed to initialize the module s database and may clear some processor fault conditions The sample Import Rung with Add On Instruction is extensively commented to provide information on the purpose and function of each user defin...

Page 80: ...ect Name Data Type Description DATA MNETRDATA page 81 These objects hold data to be transferred between the processor and the MVI56E MNETR module STATUS MNETRSTATUS page 82 This object views the status of the module CONTROL MNETRCONTROL page 84 This object contains the data structure required for the processor to request special tasks from the module UTIL MNETRUTIL page 87 This data object stores ...

Page 81: ...file For ease of use this array should be dimensioned as an even increment of 40 words This data is paged up to 50 words at a time from the module to the processor The ReadData task places the data received into the proper position in the read data array Use this data for status and control in the ladder logic of the processor The write data WRITEDATA is an array set to match the value entered in ...

Page 82: ...rocessor and the module Reserved1 INT Reserved for future use Reserved2 INT Reserved for future use MNETReq INT The number of MNET Port 2000 requests received MNETResp INT The number of MNET Port 2000 responses sent MBAPReq INT The number of MBAP Port 502 requests received MBAPResp INT The number of MBAP Port 502 responses sent ClientStatus MNETRCLIENTSTATS page 83 Client Status Data MNETRBLOCKSTA...

Page 83: ...CmdReq INT Total number of command list requests sent CmdResp INT Total number of command list responses received CmdErr INT Total number of command list errors Requests INT Total number of requests for port Responses INT Total number of responses for port ErrSent INT Total number of errors sent ErrRec INT Total number of errors received CfgErrWord INT Configuration Error Word CurErr INT Current E...

Page 84: ... page 85 Controls the execution of the commands listed in the configuration under the MNET Client 0 Commands section PassThru MNETRPASSTHRU page 86 Transfers a remote Client s commands through the MNETR Module straight into the Processor s Controller tags IPAddress MNETIPADDRESS page 86 Getting and Setting IP address to and from Module MNETREVENTCMD The MNETREVENTCMD structure holds the informatio...

Page 85: ...der to enable commands 0 2 and 5 the following values would be set MNETR CONTROL CMDCONTROL CMDINDEX 0 3 MNETR CONTROL CMDCONTROL CMDINDEX 1 0 MNETR CONTROL CMDCONTROL CMDINDEX 2 2 MNETR CONTROL CMDCONTROL CMDINDEX 3 5 The module will receive this block and build and send the command to the specified control device using a MSG block The following table describes the data for the command element in...

Page 86: ...s functions 6 and 16 Additionally formatted message blocks can be sent from the module to the processor when the pass through option is selected using the format selection codes 2 or 3 in the MNET CFG file These blocks require less decoding than the unformatted blocks Refer to the user manual for a full discussion on utilizing the pass through option in an application The following table describes...

Page 87: ...le ReadDataSizeGet INT Gets ReadData Array Length WriteDataSizeGet INT Gets WriteData Array Length ReadDataBlkCount INT Holds the value of the Block Counts of the Read Data Array Array Size is divided by 40 WriteDataBlkCount INT Holds the value of the Block Counts of the Write Data Array Array Size is divided by 40 RBTSremainder INT Holds remainder calculation value from the read array WBTSremaind...

Page 88: ...ger Output Data Initialization InitializeOutputData INT Quantity of Blocks 200 words of ReadData for the module to read from the PLC 0 to 24 means a qty of 1 to 25 RetInitOutData INT 200 Returned Initialization output data TriggerInitOutPending BOOL Set after the ladder has sent an event cmd to the module and is waiting for the status to be returned RetInitOutDataBlkID INT Returned Block ID for Re...

Page 89: ... identification code of 9996 if the unformatted pass through mode code 1 is selected as the pass through mode in the configuration file Word one of this block contains the length of the message and the message starts at word 3 Other controller tags are required to store the controlled values contained in these messages The Modbus protocol supports control of binary output coils functions 5 and 15 ...

Page 90: ...Ladder Logic MVI56E MNETR ControlLogix Platform User Manual Modbus TCP IP Interface Module with Reduced Data Block Page 90 of 175 ProSoft Technology Inc June 14 2011 ...

Page 91: ...ng Database Information 99 Monitoring MNET Client Information 100 Monitoring MNET Server Information 101 LED Status Indicators 102 Client Configuration Error Word 105 Clearing a Fault Condition 106 Troubleshooting 107 The module provides information on diagnostics and troubleshooting in the following forms LED status indicators on the front of the module provide information on the module s status ...

Page 92: ...a is located in the module s database at a location specified by the Error Status Pointer configuration parameter This data is transferred to the ControlLogix processor continuously The Configuration Debug port provides the following functionality Full view of the module s configuration data View of the module s status data Complete display of the module s internal database registers 0 to 4999 Ver...

Page 93: ...nfiguration port for this module is arranged as a tree structure with the Main menu at the top of the tree and one or more submenus for each menu command The first menu you see when you connect to the module is the Main menu 4 2 1 Using the Diagnostics Menu in ProSoft Configuration Builder To connect to the module s Configuration Debug Ethernet port 1 In ProSoft Configuration Builder select the mo...

Page 94: ... Interface Module with Reduced Data Block Page 94 of 175 ProSoft Technology Inc June 14 2011 2 On the shortcut menu choose DIAGNOSTICS This action opens the Diagnostics dialog box If there is no response from the module 1 Click the SET UP CONNECTION button to browse for the module s IP address ...

Page 95: ...nc Page 95 of 175 June 14 2011 2 In the Connection Setup dialog box click the TEST CONNECTION button to verify if the module is accessible with the current settings You can also use CIPconnect to connect to the module through a 1756 ENBT card Refer to Using CIPconnect to Connect to the Module page 71 page 24 for information on how to construct a CIP path ...

Page 96: ...covery Service Select the module then right click and choose SELECT FOR PCB Close ProSoft Discovery Service and click the CONNECT button again 4 If all of these troubleshooting steps fail verify that the Ethernet cable is connected properly between your computer and the module either through a hub or switch using the grey cable or directly between your computer and the module using the red cable I...

Page 97: ...VI56E MNETR module The information on this menu corresponds with the configuration information in the Module settings in ProSoft Configuration Builder 4 3 3 NIC Status Use the NIC Status Network Interface Card menu to view configuration and status information for the MVI56E MNETR module s Ethernet application port The information on this menu is useful for troubleshooting Ethernet network connecti...

Page 98: ... to view current backplane status including Number of retries Backplane status Fail count Number of words read Number of words written Number of words parsed Error count Event count Command count During normal operation the read write and parsing values should increment continuously while the error value should not increment The status values on this menu correspond with the members of the MVI56E ...

Page 99: ...4 2011 4 5 Monitoring Database Information Use the DATABASE menu to view the contents of the MVI56E MNETR module s internal database The data locations on this menu corresponds with the MVI56E MNETR Database Definition You can view data in the following formats ASCII Decimal Float Hexadecimal Use the scroll bar on the right edge of the window to view each page 100 words of data ...

Page 100: ...ration Builder Use the scroll bar on the right edge of the window to view each MNET Client command 4 6 2 Command Status Use the Command Status menu to view MNET Client x Command status A zero indicates no error A non zero value indicates an error Refer to Client Command Errors page 128 for an explanation of each value 4 6 3 Config Use the Configuration menu to view configuration settings for MNET ...

Page 101: ...the MNET server 4 7 1 Config Use the Configuration menu to view configuration settings for MNET servers connected to the MNET Client The information on this menu corresponds with the configuration information in the MNET Servers settings in ProSoft Configuration Builder page 65 4 7 2 Status Use the Status menu to view the status of each MNET server connected to the MNET Client 0 During normal oper...

Page 102: ...le date and time through the module s web page or with the optional MVI56E Advanced Add On Instruction C0 Client CmdCnt X MinDly X CmdOffs X RespTmout X Retries X ErrOffs X ARPTmout X ErrDelay X FltFlag X FltSt X FltOffs X SVR server BIOffs X WIOffs X OutOffs X HoldOffs X FltFlag X FltSt X FltSt X CommTmout X After power up and every reconfiguration the module will display the configuration of the...

Page 103: ... Processor faulted or is in program mode IP Address Module IP address C0 OK Port is communicating without error Communication Errors port is having communication errors Refer to Diagnostics and Troubleshooting page 91 for further information about the error 4 8 2 Ethernet LED Indicators The Ethernet LEDs indicate the module s Ethernet port status as follows LED State Description Data OFF Ethernet ...

Page 104: ...s detected a communication error during operation of an application port The following conditions may also cause a RED LED The firmware is initializing during startup The firmware detects an on board hardware problem during startup Failure of application port hardware during startup The module is shutting down The module is rebooting due to a ColdBoot or WarmBoot request from the ladder logic or D...

Page 105: ...valid retry count parameter 0x0010 5 The float flag parameter is not valid 0x0020 6 The float start parameter is not valid 0x0040 7 The float offset parameter is not valid 0x0080 8 The ARP Timeout is not in range ARP Timeout parameter 0 or greater than 60000 milliseconds and will default to 5000 milliseconds 0x0100 9 The Command Error Delay is 300 and will default to 300 0x0200 10 0x0400 11 0x0800...

Page 106: ... To clear the condition follow these steps 1 Turn off power to the rack 2 Remove the card from the rack 3 Verify that all jumpers are set correctly 4 If the module requires a Compact Flash card verify that the card is installed correctly 5 Re insert the card in the rack and turn the power back on 6 Verify correct configuration data is being transferred to the module from the ControlLogix controlle...

Page 107: ...O module not just the MVI56E MNETR Verify that all modules in the rack are correctly configured in the ladder logic Module Errors Problem Description Steps to take MVI56E modules with scrolling LED display Backplane Status condition reads ERR This indicates that backplane transfer operations are failing Connect to the module s Configuration Debug port to check this To establish backplane communica...

Page 108: ...Diagnostics and Troubleshooting MVI56E MNETR ControlLogix Platform User Manual Modbus TCP IP Interface Module with Reduced Data Block Page 108 of 175 ProSoft Technology Inc June 14 2011 ...

Page 109: ...nc Page 109 of 175 June 14 2011 5 Reference In This Chapter Product Specifications 110 Functional Overview 112 Ethernet Cable Specifications 130 Status Data Definition 131 Modbus Protocol Specification 132 Using the Optional Add On Instruction Rung Import 146 Adding the Module to an Existing Project 155 Using the Sample Program 158 ...

Page 110: ...s 5 1 1 General Specifications Reduced I O image size designed specifically to optimize remote rack implementations Backward compatible with previous MVI56 MNETR versions Single slot 1756 ControlLogix backplane compatible 10 100 Mbps auto crossover detection Ethernet configuration and application port User definable module data memory mapping of up to 5000 16 bit registers CIPconnect enabled netwo...

Page 111: ...cuting special functions command control event commands etc are supported in ladder logic by special block transfer codes 5 1 3 Hardware Specifications Specification Description Backplane Current Load 800 mA 5 Vdc 3 mA 24 Vdc Operating Temperature 0 C to 60 C 32 F to 140 F Storage Temperature 40 C to 85 C 40 F to 185 F Shock 30 g operational 50 g non operational Vibration 5 g from 10 to 150 Hz Rel...

Page 112: ...server Aside from the benefits of Ethernet versus serial communications including performance distance and flexibility for industrial networks the MODBUS TCP IP protocol allows for remote administration and control of devices over a TCP IP network The efficiency scalability and low cost of a MODBUS TCP IP network make this an ideal solution for industrial applications The MVI56E MNETR module acts ...

Page 113: ...c The input image for the module is set to 42 words This data is transferred in the scheduled I O timeslot The processor inserts data to the module s output image to transfer to the module The module s program extracts the data and places it in the module s internal database The output image for the module is set to 42 words This data is transferred in the scheduled I O timeslot The following illu...

Page 114: ...Control 9956 Formatted pass through block from function 6 or 16 with word data 9957 Formatted pass through block from function 6 or 16 with floating point data 9958 Formatted pass through block from function 5 9959 Formatted pass through block from function 15 9960 Formatted pass through block from function 22 9961 Formatted pass through block from function 23 9970 Function 99 indication block 999...

Page 115: ...ent Status Data Word Offset Client Status 3 Total number of command list requests 4 Total number of command list responses 5 Total number of command list errors 6 Total number of requests of slave 7 Total number of responses 8 Total number of errors sent 9 Total number of errors received 10 Configuration Error Word 11 Current Error 12 Last Error Block Request from Processor to Module These blocks ...

Page 116: ...D associated with the block requests data from the ControlLogix processor Under normal program operation the module sequentially sends read blocks and requests write blocks For example if the application uses three read and two write blocks the sequence will be as follows R1W1 R2W2 R3W1 R1W2 R2W1 R3W2 R1W1 This sequence will continue until interrupted by other write block numbers sent by the contr...

Page 117: ...g table describes the structure of the response block Offset Description Length 0 1000 to 1124 1 1 to 40 Output Data to preset in module 40 41 Spare 1 Special Function Blocks Special function blocks are optional blocks used to request special tasks from the module Note Event Commands and Command Control are not needed for normal Modbus command list polling operations and are needed only occasional...

Page 118: ...will generate a Modbus command message encapsulated in a TCP IP packet The Internal DB Address parameter specifies the module s database location to associate with the command The Point Count parameter defines the number of points or registers for the command The Swap Code is used with Modbus functions 3 and 4 requests to change the word or byte order The Modbus Function Code has one of the follow...

Page 119: ...in the module to use with the command This word can contain a value from 0 to 4999 8 This word contains the count parameter that determines the number of digital points or registers to associate with the command 9 The parameter specifies the swap type for the data This function is only valid for function codes 3 and 4 10 This word contains the Modbus function code for the command 11 This word cont...

Page 120: ...sing this feature These commands can then be executed using the command control blocks One to six commands can be placed in the command queue with a single request The following table describes the format for this block Offset Description Length 0 5001 to 5006 1 1 Command index 1 2 Command index 1 3 Command index 1 4 Command index 1 5 Command index 1 6 Command index 1 7 to 41 Spare 35 The last dig...

Page 121: ... IP Set Response Read Block Offset Description Length 0 0 1 1 Write Block ID 1 2 First digit of dotted IP address 1 3 Second digit of dotted IP address 1 4 Third digit of dotted IP address 1 5 Last digit of dotted IP address 1 6 to 41 Spare data area 35 Block 9991 Get Module IP Address IP Get Request Write Block Offset Description Length 0 9991 1 1 to 41 Spare data area 40 IP Get Response Read Blo...

Page 122: ... to 41 Spare 41 Pass Through Control Blocks If the module is set for pass through operation by placing a value of 1 to 3 in the configuration file parameter Pass Through Mode the module will send special blocks to the module when a write request is received from a client Any Modbus function 5 6 15 or 16 commands will be passed from the server to the processor using this block identification number...

Page 123: ...elected If code 2 is utilized no swap the data received in the message is presented in the order received by the module If code 3 is utilized swap mode the bytes in the data area of the message will be swapped This selection is applied to all received write requests The block identification code used with the request depends on the Modbus function requested Block 9956 passes word type data for fun...

Page 124: ...41 9959 1 Formatted Pass Through Command Blocks Read Block Offset Description Length 0 9970 1 1 1 1 2 0 1 3 to 40 Spare data area 38 41 9996 1 The ladder logic should copy and parse the received message and control the processor as expected by the master device The processor must respond to the formatted pass through control blocks with a write block The following tables describe the format of the...

Page 125: ...fferent operating modes The module has both server and Client capability The servers accept TCP IP connections on service ports 502 MBAP 10 server connections and 2000 MNET 10 server connections The Client can generate either MBAP or MNET requests dependent on the service port selected in the command The following topics discuss the operation of the server and Client drivers Server Driver The Serv...

Page 126: ...ocessor and is not written to the module s database 4 When the data processing has been completed in Step 3 the response is issued to the originating Client node 5 Counters are available in the Status Block that permit the ladder logic program to determine the level of activity of the Server Driver After the server socket is open it must receive messages within a one minute period or else it will ...

Page 127: ...urned to the processor for each individual command in the command list status block The location of this status block in the module s internal database is user defined The following flowchart describes the flow of data into and out of the module 1 The Client driver obtains configuration data when the module restarts This includes the timeout parameters and the Command List These values are used by...

Page 128: ...sabled o 1 continuous o 2 conditional IP address and service port to connect to on the remote server Slave Node Address Command Type Read or Write up to 100 words per command Database Source and Destination Register Address Determines where data will be placed and or obtained Count Select the number of words to be transferred 1 to 100 Poll Delay 1 10th seconds Client Command Errors You can use the...

Page 129: ...6 MNET command response timeout 37 TCP IP connection ended before session finished Command List Entry Errors Code Description 40 Too few parameters 41 Invalid enable code 42 Internal address maximum address 43 Invalid node address 0 or 255 44 Count parameter set to 0 45 Invalid function code 46 Invalid swap code 47 ARP could not resolve MAC from IP bad IP address not part of a network invalid para...

Page 130: ...tors Some hubs have one input that can accept either a straight through or crossover cable depending on a switch position In this case you must ensure that the switch position and cable type agree Refer to Ethernet cable configuration page 130 for a diagram of how to configure Ethernet cable 5 3 1 Ethernet Cable Configuration Note The standard connector view shown is color coded for a straight thr...

Page 131: ...d by the module Reserved1 Not used Reserved2 Not used MNet Request Count This counter increments each time a MNet port 2000 request is received MNet Response Count This counter is incremented each time a MNet port 2000 response message is sent MBAP Request Count This counter increments each time a MBAP port 502 request is received MBAP Response Count This counter is incremented each time a MBAP po...

Page 132: ...he following table lists the functions supported by the module Function Code Definition Supported in Client Supported in Server 1 Read Coil Status X X 2 Read Input Status X X 3 Read Holding Registers X X 4 Read Input Registers X X 5 Set Single Coil X X 6 Single Register Write X X 7 Read Exception Status X 8 Diagnostics X 15 Multiple Coil Write X X 16 Multiple Register Write X X 22 Mask Write 4X X ...

Page 133: ...ta Start Pt Lo Data Of Pts Ho Data Of Pts Lo Error Check Field 11 01 00 13 00 25 CRC Response An example response to Read Coil Status is as shown in Figure C2 The data is packed one bit for each coil The response includes the Server address function code quantity of data characters the data characters and error checking Data will be packed with one bit for each coil 1 ON 0 OFF The low order bit of...

Page 134: ... input 10001 zero input 10002 one input 10003 two and so on for a 584 The following table is a sample read input status request to read inputs 10197 to 10218 from Server number 11 Adr Func Data Start Pt Hi Data Start Pt Lo Data of Pts Hi Data of Pts Lo Error Check Field 11 02 00 C4 00 16 CRC Response An example response to Read Input Status is as shown in Figure C4 The data is packed one bit for e...

Page 135: ...isters are numbered form zero 40001 zero 40002 one and so on The broadcast mode is not allowed The example below reads registers 40108 through 40110 from Server 584 number 11 Adr Func Data Start Reg Hi Data Start Reg Lo Data of Regs Hi Data of Regs Lo Error Check Field 11 03 00 6B 00 03 CRC Response The addressed Server responds with its address and the function code followed by the information fi...

Page 136: ...g Hi Data Start Reg Lo Data of Regs Hi Data of Regs Lo Error Check Field 11 04 00 08 00 01 CRC Response The addressed Server responds with its address and the function code followed by the information field The information field contains 1 byte describing the quantity of data bytes to be returned The contents of the registers requested DATA are 2 bytes each with the binary content right justified ...

Page 137: ...s a request to Server number 11 to turn ON coil 0173 Adr Func Data Coil Hi Data Coil Lo Data On off Ind Data Error Check Field 11 05 00 AC FF 00 CRC Response The normal response to the Command Request is to re transmit the message as received after the coil state has been altered Adr Func Data Coil Hi Data Coil Lo Data On Off Data Error Check Field 11 05 00 AC FF 00 CRC The forcing of a coil via M...

Page 138: ...The values are provided in binary up to the maximum capacity of the controller unused high order bits must be set to zero When used with Server address zero Broadcast mode all Server controllers will load the specified register with the contents specified Note Functions 5 6 15 and 16 are the only messages that will be recognized as valid for broadcast Adr Func Data Start Reg Hi Data Start Reg Lo D...

Page 139: ... in some remote devices A server device can however be forced into Listen Only Mode in which it will monitor the messages on the communications system but not respond to them This can affect the outcome of your application program if it depends upon any further exchange of data with the remote device Generally the mode is forced to remove a malfunctioning remote device from the communications syst...

Page 140: ...ser Manual Modbus TCP IP Interface Module with Reduced Data Block Page 140 of 175 ProSoft Technology Inc June 14 2011 The data fields in responses to other kinds of queries could contain error counts or other data requested by the sub function code ...

Page 141: ...ions 5 6 15 and 16 are the only messages other than Loopback Diagnostic Test that will be recognized as valid for broadcast The following example forces 10 coils starting at address 20 13 HEX The two data fields CD 1100 and 00 0000 000 indicate that coils 27 26 23 22 and 20 are to be forced on Adr Func Hi Add Lo Add Quantity Byte Cnt Data Coil Status 20 to 27 Data Coil Status 28 to 29 Error Check ...

Page 142: ...ny holding register at any time The values are provided in binary up to the maximum capacity of the controller 16 bit for the 184 384 and 584 unused high order bits must be set to zero Note Function codes 5 6 15 and 16 are the only messages that will be recognized as valid for broadcast Adr Func Hi Add Lo Add Quantity Byte Cnt Hi Data Lo Data Hi Data Lo Data Error Check Field 11 10 00 87 00 02 04 ...

Page 143: ...al response the server echoes the function code of the original request in the function code field of the response All function codes have a most significant bit MSB of 0 their values are all below 80 hexadecimal In an exception response the server sets the MSB of the function code to 1 This makes the function code value in an exception response exactly 80 hexadecimal higher than the value would b...

Page 144: ...fically does not mean that a data item submitted for storage in a register has a value outside the expectation of the application program because the Modbus protocol is unaware of the significance of any particular value of any particular register 04 Slave Device Failure An unrecoverable error occurred while the Server was attempting to perform the requested action 05 Acknowledge Specialized use i...

Page 145: ...lock User Manual ProSoft Technology Inc Page 145 of 175 June 14 2011 Code Name Meaning 0b Gateway Target Device Failed To Respond Specialized use in conjunction with gateways indicates that no response was obtained from the target device Usually means that the device is not present on the network ...

Page 146: ...tion Allows the processor to read or write the module IP address netmask and gateway values Note This is an optional feature You can perform the same task through PCB ProSoft Configuration Builder Even if your PC is in a different network group you can still access the module through PCB by setting a temporary IP address Read Write Module Clock Value Allows the processor to read and write the modu...

Page 147: ...Technology Inc Page 147 of 175 June 14 2011 5 6 3 Installing the Rung Import with Optional Add On Instruction 1 Right click on an empty rung in the main routine of your existing ladder logic and choose IMPORT RUNG 2 Navigate to the folder where you saved MVI56 E MNETR_Optional_AddOn_Rung_ version L5X and select the file ...

Page 148: ... Reduced Data Block Page 148 of 175 ProSoft Technology Inc June 14 2011 3 In the IMPORT CONFIGURATION window click OK The Add On Instruction will be now visible in the ladder logic Observe that the procedure has also imported data types and controller tags associated to the Add On Instruction ...

Page 149: ...hnology Inc Page 149 of 175 June 14 2011 You will notice that new tags have been imported four MESSAGE tags MVI56MNETRCLOCK and MVI56MNETRETHERNET tags 4 In the Add On Instruction click the button next to each MSG tag to open the MESSAGE CONFIGURATION TAG 5 Click the COMMUNICATION tab and click the BROWSE button as follows ...

Page 150: ...e Module with Reduced Data Block Page 150 of 175 ProSoft Technology Inc June 14 2011 6 Select the module to configure the message path 5 6 4 Reading the Ethernet Settings from the Module Expand the MVI56MNETRETHERNET controller tag and move a value of 1 to MVI56MNETRETHERNET READ ...

Page 151: ...Reduced Data Block User Manual ProSoft Technology Inc Page 151 of 175 June 14 2011 The bit will be automatically reset and the current Ethernet settings will be copied to MVI56MNETRETHERNET controller tag as follows To check the status of the message refer to the READETHERNETMSG tag ...

Page 152: ...14 2011 5 6 5 Writing the Ethernet Settings to the Module Expand the MVI56EMNETRETHERNET controller tag Set the new Ethernet configuration in MVI56EMNETRETHERNET CONFIG Move a value of 1 to MVI56MNETRETHERNET WRITE After the message is executed the MVI56MNETRETHERNET WRITE bit resets to 0 To check the status of the message refer to the WRITEETHERNETMSG tag ...

Page 153: ... 175 June 14 2011 5 6 6 Reading the Clock Value from the Module Expand the MVI56MNETRCLOCK controller tag and move a value of 1 to MVI56MNETRCLOCK READ The bit will be automatically reset and the current clock value will be copied to MVI56MNETRCLOCK CONFIG controller tag as follows To check the status of the message refer to the READCLOCKMSG tag ...

Page 154: ...175 ProSoft Technology Inc June 14 2011 5 6 7 Writing the Clock Value to the Module Expand the MVI56MNETRCLOCK controller tag Set the new Clock value in MVI56MNETRCLOCK CONFIG Move a value of 1 to MVI56MNETRCLOCK WRITE The bit will be automatically reset to 0 To check the status of the message refer to the WRITECLOCKMSG tag ...

Page 155: ...ge 155 of 175 June 14 2011 5 7 Adding the Module to an Existing Project 1 Add the MVI56E MNETR module to the project Select the I O CONFIGURATION folder in the CONTROLLER ORGANIZATION window and then click the right mouse button to open a shortcut menu On the shortcut menu choose NEW MODULE This action opens the SELECT MODULE dialog box ...

Page 156: ...escription for the module Example Modbus TCP IP Interface Module with Reduced Data Block Comm Format Select DATA INT Very Important Slot Enter the slot number in the rack where the MVI56E MNETR module will be installed Input Assembly Instance 1 Input Size 42 Output Assembly Instance 2 Output Size 42 Configuration Assembly Instance 4 Configuration Size 0 Enter the Name Description and Slot options ...

Page 157: ...ts This value should not be set to less than 1 millisecond The default value is 5 milliseconds Values between 1 and 10 milliseconds should work with most applications 3 Save the module Click OK to dismiss the dialog box The CONTROLLER ORGANIZATION window now displays the module s presence 4 Copy the Controller Tags from the sample program 5 Copy the User Defined Data Types from the sample program ...

Page 158: ...e You can always download the latest version of the sample ladder logic and user manuals for the MVI56E MNETR module from the ProSoft Technology website at www prosoft technology com support downloads http www prosoft technology com support downloads From that link navigate to the download page for your module and choose the sample program to download for your version of RSLogix 5000 and your proc...

Page 159: ...his tab shows information about the processor including the Revision firmware version In the following illustration the firmware version is 11 32 6 Select the sample ladder logic file for your firmware version To open the sample program 1 On the Connected to Go Online dialog box click the SELECT FILE button 2 Choose the sample program file that matches your firmware version and then click the SELE...

Page 160: ...e the correct processor model 1 In the Controller Organization list select the folder for the controller and then click the right mouse button to open a shortcut menu 2 On the shortcut menu choose PROPERTIES This action opens the Controller Properties dialog box 3 Click the CHANGE TYPE or CHANGE CONTROLLER button This action opens the Change Controller dialog box 4 Open the TYPE dropdown list and ...

Page 161: ...at program tags and variables are correct and do not conflict with other modules in the rack To change the slot number 1 In the Controller Organization list select the module and then click the right mouse button to open a shortcut menu 2 On the shortcut menu choose PROPERTIES This action opens the Module Properties dialog box 3 In the SLOT field use the up and down arrows on the right side of the...

Page 162: ...en the COMMUNICATIONS menu and then choose DOWNLOAD RSLogix will establish communication with the processor 2 When communication is established RSLogix will open a confirmation dialog box Click the DOWNLOAD button to transfer the sample program to the processor 3 RSLogix will compile the program and transfer it to the processor This process may take a few minutes 4 When the download is complete RS...

Page 163: ...ase gather the following information to assist in expediting this process 1 Product Version Number 2 System architecture 3 Network details If the issue is hardware related we will also need information regarding 1 Module configuration and associated ladder files if any 2 Module operation and any unusual behavior 3 Configuration Debug status information 4 LED patterns 5 Details about the serial Eth...

Page 164: ...Latin America location in Puebla Mexico Tel 52 222 3 99 6565 E mail soporte prosoft technology com Languages spoken include Spanish Brasil location in Sao Paulo Tel 55 11 5083 3776 E mail brasil prosoft technology com Languages spoken include Portuguese English Internet Web Site www prosoft technology com support E mail address support prosoft technology com Asia Pacific location in Malaysia Tel 6...

Page 165: ... or equivalent to the location specified by ProSoft Technology and be accompanied by proof of purchase and receipt date The RMA number is to be prominently marked on the outside of the shipping box Customer agrees to insure the Product or assume the risk of loss or damage in transit Products shipped to ProSoft Technology using a shipment method other than that specified by ProSoft Technology or sh...

Page 166: ...order will be required or authorization to use the purchase order submitted for evaluation fee The following is a list of non repairable units o 3150 All o 3750 o 3600 All o 3700 o 3170 All o 3250 o 1560 Can be repaired only if defect is the power supply o 1550 Can be repaired only if defect is the power supply o 3350 o 3300 o 1500 All 6 2 LIMITED WARRANTY This Limited Warranty Warranty governs al...

Page 167: ...Product to conform to specifications or any defect in material or workmanship of the Product with either new or remanufactured replacement parts ProSoft reserves the right and at its sole discretion may replace unrepairable units with new or remanufactured equipment All replacement units will be covered under warranty for the 3 year period commencing from the date of original equipment purchase no...

Page 168: ...ny form without prior written consent from ProSoft 6 2 3 Disclaimer Regarding High Risk Activities Product manufactured or supplied by ProSoft is not fault tolerant and is not designed manufactured or intended for use in hazardous environments requiring fail safe performance including and without limitation the operation of nuclear facilities aircraft navigation of communication systems air traffi...

Page 169: ...ssly permitted in any license agreement accompanying such software transfer software to a third party separately from the Product modify alter translate decode decompile disassemble reverse engineer or otherwise attempt to derive the source code of the software or create derivative works based on the software export the software or underlying technology in contravention of applicable US and intern...

Page 170: ...This Warranty gives you specific legal rights and you may also have other rights which vary from place to place 6 2 7 Time Limit for Bringing Suit Any action for breach of warranty must be commenced within 39 months following shipment of the Product 6 2 8 No Other Warranties Unless modified in writing and signed by both parties this Warranty is understood to be the complete and exclusive agreement...

Page 171: ...s and the domestic laws of the State of California without reference to its conflicts of law provisions If for any reason a court of competent jurisdiction finds any provisions of this Warranty or a portion thereof to be unenforceable that provision shall be enforced to the maximum extent permissible and the remainder of this Warranty shall remain in full force and effect Any cause of action with ...

Page 172: ...Support Service Warranty MVI56E MNETR ControlLogix Platform User Manual Modbus TCP IP Interface Module with Reduced Data Block Page 172 of 175 ProSoft Technology Inc June 14 2011 ...

Page 173: ...le 49 Connecting to the Module s Web Page 26 Connecting Your PC to the ControlLogix Processor 47 Connecting Your PC to the Module 18 Contacting Technical Support 163 165 Controlling Law and Severability 171 Create the Module Local Rack 28 33 Create the Module Remote Rack 30 Create the Remote Network 28 33 Creating a New RSLogix 5000 Project 27 D Data Flow between MVI56E MNETR Module and ControlLog...

Page 174: ... No Other Warranties 170 Node IP Address 62 63 Non Scrolling LED Status Indicators 104 Normal Data Transfer Blocks 114 O Opening the Sample Program in RSLogix 158 Output Offset 66 Overview 146 P Package Contents 14 Pass Through Control Blocks 89 122 Pass Through Mode 56 Pinouts 110 111 130 Poll Interval 61 Preset Multiple Registers Function Code 16 142 Preset Single Register Function Code 06 138 P...

Page 175: ...24 95 130 Using CIPconnect to Connect to the Module 71 95 130 Using ProSoft Configuration Builder Software 50 Using the Diagnostics Menu in ProSoft Configuration Builder 93 Using the Optional Add On Instruction Rung Import 146 Using the Sample Program 27 158 V Version 97 W Warm Boot Block 9998 122 What Is Covered By This Warranty 167 169 What Is Not Covered By This Warranty 167 What s New 12 Word ...

Reviews: