ADEUNIS TIC 868 Guide Utilisateur page 83

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Transceiver TIC - Guide utilisateur / User guide version V2.0.0
In this example, the LoRaWAN TIC product is asked to trace label values representing a total size of 52 bytes.
The size limit of the data frames being 49 bytes, only those that can be fully contained in the frame are taken into account (in the order of the
configuration), in this example the data of the register S350 is not included in the daily frame.
Indeed, the labels described in the registers S330 to S348 already represent a size of 48 bytes.
The resulting frame is as follows:
0
1
Code
Status
0x49
Cf Status
Value of the
ADCO label
Also note in this frame that bit 3 of the Status byte (Err config) will be 1 because the configuration exceeds the allowed size.
The table below provides some help in interpreting the data for particular values:
Length / type of the periodic data
(registers S331, S333, S335 ... S353)
0
0
Between 1 and 49
Between 1 and 49
Example of a frame received by a single-phase blue counter that has been configured with the previous parameters:
Data received (Hex): 49 88 30 32 31 30 32 38 38 31 31 38 35 36 80 00 00 00 00 00 06 96 00 00 00 4A 48 43 2E 2E 00 00 00 00 00 00 17
84 00 00 00 08 80 00 00 00 80 00 00 00
Byte
Data (Hex)
umber
49
0
88
1
30 32 31 30 32 38
2-12
38 31 31 38 35 36
80 00 00 00
14-17
00 00 06 96
18-21
00 00 00 4A
22-25
48 43 2E 2E
26-29
00 00 00 00
30-33
00 00 17 84
34-37
00 00 00 08
38-41
80 00 00 00
42-45
80 00 00 00
46-49
50-53
* Conversion impossible: Either there is a problem in the name of the label, or this label does not return a numeric value and it must be read as
an ASCII data.
2 to 13
14 to 17
Value of the
BASE label
Returned value
(Hexadecimal)
0x00000000
0x80000000
0x00000000
Any ASCII values
Associat-
Associated
ed label
size (Byte)
ADCO
12
BASE
4
HCHC
4
HCHP
4
OPTARIF
4
DEMAIN
4
IINST
4
IMAX
4
BBRHCJB
4
BBRHPJB
4
PTEC
4
18 to 21
22 to 25
PAYLOAD
Value of the
Value of the
HCHC label
HCHP label
Interpretation
The numeric value is 0
Numeric conversion is not possible.
Cause: Either the label is not recognized or present, or the returned data
is a character string that does not represent numerical values, or the string
represents values encoded on more than 32 bits.
The name of the label is not recognized or the label is not present
The label is well recognized and the ASCII string read
Conversion type
Hex => ASCII because S331 ≠ 0
Hex => Decimal because S333=0
Hex => Decimal because S335=0
Hex => Decimal because S337=0
Hex => ASCII because S339 ≠ 0
Hex => ASCII because S341 ≠ 0
Hex => Decimal because S343=0
Hex => Decimal because S345=0
Hex => Decimal because S347=0
Hex => Decimal because S349=0
Hex => ASCII because S351 ≠ 0
26 to 29
...
Value of the
...
OPTARIF label
BBRHPJB label
Interpreted Data
Bit 3 = 1 because data frame is
too long
ADCO = 021028811856
BASE = Conversion impossible*
HCHC = > 1686
HCHC = > 74
OPTARIF = HC.
DEMAIN = Label not recognized
IINST = 6020
IMAX = 8
BBRHCJB => Conversion impos-
sible*
BBRHPJB => Conversion impos-
sible*
No data because maximum size
(49 bytes) of frame reached
FR
46 to 49
Value of the
EN
Page
83
of 98

Publicité

Table des Matières
loading

Table des Matières