Tools -> Transfer -> Cloud Connection Settings

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:

  1. Select the checkbox "Enable Cloud access".

    Note
    • For LOGO! 8.3 Base Module, you cannot enable Web Server access and Cloud access at the same time.

    • For LOGO! 8.4 Base Module, you can enable Web Server access and Cloud access at the same time.

  2. 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:

Procedures

Perform the following steps to register a LOGO! BM in AWS IoT:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. Create a certificate by entering the following information:

    Item

    Rule

    Country/Region

    Select from the drop-down list.

    State

    Naming rule:

    • The length of state name or organization name cannot exceed 16 characters.

    • The state name or organization name consists of any alphanumeric characters, white space, the hyphen "-", the underline "_" and the colon ":".

    For the detailed information, refer to AWS IoT thing service related rule.

    Organization

    Unit Name

    Naming rule:

    • The length of unit name cannot exceed 16 characters.

    • The unit name consists of any alphanumeric characters.

    For the detailed information, refer to AWS IoT thing service related rule.

  7. 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:

Procedures

Perform the following steps to register a LOGO! BM in Azure IoT:

  1. 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.

  2. Enter the "IoT Hub Primary Connection String". Then click "Next" button.

  3. 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.

  4. 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.

  5. 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:

Procedures

Perform the following steps to register a LOGO! BM in Alibaba IoT:

  1. 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.

  2. 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.

  3. Select "Create a new product" or "Using an existing product". Then click "Next" button.

  4. 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.

  5. 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 ".".

  6. Select topic type for the register. Then click "Next" button.

  7. 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:

Procedures

Perform the following steps to register a LOGO! BM in MQTT broker:

  1. 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.

  2. Enter "MQTT Broker URL" "Port" and "MQTT Client ID". Then click "Next" button.

  3. 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.

  4. Enter "Publish Topic". Then click "Next" button.

  5. 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.