Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Click on "Create New Kinesis Stream Setting" to finish creating the new configuration setting.

Image RemovedImage Added

Create an AWS DynamoDB Database Setting

...

 Click on the "Create new DynamoDB Setting..." link to bring up the following configuration form:

Image RemovedImage Added

For the Setting Name you can enter any unique identifier. We will again use "TestSetting" as it must only be unique among DynamoDB Settings.  For the AWS credentials, you will need to enter your Access Key and Secret Key used to authenticate to your AWS account as well as the region that your DynamoDB Database is in.  The Set can be left as Default.  Finally, the Table Name will be the name of the DynamoDB Table that you wish to connect to.  For example, this is shown below in the AWS DynamoDB console.

Image ModifiedClick on "Create New DynamoDB Setting" to finish creating the new configuration setting.

Image RemovedImage Added

Use Default Tag Agent Settings

...

Once you have logged into the Designer enter a new project name and open the project. The project name that we used for this tutorial is simply called “Tutorial1”.

Image Added

After Designer opens, you will see the default Designer screen as shown below.

With the AWS Injector module installed in Ignition, a new folder is created under the "All Providers" folder and is called “AWS Injector”. This folder will contain both information tags about the module's version and state, as well as control tags for refreshing the module and it's Tag Agents.

Image RemovedImage RemovedImage Added

Next, we need to create a folder structure where we will create a virtual Edge device and some tags to be sent by the AWS Injector module.  When the AWS Injector module is installed in Ignition, a folder is automatically created in the Ignition tag structure with the following path:

...

For this tutorial, right click on the Edge Nodes folder and create a new folder called Tutorial Group. Then right click on the Tutorial Group folder and create another new folder called Tutorial Edge Node.  Finally, right click on the Tutorial Edge Node folder and create another new folder called Tutorial Device. This folder structure creates the same hierarchy that is described in the Sparkplug B specification of Group ID, Edge ID, and Device ID.

Image Added

Image RemovedWith this folder structure in place, now we can create some memory tags of various data types to publish. Right click on the Tutorial Device folder and select ’New Tag’/’Memory Tag’. In the tag editor change the Name of the tag to “Boolean001”, and change the Data Type to Boolean. Follow this same procedure for new memory tags called “Integer001” of type Integer, “Float001” of type Float, and “String001” of type String. The resulting folder structure should look as follows.

Image RemovedImage Added

Step 6: Use Ignition Designer to Send Tag Data (Current Tag Values)

Now that we have a folder structure with some tags we can refresh the AWS Injector module.  Make sure that the Ignition Designer has read/write communications turned on by selecting Project/Comm Read/Write.

Image RemovedImage Added

To refresh the default Tag Agent with the folder structure we’ve created, open the folder "All Providers/AWS Injector/AWS Injector Control" and click on the Refresh Boolean. Note the Boolean tag will not change to true. This is really a one-shot and as a result, the tag will not change to true.

Image RemovedImage Added

When this happens, the Tag Agent will scan the "Edge Nodes" folder and find the new Memory Tags that we have created, construct messages representing those tags with their current values and send the messages to the Kinesis Stream and/or DynamoDB Database that we have configured.

...

Click on the value of the "Boolean001" Memory Tag to change it's value.

Image RemovedImage Added

Sending Live Tag Data to the Kinesis Stream

...