T24-So [Serial Output] - Mantracourt T24-BSi Technical Manual

T24 series
Hide thumbs Also See for T24-BSi:
Table of Contents

Advertisement

T24-SO [Serial Output]

Overview
This device creates a serial output which can include data from up to 8 devices and optionally sum them. The
output is suitable for connecting to a printer, serial display or for feeding directly into a PC or PLC.
The actual serial output can be designed by the user using 25 line data parameters which can include free text or
tokens which can represent real data. i.e. <V1> would be decoded as the value from input 1 when the output is
triggered. (Note each parameter can contain multiple lines so an actual printed output can exceed 25 lines)
The serial output can consist of a single line of data suitable for feeding into an LED display module or a more
complex multi-line result that can contain a mixture of fixed and variable data suitable for tickets, receipts etc
for printed output.
Configuration
Once it has been determined how many devices are feeding data to this device you need to know the Data Tag
that each of these devices are attaching to their Data Provider packets.
These Data Tags are then entered into the ValueDataTagx parameters. Once the rate at which this data arrives is
known you can also enter the Timeoutx values.
Leave unused ValueDataTagx parameters with a value of zero to ensure that they are not checked for timeouts
and do not contribute to gross or net sums.
When a data provider packet arrives whose Data Tag matches one of those in the ValueDataTagx parameters the
value it contains will be placed in the Valuex parameter.
If data does not arrive from a device within the Timeoutx period then any reference to either the individual Vx
tokens or one of the summing tokens will result in ------ rather than a numeric value.
The actual serial output can now be constructed using Line1 to Line20. These parameters take text into which
you can insert tokens. When a 'Print' is generated these lines are parsed and tokens replaced with the values they
represent and the resulting data sent to the serial port.
A 'Print' is generated by either issuing a DoPrint command, activating switch input when SwitchMode is set to
zero or by receiving a Data Provider packet whose Data Tag matches the PrintDataTag parameter.
When a 'Print' is executed each of the parameters Line1 to Line 20 will be parsed. Every token will be evaluated
and replaced with the live value. The data from all 20 lines will be sent to the serial port with a delay of
LineDelay milliseconds after each occurrence of the user line delay character.
Communications
To configure the device you will use the Read and Write mechanisms described in the Data Packet Structures
section to read and write parameters and execute commands.
Parameter List
Parameter
Command
ID
3
Version
53
Channel
11
EncKey
15
Power
12
Name
10
Model
51
57
Mantracourt Electronics Limited T24 Technical Manual
Description
Read the unique identifier ID for this device. (3 bytes)
Read the firmware version.
The radio channel to operate on. (1-16) Requires power
cycle or Reset to enable.
The radio encryption key to operate on. Requires power
cycle or Reset to enable. (16 bytes)
release.
Set or read the output power level. (0-100%)
Set or read a user defined name. (11 characters)
Read the model number of the device.
Not supported in this
Native Data
R/W
Type
BINARY 3 byte
R
FLOAT
R
UINT8
RW
BINARY 16 byte
RW
UINT8
RW
STRING 11 byte
RW
STRING 9 bytes
R

Advertisement

Table of Contents
loading

Table of Contents