Mantracourt T24-BSi User manual

T24
Technical Manual
Programming guide & advanced
documentation
User Manual
www.mantracourt.co.uk

Mantracourt Electronics Limited T24 Technical Manual
1
Introduction / Overview .......................................................................................................... 6
2.4GHz adio General ............................................................................................................ 6
Communicating with T24 Devices .............................................................................................. 6
Packet Types ...................................................................................................................... 6
Packet Structure ................................................................................................................. 6
Handling Base Station Data .................................................................................................. 6
CRC .............................................................................................................................. 6
Packet Type Byte ..............................................................................................................
Data Packet Structures ....................................................................................................... 8
Data Provider ................................................................................................................. 8
Packet Type ............................................................................................................... 8
Data Tag .................................................................................................................... 8
Status ....................................................................................................................... 8
Data Type .................................................................................................................. 8
Data ......................................................................................................................... 9
RSSI .......................................................................................................................... 9
CV ........................................................................................................................... 9
Read ........................................................................................................................... 9
Packet Type ............................................................................................................... 9
To ID ........................................................................................................................ 9
Command .................................................................................................................. 9
Write ........................................................................................................................... 9
Packet Type ............................................................................................................... 9
To ID ........................................................................................................................ 9
Command .................................................................................................................. 9
Data Type .................................................................................................................. 9
Responses to Read and Write… ......................................................................................... 10
ACK ........................................................................................................................... 10
Packet Type ............................................................................................................. 10
From ID ................................................................................................................... 10
RSSI ........................................................................................................................ 10
CV ......................................................................................................................... 10
Packet Type ............................................................................................................. 11
From ID ................................................................................................................... 11
Data Type ................................................................................................................ 11
RSSI ........................................................................................................................ 11
CV ......................................................................................................................... 11
NAK ........................................................................................................................... 11
Packet Type ............................................................................................................. 11
From ID ................................................................................................................... 12
RSSI ........................................................................................................................ 12
CV ......................................................................................................................... 12
TIMEOUT .................................................................................................................... 12
Packet Type ............................................................................................................. 12
From ID ................................................................................................................... 12
RSSI ........................................................................................................................ 12
CV ......................................................................................................................... 12
DATA INVALID .............................................................................................................. 12
Packet Type ............................................................................................................. 12
From ID ................................................................................................................... 12
RSSI ........................................................................................................................ 12
CV ......................................................................................................................... 12
Pairing… ..................................................................................................................... 12
Pair Request ................................................................................................................ 13
Packet Type ............................................................................................................. 13
Data Tag .................................................................................................................. 13
Direction ................................................................................................................. 13
Config ..................................................................................................................... 13
Duration .................................................................................................................. 13
Pair Response .............................................................................................................. 14
Packet Type ............................................................................................................. 14
From ID ................................................................................................................... 14
Data Tag .................................................................................................................. 14
RSSI ........................................................................................................................ 14
CV ......................................................................................................................... 14
T24-BSi and T24-BSu [Base Station] .......................................................................................... 15

Mantracourt Electronics Limited T24 Technical Manual
2
Overview .......................................................................................................................... 15
Addressing ..................................................................................................................... 15
Multipoint Base Stations .................................................................................................... 15
Connection ....................................................................................................................... 16
Interfaces ...................................................................................................................... 1
RS232 ........................................................................................................................ 1
RS485 ........................................................................................................................ 1
Serial Limitations .......................................................................................................... 1
USB ........................................................................................................................... 18
USB Communications ................................................................................................... 18
LED Indication ................................................................................................................... 19
Communications ................................................................................................................. 20
Parameter List ................................................................................................................ 20
Installation ....................................................................................................................... 21
Specification ..................................................................................................................... 21
T24-SA [Strain Acquisition] ..................................................................................................... 22
Overview .......................................................................................................................... 22
Communications ................................................................................................................. 22
Parameter List ................................................................................................................ 22
Data Provider Format .......................................................................................................... 24
Measurement Resolution ....................................................................................................... 24
Power Supply .................................................................................................................... 24
Battery Life .................................................................................................................... 24
Installation ....................................................................................................................... 25
Antennas ....................................................................................................................... 25
T24-VA [0-10V Voltage Acquisition] .......................................................................................... 26
Overview .......................................................................................................................... 26
Communications ................................................................................................................. 26
Parameter List ................................................................................................................ 26
Data Provider Format .......................................................................................................... 28
Measurement Resolution ....................................................................................................... 28
Power Supply .................................................................................................................... 28
Battery Life .................................................................................................................... 28
See Appendix B – Acquisition Module Battery Life – Non Strain Gauge Input ......................................... 28
Antennas ....................................................................................................................... 28
T24-IA [4-20mA Current Acquisition] ........................................................................................ 29
Overview .......................................................................................................................... 29
Communications ................................................................................................................. 29
Parameter List ................................................................................................................ 29
Data Provider Format .......................................................................................................... 31
Measurement Resolution ....................................................................................................... 31
Power Supply .................................................................................................................... 31
Battery Life .................................................................................................................... 31
See Appendix B – Acquisition Module Battery Life – Non Strain Gauge Input Installation .......................... 31
Installation ....................................................................................................................... 32
Antennas ....................................................................................................................... 32
T24-SAf [Strain Acquisition Fast] ............................................................................................. 33
Overview .......................................................................................................................... 33
Communications ................................................................................................................. 33
Parameter List ................................................................................................................ 33
Data Provider Format .......................................................................................................... 34
Measurement Resolution ....................................................................................................... 35
Power Supply .................................................................................................................... 35
Installation ....................................................................................................................... 35
Antennas ....................................................................................................................... 35
T24-PA [Pulse Acquisition] ..................................................................................................... 36
Overview .......................................................................................................................... 36
Communications ................................................................................................................. 36
Parameter List ................................................................................................................ 36
Data Provider Format .......................................................................................................... 38
Power Supply .................................................................................................................... 38
Battery Life .................................................................................................................... 38
See Appendix B – Acquisition Module Battery Life – Non Strain Gauge Input ......................................... 38
Installation ....................................................................................................................... 38
Antennas ....................................................................................................................... 38
T24- A [ esistance (Potentiometer) Acquisition] ......................................................................... 39

