Learning Centre

Industrial Data Logger 4G LTE


4G/LTE MQTT Settings

1. Choose 4G/LTE in the Communication Media. Click on Save.
2. Select the protocol MQTT and Save.
3. Broker Address: Enter your broker address of MQTT(Ex:yourbrokeraddress.cloudmqtt.com).
4. Cloud Username: Enter MQTT cloud Username(Ex:Cloudmqttusername).
5. Password: Enter MQTT cloud Password(Ex:abcdef).
6. Port: Enter Port number for MQTT cloud(Ex:15590).
7. Publish Topic: Enter Topic name to publish the data to server(Ex:Publish_Data).
8. Subscribe Topic: To receive the data from the server(Ex:Subscribe_Data)
9. Device Id/Tag: Enter the Device ID(Ex:DT1)
10. Click on Save will save these settings in the memory.
11. APN:Enter APN for the connection. Ex: for BSNL it is "bsnlnet".
12. Click on Save.

NOTE: MQTT Broker creating guideline document. Please go through the below given link document.
LINK1:https://github.com/researchdesignlab/Industrial-Data-Logger/blob/master/MQTT_Linux_Bringup_ver1.0.pdf
LINK2 https://www.cloudmqtt.com/docs/com_port.html
YouTube Link: https://www.youtube.com/watch?v=qNFmfBpNMsg&t=3s

4G/LTE MQTT Data Parsing Format:

 
MODBUS RTU Data Parsing Format:

Parsing Format:
{“Type”:”MR”,”ID”:”1235”,”DATE”:”1/11/19”,”TIME”:”12:47:9”,”SL_ID” :”1”,”Reg
Ad”:”1003”,”Length”:”6”,”D1”:”0”,”D2”:”0”,”D3”:”0”,”D4”:”0”,”D5”:”0”,”D6”:”0”}

NOTE: MODBUS RTU/TCP 16bit/32bit data parsed in hexadecimal format

MODBUS TCP Data Parsing Format:

Parsing Format:
{“Type”:”MT”,”ID”:”1123”,”DATE”:”4/11/19”,”TIME”:”12:21:21”,”SL_ID” :”1”,”Reg
Ad”:”1060”,”Length”:”6”,”D1”:”1165”,”D2”:”1166”,”D3”:”1167”,”D4”:”1168”,”D5”:”1 169”,”D6”:”1170”}

NOTE:MODBUS RTU/TCP 16bit/32bit data parsed in hexadecimal format.

ANALOG Input Data Parsing Format:

Parsing Format:
{"Type":"AN","ID":"6549","DATE":"18/08/21","TIME":"15:54:43","AC1":"0.00","AC2":"0.00","AC3
":"0.00","AC4":"0.00","AC5":"0.00","AC6":"0.00","AC7":"0.00","AC8":"0.00","AC9":"0.00","AC10": "0.00","AC11":"0.00","AC12":"0.00"}

NOTE:For Analog Input configuration look into the section 2.2 in this document

Digital Input Data Parsing Format:

Parsing Format:
{“Type”:”DI”,”ID”:”1234”,”DATE”:”2/11/19”,”TIME”:”12:35:15”,”DC1”:”0”,”DC2”:” 0”,”DC3”:”0”,”DC4”:”0”}