Versions Compared

Key

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

...

With Ignition and MQTT Transmission installed, we can configure the MQTT Transmission module to connect to AWS IoT Core using the same certificates that we provisioned earlier. Begin by clicking 'Get Desginer' in the upper right hand corner of the Ignition Gateway Web UI as shown below.

<TODO>Add Image</TODO>Image Added

Now launch the Ignition Designer using the Designer Launcher as shown below.

<TODO>Add Image</TODO>Image Added

Once it is launched, you should see something similar to what is shown below. Note the Tag Browser has been expanded and the automatically created example tags have been highlighted.

<TODO>Add Image</TODO>Image Added

Begin by deleting these two tags (Example Tag and MQTT Quickstart). Then click the 'UDT Definitions' tab as shown below. We will use this view to create a very simple UDT definition.

<TODO>Add Image</TODO>Image Added

Now, click the '+' icon in the upper left corner of the tag browser as shown below and select 'New Data Type'

<TODO>Add Image</TODO>Image Added

This will open the following dialog box.

<TODO>Add Image</TODO>Image Added

Change the name of the tag to Motor as shown below. Also, note the highlighted 'new member tag' icon in the middle of the dialog. We'll use this to create some member tags.

<TODO>Add Image</TODO>Image Added

Now use the 'new member tag' button to create a new 'memory tag' as shown below.

<TODO>Add Image</TODO>Image Added

Then, set the following parameters for the new memory tag.

  • Name
    • Set to 'Temperature'
  • Date Type
    • Set to 'Float'
  • Engineering Units
    • Set to 'Celsius'

<TODO>Add Image</TODO>Image Added

Now create two additional member tags with the following configuration.

...

When complete, the UDT definition should look as follows.

<TODO>Add Image</TODO>Image Added

Now switch back to the 'Tags' tab of the Tag Browser. Right click on the 'PLC 1' folder and select 'New Tag → Data Type Instance → Motor' as shown below.

<TODO>Add Image</TODO>Image Added


Now set the name to 'My Motor' as shown below and click OK.

<TODO>Add Image</TODO>Image Added

Now, set some values under the instance as shown below.

...