Mantracourt Electronics Limited T24 Technical Manual
3
Overview .......................................................................................................................... 39
Communications ................................................................................................................. 39
Parameter List ................................................................................................................ 39
Data Provider Format .......................................................................................................... 41
Measurement Resolution ....................................................................................................... 41
Power Supply .................................................................................................................... 41
Battery Life .................................................................................................................... 42
See Appendix B – Acquisition Module Battery Life – Non Strain Gauge Input ......................................... 42
Installation ....................................................................................................................... 42
Antennas ....................................................................................................................... 42
T24-TA [Temperature Acquisition Pt100] ................................................................................... 43
Overview .......................................................................................................................... 43
Various devices are available that utilise the transmitted data and include handheld displays etc ............. 43
Communications ................................................................................................................. 43
Parameter List ................................................................................................................ 43
Data Provider Format .......................................................................................................... 44
Measurement Resolution ....................................................................................................... 45
Power Supply .................................................................................................................... 45
Battery Life .................................................................................................................... 45
See Appendix B – Acquisition Module Battery Life – Non Strain Gauge Input ......................................... 45
Installation ....................................................................................................................... 45
Antennas ....................................................................................................................... 45
T24-HS [Handheld eader Simple] ............................................................................................ 46
Overview .......................................................................................................................... 46
Communications ................................................................................................................. 46
Parameter List ................................................................................................................ 46
Power Supply .................................................................................................................... 4
Installation ....................................................................................................................... 48
T24-HA [Handheld eader Advanced] ....................................................................................... 49
Overview .......................................................................................................................... 49
Automatic Pairing ............................................................................................................ 49
Manual Configuration ........................................................................................................ 49
Available Modes .............................................................................................................. 49
Item Mode................................................................................................................... 49
Result Mode................................................................................................................. 50
Communications ................................................................................................................. 50
Parameter List ................................................................................................................ 51
Power Supply .................................................................................................................... 54
Installation ....................................................................................................................... 54
T24-H [Handheld eader oaming] ......................................................................................... 55
Overview .......................................................................................................................... 55
Communications ................................................................................................................. 55
Parameter List ................................................................................................................ 55
Power Supply .................................................................................................................... 56
Installation ....................................................................................................................... 56
T24-SO [Serial Output] .......................................................................................................... 57
Overview .......................................................................................................................... 5
Configuration .................................................................................................................... 5
Communications ................................................................................................................. 5
Parameter List ................................................................................................................ 5
Tokens ............................................................................................................................ 62
Configuration Examples ..................................................................................................... 62
LED Display From a Single Source....................................................................................... 62
Summed LED Display From Dual Source ............................................................................... 63
Print Gross Sum of 2 Devices To Printer ............................................................................... 63
Customer Ticket From Handheld Device .............................................................................. 64
LED Mode Indication ......................................................................................................... 64
Power Supply .................................................................................................................... 64
Installation ....................................................................................................................... 64
Connections ...................................................................................................................... 65
Serial Settings ................................................................................................................... 65
T24-AO1 [Analog Output] ....................................................................................................... 66
Overview .......................................................................................................................... 66
Configuration .................................................................................................................... 66
Communications ................................................................................................................. 66
Parameter List ................................................................................................................ 66

