How OPCServer inside the database data into the server interface, multi-client communication configuration software

        Start AiheDataServer data services software, through the 'Edit' -> 'Add Device' button parameters, set up the database connection, as shown below: Software & Downloads

        Communication Select 'connect to the database query data', and then select the database software, parameters such as IP address, database name, and user name and password and other settings for the server; by 'Connection Test' Connect button to test the database; parameter setting is completed and click on 'OK 'button to save parameters.

        Then start adding data labels. First, select the device you just added, through the 'Edit' -> 'Add tag' button to open a dialog box to add labels, as shown below:

        OPC tag name and services provided, and a data table in the database, data types, and data fields data table, the time field is set (time of the query in accordance with the newest entry) after completion point 'parameter validation' button.

        Can be seen on the main interface has added a row of data. Through the inside of the left side of the tree 'Data Service' directory under 'OPC-DA / UA server' nodes, services Check on OPC, and click 'OK' button to save the parameters, as shown below:

        Finally, start the system running. Through the 'Operation' -> 'system running' after start menu, open the OPC client software for testing,

Published 14 original articles · won praise 10 · views 7616

Guess you like

Origin blog.csdn.net/AutoCtrl666/article/details/104396244