Application note

Connecting a Proface HMI

Home > Resources > Application notes > Connecting a Proface HMI


This document is intended to assist the user in setting up their Lexium MDrive to communicate over Modbus TCP/IP to a Pro-face HMI using the Lexium MDrive Software Suite and Pro-face’s GP-Pro EX software. Schneider Electric Motion has also provided an example GP-Pro EX file created using version 3.6 of the GP-Pro EX software.


  • Lexium MDrive


Proface GP-4301TM Modular Display w/ Lexium MDrive Communicating Modbus TCP/IP


Lexium MDrive Setup

  1. Locate the Lexium MDrive Software Suite for download at the below link:
  2. Once installed on your PC, open the Lexium MDrive Software Suite and select “Install Lexium MDrive Ethernet Interface”. This will install the TCP/IP utility within the Lexium MDrive Software Suite for use.
  3. After installing this utility, a green check mark will be placed by the new command button that states “Launch Lexium MDrive Ethernet Interface”. Select the command button with a single mouse-click. You should now see the Ethernet Interface software utility launch.
  4. Select “Refresh” in the upper left hand corner of the screen to insure your “Adapter (NIC)” list is current with your PC settings:
    Ethernet Configuration Utility
    Figure 1: Refresh adapter list
  5. After selecting the proper “Adapter (NIC)” IP address that your PC is set up to communicate with the Lexium MDrive in the drop down box provided, choose the “Select” button to the right of “Refresh” to solidify the selection. You should see a similar recognition as the image below:
    Ethernet Configuration Utility
    Figure 2: Select Adapter (NIC) IP
  6. We now need to physically connect to the motor to insure the application protocol over Ethernet is set for Modbus TCP/IP. To do this, locate the “Connection” area in the upper right hand side of the TCP/IP utility and enter your IP address in the “Connection” box. For a first time Lexium MDrive user, all of our drives come from the factory with an IP address of Once the IP address has been entered, choose “Connect” to the right of the “Connection” box where you entered the device IP address. You should have a similar screen as shown in Figure 3 below:
    Ethernet Configuration Utility
    Figure 3: Select Lexium MDrive IP address
  7. If you are successfully connected to the LMD device you will also see confirmation in the center of the TCP/IP utility at the bottom of the screen. Figure 4 below shows a successful connection between (NIC) and LMD device
    Ethernet Configuration Utility
    Figure 4: Successful connection to the Lexium product
  8. We now are able to read and write values for the connected device to configure it properly in your network. For this example we are going to keep the default IP address of and insure the Ethernet Application Protocol is set to Modbus TCP/IP. By selecting “Read All” in the center of the TCP/IP utility, you can see what has been set in the device you are working with:
    Ethernet Configuration Utility
    Figure 5: Select the Modbus/TCP application protocol
  9. In this case, the motor has already been set to “Modbus/TCP” in the Application Protocol section, and the device IP address has been set to If you wished to make changes, you simply would edit the proper fields, select “Write” (or “Set” for the Application Protocol), and then cycle power to the drive so the updated information can take effect in the device.
  10. Once you have your IP settings and Application Protocol selected, you now can proceed to the Proface GP-Pro EX software to set up your HMI to talk to the LMD device.

HMI Setup

  1. In the “Device/PLC” section of the GP-Pro EX software you need to select the “Schneider Electric-SA” Modbus TCP Master Driver from the pull down list. This is the common Modbus TCP driver created by Pro-face and works for many Modbus based devices, not just Schneider products. See Figure 6 below:
    Proface HMI GP-Pro EX
    Figure 6: Select Modbus/TCP driver
  2. Insure that after selecting the proper Device Driver from above, you set the correct IP Address of the device you wish to talk to over Modbus. This is done right below the Device Driver selection area in the “Device/PLC” section of their project settings. In the attached project I kept the motor default IP address, which is
    Proface HMI GP-Pro EX
    Figure 7: Set the Lexium product’s IP address
  3. Once the IP address is set, you then need to change the “word” values for the holding registers in the “Max Query” section of the “Industrial Device Settings” tab you used to set the IP address. The last two holding register values for “Holding Register (4) Read” and “Holding Register (4) Write” need to be set to “2”. See below:
    Proface HMI GP-Pro EX
    Figure 8: Configure holding register values
  4. Once these communication settings are set, you then can begin to build your project as you see fit. The only other critical piece of information to realize when working with the Pro-face device is that the Proface register mapping starts at a value of “1” and we (Schneider Electric Motion) start at a value of “0”. So when working with our Modbus register map, you just need to add a value of 1 to any starting address for the register you want to access. For example, our slewing command, SL, has an address of 120 in our map. For the Pro-face device you would want to select the starting address to be 121. An example of this can be seen below in the Proface environment:
    Proface HMI GP-Pro EX
    Figure 9: Proface GP-Pro EX project environment
  5. Finally, the last piece of advice is when selecting the proper length of the register to be read or written to. Many of our registers are going to be 32-bit decimal to accommodate for the larger values in micro stepping units but others are going to be 16-bit. This will be register value based and we can assist where needed. Here is an example below of reading back the motor position (P) over Modbus in the Proface software:
    Proface HMI GP-Pro EX
    Figure 10: Verify correct register length

Resource files

When it comes to your form, fit and function requirements, don’t settle. Get precisely what you need working with us. We know motion.

Contact us with any questions about how we can help you with your motion application or for assistance with your SEM products.

Browse our resource section and find the most useful tools and documents for all our products.