Mantracourt Electronics Limited T24 Technical Manual
4
Connections ...................................................................................................................... 68
Output Range Setting........................................................................................................... 69
T24-WSS [Wind Speed Sensor] ................................................................................................. 70
Overview .......................................................................................................................... 0
Communications ................................................................................................................. 0
Parameter List ................................................................................................................ 0
Data Provider Format .......................................................................................................... 2
Power Supply .................................................................................................................... 2
Battery Life .................................................................................................................... 2
Installation ....................................................................................................................... 3
Antennas ....................................................................................................................... 3
Appendix A ......................................................................................................................... 74
Communications Software Overview ........................................................................................ 4
Operational Modes ........................................................................................................... 4
Deep sleep .................................................................................................................. 4
Default Running ............................................................................................................ 4
Paused ....................................................................................................................... 4
Operation ................................................................................................................... 4
Configuration ............................................................................................................... 4
Data Acquisition ........................................................................................................... 5
Data Type Formats ..............................................................................................................
UINT8 ...........................................................................................................................
UINT16 .........................................................................................................................
INT32 ...........................................................................................................................
Float ............................................................................................................................
String ...........................................................................................................................
Binary ...........................................................................................................................
RSSI, CV and LQI ................................................................................................................. 8
Unslotted CSMA/CA ............................................................................................................. 9
With CSMA Disabled .......................................................................................................... 9
With CSMA Enabled .......................................................................................................... 9
Data Provider Control Interface DPCI (Advanced) ......................................................................... 9
Manual Implementation ..................................................................................................... 9
Example ..................................................................................................................... 80
Base Station Assisted ........................................................................................................ 80
Examples .................................................................................................................... 80
Cancelling ................................................................................................................... 81
Appendix B ......................................................................................................................... 82
Radio Range ...................................................................................................................... 82
Example 1...................................................................................................................... 82
Example 2...................................................................................................................... 82
Example 3...................................................................................................................... 83
Example 4...................................................................................................................... 84
Antenna Basics ................................................................................................................... 85
Gain ............................................................................................................................. 85
Polarisation .................................................................................................................... 85
Mounting Requirements ..................................................................................................... 85
Receiver Input Power and RSSI Relationship ............................................................................ 85
Path Loss at 2.4GHz .......................................................................................................... 86
Power Density ................................................................................................................. 8
RF Exposure Limits ........................................................................................................... 8
Antenna Installation ......................................................................................................... 8
Internal Chip Antenna .................................................................................................... 8
External Antennas ......................................................................................................... 89
Acquisition Module Power Supply ......................................................................................... 89
Battery Types .............................................................................................................. 89
In-line Battery Modules ................................................................................................... 90
Acquisition Module Battery Life – Strain Gauge Input ................................................................. 90
Rough Guide ................................................................................................................ 90
Accurate Guide ............................................................................................................ 91
Acquisition Module Battery Life – Non Strain Gauge Input ............................................................ 92
Accurate Guide ............................................................................................................ 92
Appendix C ......................................................................................................................... 94
Customising T24 Toolkit ....................................................................................................... 94
Appendix D ......................................................................................................................... 95
Approvals ......................................................................................................................... 95

Mantracourt Electronics Limited T24 Technical Manual
5
CE ............................................................................................................................... 95
FCC .............................................................................................................................. 95
Industry Canada ................................................................................................................. 95
OEM / Reseller Marking and Documentation Requirements .......................................................... 96
FCC ........................................................................................................................... 96
IC ............................................................................................................................. 96
CE ............................................................................................................................ 96
Worldwide Regional Approvals ............................................................................................. 9
Important Note ............................................................................................................... 9

Mantracourt Electronics Limited T24 Technical Manual
6
Introduction / Overview
This manual contains advanced information on T24 telemetry range of devices. This includes more detailed
information than supplied in the device manuals and also programming information.
To communicate with T24 devices a base station is required. Base stations will offer RS232, RS485 and USB
interfaces.
Refer to the Base Station section T24-BSi and T24-BSU for details on connections and interfacing.
2.4GHz Radio General
Communicating wit T24 Devices
To communicate with T24 devices a base station is required. Base stations offer RS232, RS485 and USB interfaces.
In this section we will describe the interfaces and how data shall be sent to and retrieved from other T24 devices
via the base station.
For details regarding device specific communications you will need to refer to the appropriate device section of
the manual.
Packet Types
There are several different packet types which are used depending on the type of data carried.
Read and Write packets are used to communicate with a device (When it is awake) and can read or write
parameter values.
Some devices transmit data at regular intervals and this data does not need requesting.
Woken packets are received when a device is successfully woken.
Packet Structure
All packets conform to the following structure. The Data Packet part changes depending on what packet is being
transported.
**Length
**Length
Base
Address
Packet
Type
Data Packet Structure
*C C1 LSB
*C C2 MSB
1 Byte
1 Byte
1 Byte
1 Byte
Variable Bytes
1 Byte
1 Byte
* CRC calculated on this part
** Length refers to this sec
tion
This Transport Packet is used to carry the Data Packets into and out of the target device via the base station.
Where:
Length bytes are identical and contain the length of just the Data Packet section.
The CRC bytes are CRC 16 values of all bytes from Length up to and including Data section.
Base Address is the address of the base station used where multiple base stations are deployed. Base station
addresses can range from 1 to 16 and is set by DIP switches on the base station. NOTE: The T24-BSU is fixed
at address 1.
The Packet Type byte defines the packet type thus defining the Data Packet Structure. In received packets
this byte also indicates Error, Low Battery and Broadcast status.
Handling Base Station Data
The packets arriving at the base station serial or USB port are not handshaken. Data may arrive as a partial
packet or many packets may arrive together. Therefore the recommended best practice to handle data is to place
arriving data into a circular buffer and to detect the packets from this buffer by looking for a length byte pair.
Then look forward in the buffer at the CRC position (if the buffer contains enough bytes) and check whether the
CRC is valid. If so you can extract and use the packet. If not then advance the start of the circular buffer until
you find a matching byte pair then check for a valid CRC again.
CRC
The CRC algorithm is identical to that used in Modbus communications and should be calculated for outgoing
packets and checked on incoming packets. The following BASIC example is of a function that will calculate the
CRC of a string and append the two CRC bytes to the end of the string
SUB GenerateCRC16(sTarget AS STRING)

