How to use a DataHub script
Summary
- Download and install Cogent DataHub software on the OPC server and OPC client machines.
- Start the DataHub and select the Scripting option.
- Add a script from the demo scripts.
- Save a copy of the script in a user directory to make changes.
- Edit, test, and save the script in the Script Editor.
- Set the script to run when the DataHub starts up, if needed.
For more details and options, see the documentation.
Transcript
- How to use a DataHub script.
- First, download and install Cogent DataHub software.
- Start the DataHub, and from the Properties window select the Scripting option and click the Add button.
- Choose a script from the demo scripts in the scripts directory: C, Program Files, Cogent, Cogent DataHub, scripts,
- To edit the demo script you should first save a copy. Select the script, then click the Edit button to open the script in the Script Editor.
- Choose File, then Save As, to save the script.
- Put it in your Users directory: C, Users, User Name, AppData, Roaming, Cogent DataHub, scripts.
- Edit the script as needed.
- Click the blue arrow to save your edits and run the script, as often as you like.
- When you are done editing, close the script editor.
- Check the box for the script if you want it to run when the DataHub starts up. Click the Apply button.
- Now you are using a DataHub script.
Background
Networking OPC DA requires DCOM, which is difficult to configure and not very secure. Learning how to tunnel OPC DA inbound, you can bypass DCOM altogether. The tunnel recovers quickly from network outages, and keeps all OPC servers and clients connected during that time.
Skkynet provides Cogent DataHub secure-by-design software and services to let you acquire, aggregate, monitor, control visualize, and network live process data in-plant or over insecure external networks, making it ideal for OT to IT and cloud connections. You can isolate control networks from cyber attacks and integrate industrial data under a unified namespace, all without compromising the plant.