SQL Tool Utility
Use SQL Tool Utility to generate SQL scripts that are required to create data sources and Client Item trees.
Before you begin
The SQL Tool Utility consist of the following files:
- ACMfgCommandLineSQLTool.jar
- mapping.json
- ReadMe.txtNote: Make sure that you go through the instructions in the ReadMe.txt file.
Attention:
- Refer to the mapping.json, the sample file provided as reference for creating the data sources and Client Items for each of the data source. Multiple Client Items can be added to one data source.
- Every Client Item in the mapping.json file comes with source_item_addr attribute that denotes the nodeId along with its mapping path from the Toolkit.
- You need to update the mapping.json file based on your Client Items and OPC server data configuration. The structure of the mapping file must remain unchanged.
- Do not change the values of the attributes message_security_mode
(
None) and security_policy (http://opcfoundation.org/UA/SecurityPolicy#None) in the mapping.json file. - The Utility always creates a new node for the mapping_path that is provided
in the mapping.json file.
Ensure that you provide a new complete mapping path for both the data source and Client Item before running the Utility.
- The discovery_endpoint property is used for adding the discovery URL.
About this task
Use the SQL Tool Utility to generate SQL script, which is required to create data sources and Client Item trees in the App Connect for Manufacturing. Use the SQL script to run on the database that is used in the Toolkit. The data then gets reflected in the Toolkit.
Procedure
What to do next
Restart the Toolkit and navigate to Manufacturing Perspective. You can view the data sources and Client Item tree.