background image

 

Vega TP-11 / User Manual  

 

Revision 09

 –

 08 April 2020

 

 

25

 

5 COMMUNICATION PROTOCOL 

This part describes the TP-11 data exchange protocol with LoRaWAN network. 

 

In fields consisting of several bytes, the little-endian byte order is used 

CONVERTER TP-11 TRANSMITS THE FOLLOWING TYPES OF PACKETS 

1.

 

Packet with current readings from connected heat  meter, sent regularly or  by the 

request or by the one of “Reason of sending message” field events 

Size in bytes 

Field description 

Data type 

1 byte 

Packet type, this packet == 1 

uint8 

1 byte 

Battery level, % 

uint8 

1 byte 

Over limits («0» – there is no, «1» - there is) 

uint8 

4 byte 

Time of current readings in that packet (unixtime UTC) 

uint32 

1 byte 

Current device temperature  

int8 

2 bytes 

Current low threshold (mА*100) 

uint16 

2 bytes 

Current high threshold (mА*100) 

uint16 

1 byte 

Reason of sending message 

uint8 

1 byte 

TP-11 inputs/outputs state 

uint8 

2 bytes 

Measurement current of connected sensor (mA*100) 

uint16 

 “Reason of sending message” field codes 

Code 

Value  

0x00 

Sending packet by the time  

0x01 

By the security input 1 triggering  

0x02 

By the security input 2 triggering 

0x03 

External power state was change 

0x04 

Measurement is out of the specified limits 

0x05 

Transmitting by the request 

"Inputs/outputs state" bit field decoding 

Bits 

Field description 

0 bit 

Power (0 – battery, 1 – external) 

1 bit 

Security input 1 (0 - unclosed, 1 – closed) 

2 bit 

Security input 2 (0 - unclosed, 1 – closed) 

3 bit 

Output 1 (0 – off, 1 – on) 

4 bit 

Output 2 (0 – off, 1 – on) 

5 bit 

reserve (always 0) 

6 bit 

reserve (always 0) 

7 bit 

reserve (always 0) 

Содержание TP-11

Страница 1: ...www vega absolute ru LORAWAN CONVERTER VEGA TP 11 User Manual...

Страница 2: ...V External devices connection was added 04 10 01 2018 PKP Changes in the communication protocol Values of basic settings bit field decoding table corrected 05 19 06 2018 TII Changes in parts Contacts...

Страница 3: ...tial startup 12 External devices connection 13 Connecting via USB 14 4 VEGA LORAWAN CONFIGURATOR 15 Interface of the application 15 Connection to the device 16 Device info tab 17 LoRaWAN settings tab...

Страница 4: ...o provide the stable radio between the gateway and the end device it is recommend avoiding the device installation in the places which are barriers for the radio signal getting through like a reinforc...

Страница 5: ...provides connected sensors with 24 V power via 4 20 mA interface Vega TP 11 has two open drain outputs so it can be used as a control device Also device has two security inputs COMUNICATION AND DATA C...

Страница 6: ...sends all accumulated packets to the network in order from the earliest to the latest There are no checks of package delivery in this mode There are no non transmitted messages in the device memory T...

Страница 7: ...of manufacture o QR code containing DevEUI for automatized count Sticker located in three places on device case in factory certificate and on the packing box Besides there is an additional sticker loc...

Страница 8: ...Data collection period 5 15 30 minutes 1 6 12 or 24 hours Memory amount for storing packets 200 packets Antenna connector SMA Sensitivity 138 dBm Radio coverage in restrained urban conditions max 5 k...

Страница 9: ...UT_1 Open drain output 1 3 VPWR Power 4 Power 5 CL 4 20 mA 6 CL 4 20 mA 7 COUNT_2 Security input 2 8 Ground 9 COUNT_1 Security input 1 10 Ground Ground contacts 8 and 10 are used for connection of sec...

Страница 10: ...y life of the converter the 24 V supply voltage is not continuously supplied The 24 V voltage is applied to the 4 20 mA device a few seconds before the polling is performed so that the sensor can turn...

Страница 11: ...e changed LED signal Meaning Series of short flashings Linking to the network One long flashing The device connected to the network and is in active mode Three long flashings Linking to the network is...

