JSON Tool Utility
Use JSON Tool Utility to generate JSON files that are required to create data sources and Client Item trees.
Before you begin
- ACMfgCommandLineJsonTool.jar
- mapping.json
- ReadMe.txtNote: Make sure that you go through the instructions in the ReadMe.txt file.
- 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 JSON Tool Utility to generate JSON files, which are required to create data sources and Client Item trees in the App Connect for Manufacturing, regardless of the App Connect Enterprise Toolkit connection to the OPC server.
These JSON files can be used to run on a machine that doesn't have OPC server access. You can now add Client Items to the message flow even if the OPC server is not connected.
Procedure
Results
- Make sure the environment variable for ACMFG_MAPPING_FILES_DIR is set to the folder containing only the newly generated JSON files.
- The variable Use_DATABASE must be set to false because JSON files are used to store the application data.
What to do next
Restart the Toolkit and navigate to Manufacturing Perspective. You can view the data sources and Client Item tree.