Mantracourt Electronics Limited T24 Technical Manual
'reads from buffer
DIM CRC AS ONG
DIM SB AS INTEGER
DIM C AS ONG
DIM D AS INTEGER
DIM Res(1) AS BYTE
CRC = 65535
FOR C = 1 TO EN(sTarget)
'xor byte
CRC = CRC XOR ASC(MID$(sTarget, C, 1))
FOR D = 1 TO 8
'get lsb
SB = (CRC AND 1) = 1
'move right
CRC = INT(CRC / 2)
'if SB was 1 xor with polynomial
IF SB THEN CRC = CRC XOR (&HA001&)
NEXT D
NEXT C
sTarget = sTarget & CHR$((CRC AND 255))
sTarget = sTarget & CHR$(INT(CRC / 256))
END SUB
Packet Type Byte
The Packet Type bytes indicates the type of packet and holds information regarding Error, Low Battery and
Broadcast status of received packets.
bit
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Error
LoBatt
Broadcast
Pack
et Type
0
0
0
0
0
0
0
0
Bit
Function
Error
Bit indicated an error is present.
This is set and reset by the
device which will include this
information in the packet sent to
the module.
LoBatt
Bit indicated a low battery. This
is set and reset by the device
which will include this
information in the packet sent to
the module.
Broadcast
Used to indicate that a routed
packet was broadcast so the
receiver knows not to respond.
Value
Type
Description
3
Data Provider
Used to provide
unrequested data.
5
Read
Read data from a specific
device.
6
Write/command
Write a value or execute a
command to a specific
device
Response ACK
Response
-
Acknowledged.
May also contain data.
8
Response NAK
Response
-
Not
Acknowledged. The
command was not
recognised.
9
Response
Timeout
Response Timed out. A
response was not received
by the device.
10
Response Data
Invalid
Response
–
Data invalid.
The device has reported
that the data in a Write was
invalid or out of range.

Mantracourt Electronics Limited T24 Technical Manual
8
Data Packet Structures
The following structures show how the data is defined within the Data Packet Structure of the overall packet.
Data Provider
These packets are sent at intervals by some devices and contain data. There is no need to request these packets
as they arrive automatically. If you have multiple base stations and these are within the range of the transmitting
device the packets will arrive from each base station.
Packet Type
Data
Tag
Status
Data
Type
Data
RSSI
CV
03
00
00
00
00
[…]
00
00
Packet Type
This is 0x3 hex (3 decimal) and may have higher bits set which indicate Error, Low Battery and Broadcast.
Data Tag
Every device that transmits Data Provider packets has a configurable 2 byte Data Tag. Devices that consume Data
Provider Packets can be configured to look for specific Data Tags. The reason we use Data Tags and not just rely
on a devices ID for identification is that in a working system multiple devices may be relying on data from a single
device. If that device were ever replaced then its unique ID would change and therefore multiple devices would
have to be reconfigured. By using a Data Tag we only need to change this tag on the replacement device and the
rest of the system will work as required.
Status
The bit values in this byte are used to indicate certain things. Only two bits are allocated a global meaning. The
rest are device specific and you will need to refer to the device manual for clarification.
Status Byte
bit
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit0
X
X
X
X
X
X
Integrity
Shunt Cal
Data Type
This byte defines how the data is formatted in this packet and also indicates the best way to represent the data.
Function
Display As
Data Type
Bit
6
5
4
3
2
1
0
Sample
0
1
1
1
1
0
0
1
Display As
Type
Description
0
Undefined
1
Numeric
Numeric representati
on based on Data Type
2
Boolean
The data may be in any format but represents a boolean result
where non zero numeric is True and string length > 1 or > 0 is
True
3
Text
Can display as ascii text
4
Binary (unprintable)
Unprintable characters
5
Hex
Best
represented as hex
6
Bit Map (10110101)
Each bit value should be shown
Percent
Numeric or string value has a value 0
-
100
Data Type
Description
Size In Bytes
0
No content/unknown
0
1
UINT8
1
2
UINT16
2
3
INT32
4
4
Float
4
5
String
0
-
64
6
Bina
ry
0
-
64
NOTE: See Data Type Formats in Appendix A
The Display As bits should be used where possible as this can help in presenting the data for display purposes.

