background image

LoRa Data Logger

 

 

32 

3.2  Commands 

 

0x01 – Report all Inputs:

 

 

 

0x01 

Total length  Data[i] length 

Data[i] value[]  … 

Checksum 

1 byte 

1 byte 

1 byte 

n byte 

 

1 byte 

 

Command: 0x01 

Purpose: A LoRa node is Uploading the status (data) of all input ports to network server.  

Sequence: DI[1] / DI[2] / AI[1] / AI[2] / AI[3] / Modbus[1] / Modbus[2] / Modbus[3] 

 

Note 1: There is maximum limit on the payload size. This command may not be used for some Modbus device 
configuration that has many registers to read. 

 

For example, the packet

0115010000010100000901030300FA03C8DB64000093” is composed of 

Command byte – 0x01 

Total Length – 0x15 

Checksum - 0x93 

Data[] – “010000010100000901030300FA03C8DB640000”, where 

DI[1]: length=0x01, value=0x00 
DI[2]: length=0x00, Nothing 
AI[1]: length=0x01, value=0x01 
AI[2]: length=0x00, Nothing 
AI[3]: length=0x00, Nothing 
Modbus[1]: length=0x09, value=0x01030300FA03C8DB64 
Modbus[2]: length=0, Nothing 
Modbus[3]: length=0, Nothing 

 

 

 

Содержание IOT400-DL101

Страница 1: ...LoRa Data Logger IOT400 DL101 User Manual...

Страница 2: ...CE RED Requirements 9 1 6 Hardware Installation 10 1 6 1 Mount the Unit 10 1 6 2 Connecting I O Devices 10 1 6 3 Connecting Console Port for PC Configuration Tool 13 1 6 4 Connect to external DC Powe...

Страница 3: ...LoRa and LoRaWAN are optimized for low bandwidth IoT traffic over wide area to transmit data at low data rates It allows massive deployment of wireless IoT with carrier level security Main Features Si...

Страница 4: ...1pcs 2 LoRa Antenna 1pcs 3 Terminal Block 1pcs 4 499 Ohm Resistor 1pcs 5 Power Adapter 1pcs 1 2 2 Optional Accessories Optional parts these parts are sold separately Items Description Contents Quanti...

Страница 5: ...ation Left View Right View Reset Button RESET button provides user a quick and easy way to resort the default setting Press the RESET button continuously for 6 seconds and then release it The device w...

Страница 6: ...ant Gateway and Network Server Configuration Tool Requirements Computer with the following Windows 7 or Windows 10 An installed Ethernet adapter A USB 2 0 or later for device configuration 1 5 2 WARNI...

Страница 7: ...ment and receiver Connect the equipment into an outlet on a circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help FCC Caution...

Страница 8: ...e surface temperature for the metallic enclosure can be very high Especially after operating for a long time installed at a closed cabinet without air conditioning support or in a high ambient tempera...

Страница 9: ...osure Statements The antenna of the product under normal use condition is at least 20 cm away from the body of user 4 Unit Mounting Notice The product is suitable for mounting at heights 2m approx 6 f...

Страница 10: ...he field device s to the I O ports with the right pin assignments as shown below DO DI UART TX UART RX GND 1 2 3 4 5 6 7 8 9 10 DO DI AI GND PWR Mode Specification Analog Input 0 10V analog Voltage wi...

Страница 11: ...LoRa Data Logger 11 Example of Connection Diagram DI Example of Connection Diagram DO...

Страница 12: ...ice and properly connect and configure the IOT400 so that it can get the correct readings from the connected device The AI port supports either 0 10V voltage mode or 4 20mA current mode analog signal...

Страница 13: ...ave to further configure software settings from a PC configuration tool The LPWA Data Logger provides one serial console port for device configuration You have to connect USB to Serial console cable I...

Страница 14: ...Make sure the electrodes have been plugged into the right pins according to their assignments There is a DC12V 1A power adapter2 in the package for you to easily connect DC power adapter to this termi...

Страница 15: ...ther device configuration When you execute the Configuration Tool you will see the login dialog Click the drop down menu next to the Serial Port Choose the COM port that is bound to the Data Logger s...

