Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Transceiver TIC - Guide utilisateur / User guide version V2.0.0
Example : update registre S366 with the TGPHI_s label
Send descending frame : 0x414254475048495f73
- Frame code (hex) : 41 => Update the register
- CONF ID1 (hex) : 42 => Correspond to S366
- Value CONF ID1 (hex) : 54475048495F73 => TGPHI_s (ASCII)
Reception of the rising frame 0x336006016e
- Frame code (hex) : 33
- Status (hex) : 60 => Frame counter OK
- Request status: 06 => Truncated value
- Register ID: 016e => Register concerned by the error: S366
Note: In this example the code error indicate that the data has bees truncated because the downlink frame contained only 7 bytes whereas the
S366 register has a size of 10 bytes (see detail section 3.4.1). It was therefore missing 3 bytes in the frame. In order not to receive this type of
error, it is necessary to complete the data frame with bytes to zero (0x00).
For example you should have the downlink frame = 0x414254475048495f73000000
The uplink frame returned then becomes: 0x33A0010000.
Now we have:
- Frame code (hex) : 32
- Status (hex) : A0 => Frame counter OK
- Request status: 01 => Update done successfully
- Register ID: 0000 => Not used when « Request status » = 01

4.1.7 Periodic data frame

This frame (0x49) is sent according to the period chosen by the user (register S301) and contains the configured periodic data. The organization
of the bytes in this frame therefore depends on the configuration of the user by following the scheduling of the defined tele-polling data.
0
1
Code
Status
0x49
Cf Status
0x49
0xA0
Its size depends on the length of the data defined by the «Length / Data Type» registers (S331, S333, S335, ......, S353).
Example:
If S331 = 0 then the data of the associated register will have a size of 4 bytes (Int32).
If S331 = 1 then the data of the associated register will have a size of 6 bytes (timestamp)
If S331 >1 then the data of the associated register will have a size of X bytes with X equal to the value of S331.
If the configured tag is not detected during N scans, the data returned will be:
That is 0x08000000 if the associated «Length / Data Type» register = 0 (Digital Conversion)
That 01 01 00 00 00 00 (1/1/2000 00:00:00) if the associated «Length / Data Type» register = 1 (Timestamp conversion)
That is 0x000000 ... if the associated «Length / Data Type» register >1 (ASCII Read)
At each periodic frame transmission the default values will be set to guarantee any misinterpretation if the label is no longer being broadcast.
If the data to be transmitted exceeds the capacity of the frame (ie 49 bytes of concatenated periodic data):
Bit 3 of the Status byte (Err config) is raised
Only data that can be fully contained in the frame are concatenated (in order of configuration)
Bit 4 of the Status Byte (TIC Error) could also be set to 1 if a requested label in the configuration (registers 330 to 353) is not present in the
data stream transmitted by the counter.
2
...
50
PAYLOAD
Concatenated periodical data
FR
EN
Page
81
of 98

Publicité

Table des Matières
loading

Table des Matières