Mantracourt Electronics Limited T24 Technical Manual
9
Data
This will be of variable length and will depend on the data type.
RSSI
This indicates the signal strength that this packet was received at. See SSI & CV in Appendix A.
CV
This indicates correlation value which equates to the quality of the signal when this packet was received. See
SSI & CV in Appendix A.
See Advanced Data Provider Interface in
Read
The read packets are used to read parameters from a remote device or the base station itself. To talk to the base
station just use the base station ID. The module you are communicating with must not be in low power mode and
you will need to know its ID.
Packet Type
To ID
Command
05
00
00
00
00
Packet Type
This is 0x5 hex (5 decimal).
To ID
This is the ID of the device to read from (MSB first).
Command
The command number of the parameter you want to read. You will need to refer to the device manual for this
information.
Write
The write packet is used to write parameter values to a device or execute commands.
You can write any supported data format to any other data format parameter but some formats are not very
suitable. i.e. You can write an INT32 formatted value to a parameter that is just a UINT8 but if the value exceeds
either the target data type limits or any other bounded limits imposed by the device you will receive an
INVALID_DATA response.
When executing a command you do not need any data so it is usual to specify the data type as No Content (zero)
and not include any data.
Packet Type
To ID
Command
Data Type
Data
06
00
00
00
00
00
[…]
Packet Type
This is 0x6 hex (6 decimal).
To ID
This is the ID of the device to write to from (MSB first). You can use the broadcast ID here of 0xFFFFFF (255
decimal for each of the To ID bytes) but be careful as this will write the value to all devices on the same channel
and encryption key. You may have mixed device types so command numbers between devices may be different.
Use broadcast with care.
Command
The command number of the parameter you want to write to. You will need to refer to the device manual for this
information.
Data Type
Specify the data type of the data you are sending.
Data types are as follows:
Data Type
Description
Size In Bytes
0
No content/unknown
0
1
UINT8
1
2
UINT16
2
3
INT32
4

Mantracourt Electronics Limited T24 Technical Manual
10
4
Float
4
5
String
0
-
64
6
Binary
0
-
64
NOTE: See Data Type Formats in Appendix A
Responses to Read and Write…
The response to either a read or write can be as follows:
Responses to Read: ACK, NAK, TIMEOUT
Responses to Write: ACK, NAK, TIMEOUT, DATAINVALID
ACK
If the ACK response is for a write then it will not contain data:
Packet Type
From ID
RSSI
CV
0
00
00
00
00
00
Packet Type
This is 0x hex ( decimal) and may have higher bits set which indicate Error, Low Battery and Broadcast.
From ID
This contains the ID of the device that sent the packet.
RSSI
This indicates the signal strength that this packet was received at. See SSI & CV in Appendix A.
CV
This indicates correlation value which equates to the quality of the signal when this packet was received. See
SSI & CV in Appendix A
If the ACK is in response to a READ then it will contain data:
Packet Type
From ID
Data Type
Data
R
SSI
CV
0
00
00
00
00
[…]
00
00

Mantracourt Electronics Limited T24 Technical Manual
11
Packet Type
This is 0x hex ( decimal) and may have higher bits set which indicate Error, Low Battery and Broadcast.
From ID
This contains the ID of the device that sent the packet.
Data Type
This byte defines how the data is formatted in this packet and also indicates the best way to represent the data.
Function
Display As
Data Type
Bit
6
5
4
3
2
1
0
Sample
0
1
1
1
1
0
0
1
Display As
Type
Description
0
Undefined
1
Numeric
Numeric representation based on Data
Type
2
Boolean
The data may be in any format but represents a boolean result
where non zero numeric is True and string length > 1 or > 0 is
True
3
Text
Can display as ASCII text
4
Binary (unprintable)
Unprintable characters
5
Hex
Best represented as he
x
6
Bit Map (10110101)
Each bit value should be shown
Percent
Numeric or string value has a value 0
-
100
Data Type
Description
Size In Bytes
0
No content/unknown
0
1
UINT8
1
2
UINT16
2
3
INT32
4
4
Float
4
5
String
0
-
64
6
Binary
0
-
64
NOTE: See Data Type Formats in Appendix A
RSSI
This indicates the signal strength that this packet was received at. See SSI & CV in Appendix A.
CV
This indicates correlation value which equates to the quality of the signal when this packet was received. See
SSI & CV in Appendix A
NAK
This packet is returned if the device receiving the read or write does not recognize the command number.
Packet Type
From ID
RSSI
CV
08
00
00
00
00
00
Packet Type
This is 0x8 hex (8 decimal) and may have higher bits set which indicate Error, Low Battery and Broadcast.

