PLC Configuration

The MVS server can be connected to PLCs using OPC servers. A prerequisite to PLC configuration in the server settings is to have an OPC server configured using Kepware. The server should be pre configured by AIS, but indiviual PLC's may need to be added by the end user to Kepware, for more information see here.

To begin PLC configuration, navigate to the "PLC Connections" page and press the "Add New+" button. This will begin the process of adding a new OPC server connection.

plc connection page

The "Add PLC Connection" page should appear. Provide the address and port number for the OPC server in the "Server Url" field, and a name for the server in the "Namespace Uri" field. Press the "Save" button to create the PLC connection and navigate to its detail page.

add plc connection page

The "PLC Connection Detail" allows for navigation to an edit screen for the PLC connection settings. It also allows for the addition of a number of PLC instances which represent physical PLCs. Press the "Add New+" button to begin configuring a new PLC block.

add plc instance page

There are three fields on the "Add PLC Instance" page: "Channel", "Device", and "Group". These fields specify the address of a PLC datablock containing a number of tags. The datablock addresses follow the format of "Channel.Device.Group". After the fields are populated and saved, the PLC instance will be displayed on the "PLC Connection Details" page. Before creating a PLC Instance, its recommended that kepware is configured to connect to the device. For information on this topic see KepwareConfiguration

populated plc detail page

Once an PLC instance is populated, new devices will be able to [connect to that instance].