i4SCADA Knowledge Base

i4SCADA Modbus Connector Tutorials

Abstract

Check out these tutorials and start setting up your i4SCADA Studio Modbus Connector. All the details you need to know in order to do these steps by yourself.

These articles will guide the user through the steps needed to define a Modbus Connector and explain how to setup it up in order to receive data.

Configuring the Modbus Connector in i4SCADA Studio
Abstract

Check out this easy guide and start setting up your i4SCADA Modbus Connector on your Studio Database.

To enable i4SCADA Server to access a Modbus device, the Modbus Connector must be added in Studio.

  1. Open the i4SCADA Studio application.

  2. The login dialog is opened. Fill in your credentials (if you are a new user and made no changes during i4SCADA installation, the default user name is "webfactory" and the password is "sa".

    Studio_login.jpg
  3. Select the [New Database] option from the Database drop-down list.

  4. The New Database dialog is opened allowing the user to fill in the Database name.

    New_DB.jpg
  5. Press the button New to start generating the new Database.

  6. Once the Database is prepared, press the Login button.

  7. The i4SCADA Studio is opened. An information window pops-up asking the user to confirm if the new database should be set as Default or not.

    Info_dialog.jpg
  8. For current use case we shall set the New database as default, hence button Yes should be selected.

  9. Under the Signals section click right on the Server List node.

  10. The Server contextual dialog is displayed. Select the option New Server.

  11. A new Server node is added, under Server List. We shall name the new Server ".", as for the current use case the Server runs on same machine as the i4SCADA Studio.

  12. Select the Server node and click-right. Select the option New Connector / Modbus Connector from the contextual menu.

    Modbus_Connector.jpg
  13. The Modbus Connector node is added to the hierarchical view.

    Modbus_view.jpg
  14. Further configuration steps, will be organised in the Connector Configuration panel.

  15. Select the Modbus Connector node and click the toolbar button New.

    New_connector_device.jpg
  16. Select the desired communication protocol choosing from the available options: TCP or RTU.

    Communication_protocol.jpg
  17. The new Device will be added to the Connector, allowing you to set it up in the grid view.

    Device_settings.jpg
  18. Select the new Device in the hierarchical view and click the button New.

    New_substation.jpg
  19. A new substation is added to the hierarchical view, along with the available data types.

    Substation_view.jpg
  20. Select a data type in the hierarchical view and click the button New.

    New_signal.jpg
  21. A new Signal is added in the data Type grid view, allowing you to set it up it properties. Continue adding as many Signals as necessary.

    Coils_Signal.jpg
  22. Press the Save button in order to preserve all your changes.

Setting up a Signal for the Modbus Connector
Abstract

In order to create a new signal in the Modbus Connector we need to create first a new signal group in our connector. Check out this tutorial to learn more.

Now the Modbus Connector is configured and connected to its Device, we need to create a signal group in our connector. Proceed as follows:

  1. Select the connector from the Signals tab / Server List / Server and right click in the empty pane from the right side. Select New Group.

    New_Group.jpg
  2. Now select the new group Group1 from the Signal tab / Server List / Server i4SCADA Modbus Connector and right click on it. Select the Browse Signal option.

    Browse_Connector_option.jpg
  3. In the Browse connector window the Modbus Device Signals are listed.

    List_of_Signals.jpg
  4. Select the desired Signals and click the button Add to confirm and upload selected items. Afterwards, you click the Close button to close the Browse connector window,

    Add_Signals.jpg
  5. Now the list of i4SCADA Modbus Connector Signals is populated with all the selected items. To preserve your changes, click the Save button.

    Modbus_Signals.jpg
Validating the Modbus Signals
Abstract

heck out how to use the i4SCADA Studio validation function in order to validate your Modbus Signals and see if there are any invalid ones.

i4SCADA Studio provides a validation function which helps in determining whether invalid signals have been configured for a specific connector or symbols provided by the connector are not used.

  1. Select the Modbus Connector node in the Signals panel and click right on it. Select the Validate Signals option.

    Validate_Signals.jpg
  2. The Validate Signals will list the invalid signals or unused symbols if they exist.

    Validate_signals_dialog.jpg