Mantracourt Electronics Limited T24 Technical Manual
12
From ID
This contains the ID of the device that sent the packet.
RSSI
This indicates the signal strength that this packet was received at. See SSI & CV in Appendix A.
CV
This indicates correlation value which equates to the quality of the signal when this packet was received. See
SSI & CV in Appendix A
TIMEOUT
This packet is returned if the device does not respond.
Packet Type
From ID
RSSI
CV
09
00
00
00
00
00
Packet Type
This is 0x9 hex (9 decimal) and may have higher bits set which indicate Error, Low Battery and Broadcast.
From ID
This contains the ID of the device that sent the packet.
RSSI
This indicates the signal strength that this packet was received at. See SSI & CV in Appendix A.
Note: Some versions of modules may not send the SSI and CV bytes.
CV
This indicates correlation value which equates to the quality of the signal when this packet was received. See
SSI & CV in Appendix A
Note: Some versions of modules may not send SSI and CV bytes.
DATA INVALID
This packet is returned if the device has been written to and the data written is invalid.
Packet Type
From ID
RSSI
CV
0A
00
00
00
00
00
Packet Type
This is 0xA hex (10 decimal) and may have higher bits set which indicate Error, Low Battery and Broadcast.
From ID
This contains the ID of the device that sent the packet.
RSSI
This indicates the signal strength that this packet was received at. See SSI & CV in Appendix A.
CV
This indicates correlation value which equates to the quality of the signal when this packet was received. See
SSI & CV in Appendix A
Pairing…
Pairing is a method of communicating between two devices so that they configure themselves to one or another's
radio settings and enables them to identify each other by means of ID and default Data Tag.
Additionally the pairing mechanism can pause a device from performing its default behaviour as some devices
operate in a low power mode where they are mostly asleep. This makes communications impossible so the pairing
process stops the low power behaviour.
The pairing process is usually initiated by one device (a handheld for example or PC software using a base station)
and this enters pairing master mode and is ready to pair for a user defined time period.

Mantracourt Electronics Limited T24 Technical Manual
13
Next the other device is put into its pair mode at which time it negotiates with the other device and they will
decide on what to do based on their function. Devices are normally put into pair mode by power cycling them.
Please refer to the device documentation.
For the scope of this document we are concerned with manually controlling the pairing using a base station.
You would use pairing for the following reasons:
You have a device whose communications settings are unknown.
You want to connect to a device that operates in low power mode and is mostly asleep.
The device you want to talk to may have a normal operational function that you want pausing while you
configure it.
You just want to change the communications settings of a device to match it to a base station settings.
Pair Request
Packet Type
Data Tag
Direction
Config
Duration (optional)
13
00
00
00
00
00
Packet Type
This is 0x13 hex (19 decimal).
Data Tag
You need to supply a Data Tag which may be useable by the device to which you are pairing. Usually from a base
station this is not required and can be set to 0x00, 0x00.
This is present as the same mechanism is used when two devices pair together and in that case they will each
want to give the other their default Data Tag.
Direction
The value of this byte determines whether the remote device radio settings are configured to match the base
station or if the base station is changed to match the remote device. Both the Channel and the encryption key are
matched once pairing has completed.
Value
Meaning
0
The settings in
the remote device are changed to match the base station settings.
1
The base station settings are changed to match the remote device.
Config
The value of this byte determines whether the remote device will enter configuration mode which will inhibit any
low power operation, transmission of data provider packets and the ability to enter deep sleep mode. This mode
is required otherwise communication whilst configuring could be very poor or impossible.
Value
Meaning
0
Do not change operation.
1
Cause th
e device to enter config mode to enable it to be configured.
NOTE: after pairing with a device and using the Config option it is recommended that the device be power cycled
after so that it resumes its normal operation.
.
Duration
The value of this byte determines whether the base station will be in pair mode for the default time of 5 seconds
or whether to use the user defined duration in seconds.
To use the default just omit this byte. If this byte is present its ASCII value will be used to determine how long it
will be in pairing mode.
NOTE: While in pairing mode the base station will not operate as normal.
If the remote device enters its own pair mode (non master) then the communications negotiations will take place
and the device may come out of any low power modes and a response will be sent to the base station.

Mantracourt Electronics Limited T24 Technical Manual
14
Pair Response
This packet will arrive at the base station if another device enters pair mode while the base station is waiting to
pair. Once this packet has arrived the base station will be free to talk to the device. It can also determine the
device ID and Default Data Tag if it needs this information.
Packet
Type
From ID
Data Tag
RSSI
CV
14
00
00
00
00
00
00
00
Packet Type
This is 0x14 hex (20 decimal) and may have higher bits set which indicate Error, Low Battery and Broadcast.
From ID
This contains the ID of the device that paired.
Data Tag
This contains the default Data Tag of the paired device.
RSSI
This indicates the signal strength that this packet was received at. See SSI & CV in Appendix A.
CV
This indicates correlation value which equates to the quality of the signal when this packet was received. See
SSI & CV in Appendix A
NOTE: After configuration or calibration you should power cycle the paired device to return it to normal
operation.

