LOGO!Soft Comfort requires that you confirm the connection interface for each communication attempt. See "Tools -> Transfer" for complete information.
With this menu command, you can configure the Cloud connection for LOGO! BM.
|
Note
LOGO! BM time Before you configure Cloud connection, make sure the time and date of the LOGO! BM are correct. Otherwise, Cloud connection will fail. |
|
Note
LOGO! 8.4 (and later versions) Base Module supports Cloud connection with AWS, Azure, Alibaba or general MQTT broker. LOGO! 8.3 Base Module only supports AWS Cloud connection. |
Enable Cloud access
You can enable Cloud access as follows:
Select the checkbox "Enable Cloud access".
Note
|
Click the "Apply" button.
Register a LOGO! BM in AWS IoT
Requirements
Ensure that the following conditions are met before you register a LOGO! BM in AWS IoT:
The Cloud access must be enabled.
An AWS account is created.
The access key is applied.
Procedures
Perform the following steps to register a LOGO! BM in AWS IoT:
Navigate to "Tools -> Transfer -> Cloud Connection Settings" tab and click the "Register Thing" button. Then a "Register" dialog is displayed.
Select the Cloud type "AWS" and click the "Next" button.
Select the IoT Region, enter the "Access Key ID" and "Secret Access Key". If you use AWS Temporary Credential Account (TVM) for the register, you need also enter "Session Token". Then click the "Next" button.
Select the checkbox "Create a new thing" or "Using an existing thing". Then click "Next" button.
If you select "Create a new thing", proceed with step 4. If you select "Using an existing thing", proceed with step 5.
Enter the name. Then click "Next" button.
Naming rule:
The length of the name cannot exceed 128 characters.
The name consists of any letters, the hyphen "-" and the underline "_".
For the detailed information, refer to AWS IoT thing naming rule.
After creating a billing group and assign tags to it on AWS website, you can assign the configured billing group to the IoT thing to categrize and track your IoT service related costs.
Select topic type for the register. Then click "Next" button.
If the registered IoT thing will be used in your LWE project, which will be deployed to AWS as a WebApp, you should select Shadow Topic, and coonfigure the cloud data as "LOGO! Web Server Data Format" in Cloud Data Transfer Settings.
|
Note
For LOGO! 8.3 Base Module, you don't need to select topic type but proceed with step 6 directly. |
Create a certificate by entering the following information:
|
Item |
Rule |
|---|---|
|
Country/Region |
Select from the drop-down list. |
|
State |
Naming rule:
For the detailed information, refer to AWS IoT thing service related rule. |
|
Organization |
|
|
Unit Name |
Naming rule:
For the detailed information, refer to AWS IoT thing service related rule. |
Click the "Next" button, and then the "Register Status" page shows that your registration is successful. Click "Finish" button to close the registration dialog.
Register a LOGO! BM in Azure IoT
Requirements
Ensure that the following conditions are met before you register a LOGO! BM in Azure IoT:
The Cloud access must be enabled.
An Azure account is created.
An IoT Hub primary connecction string is applied.
Procedures
Perform the following steps to register a LOGO! BM in Azure IoT:
Navigate to "Tools -> Transfer -> Cloud Connection Settings" tab and click the "Register Thing" button. Then a "Register" dialog is displayed.
Select the Cloud type "Azure" and click the "Next" button.
Enter the "IoT Hub Primary Connection String". Then click "Next" button.
Select "Create a new device" or "Using existing device". Then click "Next" button.
If you select "Create a new device", proceed with step 4; if you select "Using an exsiting device", proceed with step 5.
Enter the device ID. Then click "Next" button.
Naming rule:
The length of the device ID cannot exceed 128 characters.
The device ID can consist of any upper-case or lower-case letters, numbers and certain special characters - . _ * ! ( ) , : = @ $ '.
|
Note
If you create Device ID in Azure platform with other special characters than above ones, it cannot be displayed in the existing device list in step 3. |
The Register Status page shows you that your registration is successful. Click "Finish" button to close the registration dialog.
Register a LOGO! BM in Alibaba IoT
Requirements
Ensure that the following conditions are met before you register a LOGO! BM in Alibaba IoT:
The Cloud access must be enabled.
An Alibaba account is created.
Procedures
Perform the following steps to register a LOGO! BM in Alibaba IoT:
Navigate to "Tools -> Transfer -> Cloud Connection Settings" tab and click the "Register Thing" button. Then a "Register" dialog is displayed.
Select the Cloud type "Alibaba" and click the "Next" button.
Enter "IoT Region" "Access Key ID" "Secret Access Key" and "Instance ID". The "IoT Region" should be consistent with the region that is configured when creating the "Instance ID" on Alibaba website.
Select "Create a new product" or "Using an existing product". Then click "Next" button.
If you select "Create a new product" in step 3, here you need to enter the new product name. Then click "Next" button.
Naming rule:
The length of the product name is between 4 to 30 characters.
The product name consists of any Chinese characters, letters, numbers and the special character underline "_". One Chinese character counts as two characters.
If you select "Using an existing product" in step 3, here you need select "Create a new device" or "Using an exsiting device". Then click "Next" button.
If you select "Create a new device", proceed with step 5; if you select "Using an existing device", proceed with step 6.
Enter device name. Then click "Next" button.
Naming rule:
The length of the device name is between 4 to 32 characters.
The device name consists of any Chinese characters, letters, numbers and certain special characters: hyphen "-", underline "_", at sign "@", period "." and colon ".".
Select topic type for the register. Then click "Next" button.
The Register Status page shows you that your registration is successful. Click "Finish" button to close the registration dialog.
Register a LOGO! BM in MQTT broker
Click here to learn about how to establish IoT Cloud connection between LOGO! 8.4 and Hive MQTT.
Click here to learn about how to establish IoT Cloud connection between LOGO! 8.4 and Mosquitto MQTT.
Requirement
Ensure that the following conditions are met before you register a LOGO! BM in MQTT broker:
The Cloud access must be enabled.
The corresponding MQTT broker account is created.
Procedures
Perform the following steps to register a LOGO! BM in MQTT broker:
Navigate to "Tool s-> Transfer -> Cloud Connection Settings" tab and click the "Register Thing" button. Then a "Register" dialog is displayed.
Select the Cloud type "MQTT" and click the "Next" button.
Enter "MQTT Broker URL" "Port" and "MQTT Client ID". Then click "Next" button.
Select Authentication Type: TCP, TLS withour authentication, TLS one-way or TLS two-way. If you select TCP or TLS withour authentication, click "Next" button to proceed with step 4; if you select TLS one-way, you need upload Broker CA Certificate to authenticate the server; if you select TLS two-way, you need to upload Broker CA Certificate, Device Certificate and Device Key, to authenticate the client and the server. Then click "Next" button.
To learn more about authentication type, refer to section Cloud IoT connection -> Secure Cloud connection in LOGO! System Manual.
Enter "Publish Topic". Then click "Next" button.
The Register Status page shows you that your registration is successful. Click "Finish" button to close the registration dialog.
Deregister a LOGO! BM
If the LOGO! BM you want to register has been registered, you can deregister this LOGO! BM by clicking the "Deregister" button.
|
Note
Deregistering a LOGO! BM doesn't delete the thing that is registered in AWS IoT, which deletes the following items in LOGO! BM: AWS endpoint, the certificate that is created for registering a thing, and the name of registered thing. |