Creating a IoT Hub and device in Azure
How to create a IoT Hub device and resource in Azure and prepare it for receiving data
The first thing we need to prepare and create an IoT Hub. If you haven't already an IoT Hub in Azure you can follow Microsoft guide of how to create this:
Next thing is to create an device in the IoT Hub.
Think of a device in the IoT Hub as a representation as for instance one of the following
- PLC
- Robot
- Machine
while a IoT Hub resource could be represented as a plant, building, site or factory. How you want to structure it of course depends on your application and setup.
When you have a IoT Hub and IoT device you are ready to connect the data from the PLC through SIA.
The below video will show you how to create an IoT Hub device and locating the Connection String. The Connection String is going to be used to create a tunnel between SIA and the IoT Hub where data from the PLC can transferred.