Mantracourt Electronics Limited T24 Technical Manual
15
T24-BSi and T24-BSu [Base Station]
Overview
These devices are base stations and interface between the radio and a physical interface for a connection to a
PC, PLC or other device.
Addressing
Usually only a single base station is required in a telemetry installation. If a telemetry device is outside the range
of the base station a repeater may be deployed.
Some complex topologies may only be realized by using multiple base stations which may require changes to the
Address switches. See Multipoint Base Station Section.
Multipoint Base Stations
Sometimes more than one base station is required in a system. This may simply be a central PC with two base
stations wired off in opposite directions.
Where one base station handles devices on the left and the other those on the right.
Multiple base stations allow flexibility in routing requests from a PC as each time a packet is sent to a base
station it is targeted to a particular base station Address. When a packet arrives back at a PC it contains the
Address of the base station that routed it.
If a base station is the only one connected to a particular serial port then every base station can have Address 1
as the PC will send packets to a particular port to select which base station handles a packet, likewise packets
arriving back at the PC will be identified by the port that they arrive on.
RS232 devices can only be connected one at time anyway but RS485 allows multiple devices on the same bus. This
is where the Addressing is vital as it is this that distinguishes between base stations.
When using USB base stations you may only ever have one T24-BSu connected to a PC at any time. Using T24-BSi
will allow multiple USB base stations to be connected to single PC. Unique Addresses are again required in this
instance.
Note that broadcast packets can be received by multiple base stations so packets may appear duplicated at the
PC end.
It is also possible for the PC to route a packet through all connected base stations by Addressing a packet to
Address 0.
NOTE: Although it is possible to connect multiple USB base stations to a PC the T24drv.dll driver supplied by
Mantracourt only supports one Base Station Addressed as 1.
So when using a T24-BSi which supports USB but also has a DIP switch to allow Address setting the Address must
be set to 1. The T24-BSu devices are manufactured with a fixed Address of 1.

Mantracourt Electronics Limited T24 Technical Manual
16
Connection
The interface can be selected from the DIP switches SW1 as can baudrates for serial interfaces and the Address of
the base station.
SW1 Settings (T24-BSi only)
Switch positions 1 to 4 select the base station Address. This should normally be 1.
1
2
3
4
Address
1
Off
Off
Off
Off
2
On
Off
Off
Off
3
Off
On
Off
Off
4
On
On
Off
Off
5
Off
Off
On
Off
6
On
Off
On
Off
7
Off
On
On
Off
8
On
On
On
Off
9
Off
Off
Off
On
10
On
Off
Off
On
11
Off
On
Off
On
12
On
On
Off
On
13
Off
Off
On
On
14
On
Off
On
On
15
Off
On
On
On
16
On
On
On
On
Switch positions 5 to set whether serial or USB is used. If USB is not selected then the chosen switch settings
control the baudrate for the serial interface. Whether the serial interface is RS485 or RS232 is selected by switch
position 8.
5
6
7
Baudrate / USB
USB
Off
Off
Off
9600
On
Off
Off
19200
Off
On
Off
38400
On
On
Off
57600
Off
Off
On
1152
00
On
Off
On
230400
Off
On
On
460800
On
On
On
NOTE:
A baudrate of 9600 (and in some cases 19200) is not suitable for 2 way communication with remote devices as it is too slow and causes
timeouts. This baudrate has been included to enable the base station to be connected to a 9600 baud device to allow low rate Data
Provider packets to be received.
At any rate below 230400 is may be possible to lose packets at high data rates as the serial cannot keep pace with the radio
transmissions.
If USB is not selected as the interface (Switch positions 5 to ) then this switch position selects whether the serial
interface is RS232 or RS485.
8
232/485
S232
Off
S485
On

Mantracourt Electronics Limited T24 Technical Manual
1
Interfaces
RS232
The RS232 interface uses TX, RX and GND to connect to a PC, PLC etc and uses standard RS232 voltage levels.
Handshaking
None
Data Size
8 bits
Stop Bits
1 bit
Parity
None
The baudrate can be selected by setting the DIP switches stated above. NOTE: the base station will require power
cycling to utilise a baudrate change.
Example connection to a PC 9 way D serial connector.
PC 9 Way D Plug Pin
Signal
Direction
Base Station Connection
3 (TX)
-
>
RX
J6 Pin 2 or J Pin 3
2 (RX)
<
-
TX
J6 Pin 3 or J Pin 2
5 (Gnd)
GND
J6 Pin 4 or J Pin 5
8 (CTS)
<
-
CTS
J6 Pin 1 or J Pi
n 8
RS485
The RS485 interface (This is a 2 wire 485 interface and will not work with 4 wire 485 buses) uses TX, RX and GND
to connect to a PC, PLC etc and uses standard RS485 voltage levels.
Handshaking
None
Data Size
8 bits
Stop Bits
1 bit
Parity
No
ne
The baudrate can be selected by setting the DIP switches stated above. NOTE: the base station will require power
cycling to utilise a baudrate change.
Example connection
Depending on the RS485 interface or hardware the connections vary and are not standard therefore we can only
show the connections to the base station. You must refer to the user manual regarding your RS485 connection to
ascertain the correct connections.
PC / PLC Connection
Signal
Direction
Base Station Connection
Refer to RS485 Dev
ice User Manual
A
J4 Pin 3 or J5 Pin 3
Refer to RS485 Device User Manual
B
J4 Pin 4 or J5 Pin 4
Refer to RS485 Device User Manual
GND
J4 Pin 5 or J5 Pin 5
NOTE: There are two connectors for RS485, J4 and J5. This is to facilitate easy daisy chaining of devices if
required.
Serial Limitations
• When using RS232 or RS485 you should use the fastest baudrate possible. At lower rates data can be lost
because it can arrive from the radio faster than the base station can send it serially.
• At 9600 baud you will experience communications problems when configuring devices. This baudrate is
too slow for anything other than monitoring data provider packets from devices and even then these
should be at a low rate (around 20 per second ). The slow baudrates are provided to get low rate data
into older systems.
• RS485 is a bus master system and is not ideally suited to full communications with devices when multiple
devices are providing data. This is fine for the normal operation of data acquisition but it is recommended
that only the device to be configured is active during configuration.