Страница 16: ...LoRa Data Logger 16 Now you already logged in to the Data Logger console and you can proceed with the required software configuration steps one by one Refer to the following Chapter for the details...

Страница 17: ...cated in the right hand side If the device status doesn t appear or you want to get the updated status click Status Refresh button located at the lower right corner to refresh the status immediately Y...

Страница 18: ...ou can configure the channel activation settings and MAC Layer settings Channel Configuration There are Channel Group 1 and 2 It will show the supported Sub Band depend on the area of the LoRa specifi...

Страница 19: ...pecify whether the TX Confirm ACK response from network server is applied or not for each data uplink transmission By default Confirm is selected Un Confirm No ACK response is required The LoRa Node w...

Страница 20: ...mpler because you skip the join procedure DeviceEUI This is a unique and read only ID 64 bit for the LoRa node It is hardcoded by the device manufacture AppEUI This is an application ID 64 bit for the...

Страница 21: ...ink transmission tx the node will listen for a response from gateway network server Class C C is for C ontinuous Same as A but Class C devices will listen continuously for responses from the gateway n...

Страница 22: ...device type while it is powered by external battery The device won t get into sleep mode if it is configured as Class C device and it will continuously drain away the battery power even it is idle an...

Страница 23: ...can specify a simple data conversion formula with the base fromat Physical Value Read Value Op 1 X Op 2 Y where Read Value the input value ex 7 5V or 12 4mA for a certain AI signal Op 1 and Op 2 both...

Страница 24: ...appear for you to double confirm the settings of Analog Input type that the H W configuration and S W configuration are consistent After you confirmed the settings are correct click Yes button to sto...

Страница 25: ...the condition part min hold time and the action part Condition part condition 1 AND OR condition 2 min Hold Time Above Condition remains TRUE for at least Thold condition hold time Action part make DO...

Страница 26: ...the event happens condition TRUE for the pase Thold duration the specified action will be take accordingly Enable Check Enable to activate the event rule Finally click Save button to store the config...

Страница 27: ...nd wait a while for the device to reboot Configuration Backup Restore In addition to the factory default settings you can also customize a special configuration setting as a customized default value W...

Страница 28: ...ect the console cable while upgrading new firmware it is very likely to damage the device Once the Firmware Upgrade completed the device will be reboot with the new firmware immediately System Time Sy...

Страница 29: ...29 2 6 CLI Console Log The system console log will show at this configuration page It can help to monitor the system operation and event When some issue happens capture this console log and consult wi...

Страница 30: ...th of Command Total Length Data Data accompanied data bytes for the issued command Checksum Checksum byte for the complete command stream Command Total Length Data Direction The MSB of the Command cod...

Страница 31: ...LoRa Data Logger 31 ret buf i return ret...

Страница 32: ...t on the payload size This command may not be used for some Modbus device configuration that has many registers to read For example the packet 0115010000010100000901030300FA03C8DB64000093 is composed...

Страница 33: ...entifier for each input port Only those enabled input ports will appear in the payload DI 1 0x10 DI 2 0x11 AI 1 0x30 AI 2 0x31 AI 3 0x32 Modbus 1 0x50 Modbus 2 0x51 Modbus 3 0x52 Data i Length the dat...

Страница 34: ...port Only those enabled input ports will appear in the payload DI 1 0x10 DI 2 0x11 AI 1 0x30 AI 2 0x31 AI 3 0x32 Modbus 1 0x50 Modbus 2 0x51 Modbus 3 0x52 Data i Length the data length of the correspo...

Страница 35: ...server is asking for the LoRa node to get the status data of all input ports Note 1 There is maximum limit on the payload size This command may not be used for some Modbus device configuration that ha...

Страница 36: ...Total length Checksum 1 byte 1 byte 1 byte Command 0x82 Purpose A network server is asking for the LoRa node to get the status data of all enabled input ports For example the packet 820280 is composed...

Страница 37: ...rresponding output port Data Value the data of the corresponding output port For a Modbus type port the data format is composed of Slave ID Function call Start Address Data Length Data 1 byte 1 byte 2...

Страница 38: ...0x70 Total length Checksum 1 byte 1 byte 1 byte Command 0x70 Purpose A LoRa node is alerting to the network server with low battery power warning For example the packet 700272 is composed of Command...

Отзывы: