How to Create Cloud Topic

Cloud Connector Connection Setup:

  • Select “Settings” category from menu.
  • Select “Cloud Connector” to connect cloud.

  • Choose proper settings to connect cloud.

  • To see connection is established, select “Status” category from menu.
  • Select “Cloud Connector” to see connection status.

  • After connection is established, to create cloud topic follow these steps:
  • Select “Modules” category from menu.
  • Select “Cloud Topic”

  • In “Cloud Topic” page, click plus '+' button to add new cloud topic

  • Name: Write any name you like to describe cloud topic, for example test_cloud_topic
  • Comment: Write any comment for cloud topic (optional)
  • Cloud Topic Type: There are two types: “CYCLIC” or “EVENT_DRIVEN”. If you choose CYCLIC type, topic will be depends on time cycles. If you choose EVENT_DRIVEN type, topic will be depends on events to be occur.
  • Cloud Topic Cycle: If your cloud topic type is CYCLIC, you have to choose a time interval.
  • Condition Eval String: If type is CYCLIC and this condition is false, we will not send data to cloud. If type is EVENT_DRIVEN, we will send data at positive edge of this condition. You can set your condition eval string with using tags or archive values, to do that click “Build..” button.
  • Message Eval String: This is message to be sent to the cloud. You can set your message eval string with using tags or archive values, to do that click “Build..” button.
  • Max Buffer Day Count: Determines how long the cloud topics created will remains. For example 30 days.
  • Allow Op Access: If this box is marked, operators have access to see records.
  • Click “Save” button to add new cloud topic.

  • After added new cloud topic, click “Historian” category from menu.
  • Click “Cloud Topic” to see created historian topics from your added cloud topic.

  • In “Historian Cloud Topic” page, you will see your topics:
  • “Topic Name”: This is the name for topic which you described in creation of cloud topic.
  • “Is Sent”: If the message has been sent, the box will be marked.
  • “Message”: This is the message to be sent.
  • “Created At”: Shows the creation date.

  • To view sent messages, go to amazon web services page:
  • Then click “Sign in to the Console”

  • After that, go to services, In “Internet of Things” section, choose “IoT Core”
  • You will see “Test” section on left of the page, click it
  • In “Subscribe to a topic” section, write topic filter.
  • In our example topic name: test_cloud_topic.
  • Then click “Subscribe” button.
  • Your subscriptions will be appear and you can see message which is sent from cloud topic.