User Guide

Babel Buster IoT

Model MQ-61
IoT Gateway
Rev. 1.1 – Sept. 2020

© 2020 Control Solutions, Inc.

MQ-61 User Guide Contents

1       Introduction
1.1        How to Use This Guide
1.2        Important Safety Notice
1.3        Warranty

2       Connecting the IoT Gateway for the First Time
2.1        Overview of MQ-61 IoT Gateway Operation
2.2        Where to Start with IoT
2.3        Connectors and Indicators
2.4        Open Web User Interface

3       Configuring Local Registers
3.1         Creating Local Registers
3.2         Special Features of Local Registers
3.3         Local Register Calculate Rules
3.4         Local Register Copy Rules
3.5         Device Status Reporting

4       Configuring Gateway as a Modbus RTU Master
4.1         Modbus RTU Device Configuration
4.2         Modbus RTU Master Read Maps
4.3         Modbus RTU Master Write Maps
4.4         Modbus RTU Master Data Displayed by Slave
4.5         Modbus RTU Errors

5      Configuring Gateway as a Modbus TCP Client
5.1         Modbus TCP Device Configuration
5.2         Modbus TCP Client Read Maps
5.3         Modbus TCP Client Write Maps
5.4         Modbus TCP Client Data Displayed by Server
5.5         Modbus TCP Errors

6       Configuring Gateway as a Modbus RTU Slave
6.1         Modbus RTU Device Configuration
6.2         Modbus RTU Slave Register Map
6.3         Modbus RTU Slave Diagnostic

7       Configuring Gateway as a Modbus TCP Server
7.1         Modbus TCP Device Configuration
7.2         Modbus TCP Server Register Map

8      Configuring the MQ-61 IoT Gateway
8.1        Thing Points or Attributes
8.2        Thing ID and Subscribe Topics
8.3        Thing Files
8.4        Thing Status
8.5        Testing Thing’s Connection     

9     Configuring IoT Gateway to Publish to AWS
9.1        Create and Register a “Thing”
9.2        Create a Policy
9.3        Attach Policy and Thing to SSL Certificates
9.4        Configure MQ-61
9.5        Test Publish to Device Shadow     

10      Configuring IoT Gateway to Subscribe to AWS
10.1       Configure MQ-61
10.2       Use MQTT Test Client to Test Subscription      

11      Configuring AWS Simple Notification Service
11.1        Create Topic
11.2        Create Subscription
11.3        Create Action Rule for SNS
11.4        Configure MQ-61 and Send Text Message

12     Configuring IoT Analytics
12.1        Create Resources
12.2        Build the Pipeline
12.3        Review Data set
12.4        Create Action Rule for IoT Analytics
12.5        Process Data

13     Configuring AWS QuickSight
13.1       Create New Analysis
13.2       Visualize Data     

14      Programming with Script Basic
14.1       Creating a Program
14.2       Testing the Program
14.3       Setting the Program to Auto-Run on Startup
14.4       Example: Program Triggering of Publish to AWS
14.5       Example: Writing to an Alphanumeric Display
14.6       Example: Device and Rule Diagnostics
14.7       Example: Connecting Custom Serial Device to AWS

15      System Configuration and Resources
15.1       File Manager
15.2       Network Configuration
15.3       Resource Allocation
15.4       User Login Passwords

16      Trouble Shooting
16.1       Modbus RTU Trouble Shooting
16.2       Modbus TCP Trouble Shooting
16.3       AWS Trouble Shooting
16.4       Modbus Reference Information

Appendix A     Hardware Details
A.1        Wiring
A.2        Front Panel LED Indicators
A.3        RS-485 Line Termination and Bias
A.4        Forced Hard Configuration Reset

Appendix B     Modbus CSV Import Files
B.1        Modbus RTU Master Read/Write Maps
B.2        Modbus TCP Client Read/Write Maps
B.3        Register Types
B.4        Register Formats

Appendix C     SSL Certificates for Secure Web (HTTPS)
C.1        X.509 Auto-Certificate Generation
C.2        External Certificates
C.3        Certificate Generation Script (Linux)