Mantracourt Electronics Limited T24 Technical Manual
18
USB
Connection to the base station will be either a captive USB cable (T24-BSu) or a USB socket B for connection using
a standard USB A-B cable (T24-BSi). There is an optional cable assembly for the T24-BSi to provide for a USB
connection while the device is still fitted to the ABS case.
To communicate with the base station the connected device must use the USB HID Device Class and support USB
2.0 full speed interface (12mbits).
The USB connection will also power the base station.
USB Communications
Using the Mantracourt T24drv.dll driver is the easiest way to communicate with the base station. However, if you
want to write your own communications software you will need the following information:
Vendor ID: 601 (0x1 81 hex)
Product ID: 2980 (0xBA4 hex)
Incoming packets are read from report 0 and contain 64 bytes of data. There will always be 64 bytes of even if
there is only a few bytes of valid data. These bytes will need placing into a buffer and your software will need to
detect and extract complete packets.
Outgoing data is written to report 0 and must always contain 64 bytes of data. Any unused bytes should be set to
zero.
Please note that 65 bytes of data are actually sent and received but the first byte indicates the report number so
this is always zero.
Parameter
Value
Vendor ID
0x1 81 (601 decimal)
Product ID
0xBA4 (2980 decimal)
Setup Class
HIDClass
Service Name
HidUsb
Parameter
Value
Connection Information
ConnectionIndex
0x1
CurrentConfigurationValue
0x1
LowSpeed
FALSE
DeviceIsHub
FALSE
DeviceAddress
0x1
Number f penPipes
0x2
Pipe #0
Endpoint Descriptor
bLength
0x7
bEndpointAddress
0x1 [OUT]
bmAttributes
0x3 (USB_END OINT_TY E_INTERRU T)
wMaxPacketSize
0x40
bInterval
0x1
Pipe #1
Endpoint Descriptor
bLength
0x7
bEndpointAddress
0x82 [IN]
bmAttributes
0x3 (USB_END OINT_TY E_INTERRU T)
wMaxPacketSize
0x40
bInterval
0x1
Device Descriptor
bLength
0x12
bcdUSB
0x110
bDeviceClass
0x0
bDeviceSubClass
0x0
bDeviceProtocol
0x0
bMaxPacketSize0
0x8
idVendor
0x1781
idProduct
0xBA4
bcdDevice
0x100
iManufacturer
0x1
iProduct
0x2
iSerialNumber
0x3
bNumConfigurations
0x1

Mantracourt Electronics Limited T24 Technical Manual
19
Paramet
er
Value
Configuration Descriptor
bLength
0x9
bDescriptorType
USB_CONFIGURATION_DESCRI TOR_TY E
wTotalLength
0x29
bNumInterfaces
0x1
iConfiguration
0x0
bmAttributes
0x80 ( Bus_ owered )
MaxPower
0x64
Interface Descriptor
bLength
0x9
bInterfaceNumber
0x0
bAlternateSetting
0x0
bNumEndpoints
0x2
bInterfaceClass
0x3 (Human Interface Device)
bInterfaceSubClass
0x0 (No Subclass)
bInterfaceProtocol
0x0 (None)
iInterface
0x0
Endpoint Descriptor
bLength
0x7
bE
ndpointAddress
0x1 [OUT]
bmAttributes
0x3 (USB_END OINT_TY E_INTERRU T)
wMaxPacketSize
0x40
bInterval
0x1
Endpoint Descriptor
bLength
0x7
bEndpointAddress
0x82 [IN]
bmAttributes
0x3 (USB_END OINT_TY E_INTERRU T)
wMaxPacketSize
0x40
bInterval
0x1
NOTE: If you do not want to use the Mantracourt supplied communications DLL (T24drv.dll) you may be interested
in the following:
We have successfully tested EasyHID which supplies the mcHID.dll which is a great generic way of connecting to
HID devices. This library is free and was written to ease both the programming of PIC devices and create sample
code for VB, Delphi and Visual C++.
The USB interface has also been successfully used with Windows CE but we do not supply any drivers for this
operating system.
LED Indication
Two LEDS indicate Power/Mode and Activity.
The red LED indicates mode and should flash at a 2Hz rate. If any errors are detected with the radio then the LED
will remain lit.
The green LED flashes once for each packet received or transmitted via radio, USB or serial.
This manual suits for next models
14
Table of contents
Other Mantracourt Transmitter manuals