Страница 12: ...f the methods using Vega LoRaWAN Configurator application See part 4 1 ABP After pressing the start button the device immediately starts working in the Active mode 2 OTAA After pressing the start butt...

Страница 13: ...s entered in the network Device EUI Application EUI and Application Key for OTAA or Device address Application session key and Network session key for ABP EXTERNAL DEVICES CONNECTION The actuators are...

Страница 14: ...river for the COM port stsw stm32102 which can be downloaded from iotvega com After running the executable file VCP_V1 4 0_Setup exe the installer window will appear In this window you need to click N...

Страница 15: ...c settings advanced settings and the ability to check the coverage area of the signal from the gateways are available Next the work of the application is considered in the Expert mode INTERFACE OF THE...

Страница 16: ...ce perform the following steps 1 Connect the USB cable to the device 2 Start the Vega LoRaWAN Configurator application 3 Click the Connect button in the menu on the left The application automatically...

Страница 17: ...AN network with OTAA method Over The Air Activation is displayed Key management not displayed in the Simple mode allows you to change the factory keys to register the device on the network and reset t...

Страница 18: ...ocedure will occur Link check not displayed in the Simple mode when pressed the device sends a special signal to the LoRaWAN network in response to which the network informs it of the number of gatewa...

Страница 19: ...8 based In the device frequency plan only those channels are active by default on which sending requests for connection to the network join channels The remaining channels that the device should use c...

Страница 20: ...retry sending the packet until it receives the server confirmation or until the Uplink number of transmission is over see below ADR this option activates the Adaptive Data Rate algorithm for automatic...

Страница 21: ...work while OTAA mode active The second window always opens after 1 second after the first Uplink number of transmission not displayed in the Simple mode if the Confirmed uplinks function is disabled t...

Страница 22: ...djusted to this value when sending packets to the LoRaWAN network This option can be changed by the network server TX datarate not displayed in the Simple mode the device transmission datarate at whic...

Страница 23: ...ent high threshold parameters allow setting current value range when the measurements are out of which the device will switch in alarm mode Data collection period may be setting independently for that...

Страница 24: ...be adjusted from 5 minutes to 24 hours Data transfer is carried out by a random time at the selected period At the next communication session the device starts sending accumulated packets with readin...

Страница 25: ...32 1 byte Current device temperature int8 2 bytes Current low threshold m 100 uint16 2 bytes Current high threshold m 100 uint16 1 byte Reason of sending message uint8 1 byte TP 11 inputs outputs stat...

Страница 26: ...5 uint8 4 bytes Time of the modem at a moment of the packet transmission unixtime UTC uint32 After receiving this type of package the application can send to modem the packet with time correction 4 Se...

Страница 27: ...kage TP 11 will close the correspond output and transmits the packet with current readings 3 Output off command send by application on LoRaWAN port 2 Size in bytes Field description Data type 1 byte P...

Страница 28: ...upported by the device but only the part that needs to be changed Table of ID of TP 11 parameters and these possible values ID of parameter Description Data length Possible values 4 Confirmed uplinks...

Страница 29: ...Revision 09 08 April 2020 29 6 15 minutes 7 30 minutes 55 Time zone in minutes 2 bytes from 720 to 840 85 Current low threshold in mA 100 2 bytes from 200 to 2500 86 Current high threshold in mA 100 2...

Страница 30: ...RTATION REQUIREMENTS Vega TP 11 shall be stored in the original packaging in heated room at temperatures 5 to 40 and relative humidity less than 85 The converter shall be transported in covered freigh...

Страница 31: ...TP 11 User Manual Revision 09 08 April 2020 31 7 CONTENT OF THE PACKAGE Vega TP 11 device is delivered complete with Converter Vega TP 11 1 pc Antenna LoRa 1 pc Screw 3 16 6 pcs Factory certificate 1...

Страница 32: ...ecified in this user manual Warranty does not apply to power supplies of devices sending more than 20 000 packets the device with mechanical electrical and or other damages and defects caused by viola...

Страница 33: ...Vega TP 11 User Manual Revision 09 08 April 2020 33 vega absolute ru Operation Manual Vega Absolute LLC 2017 2020...

Отзывы: