
7
Non-addressable ASCII protocol
When using non-addressable ASCII protocol, the
messagesenttoX-2071consistsofthetexttodisplay
only, with no addresses, checksums etc.
However, there has to be a terminating character at
theendofthemessagesothatdistinctmessagescan
beseparatedfromeachother.Mostoftenthisdelimiter
isanewlinecharacter<CR>or<CR><LF>.Theascii
value of that character is selected at the conf menu
item “Delim”. Ascii value of <CR> is 13. When Delim
is set to 13, also <CR><LF> (Ascii 13 and 10) is
interpreted as single character.
Sometimes the message contains additional
charactersthatarenottobedisplayed.Iftheseoccur
beforetheactualmessagetodisplay,theFirstsetting
can be set to match the number of these characters
and they are abandoned. Likewise the number of
characterstodisplaymaybelimitedwithCountsetting
to 1..12.
An example of control message:
ANS_29.4PPP<CR>
Set Delim=13 (<CR>), First=4 (ANS_ is cut off) and
Count=4 (PPP is removed).
The display will be: [29.4 ]
Ifthereisastartcharacterinadditiontotheterminating
character, the start character can be removed by
increasing the First setting by 1. The other way to
handle this is to set the Delim to match the start
characteranduseCountsettingtoindicatetheendof
the message (only if the length of the message is
constant).
Display modes
X-2071 can be used to show short text messages,
but most usually it is used to display measurement
results, that is numerical values. There are two dis-
tinct display modes to choose from.
Generally, when the device that is contolling 2071
has formatted the message keeping in mind there is
a six digit display, the Text mode gives free contol
over the 2071 display. Also Text mode must be
selected in order to display non-numerical text
messages. On the other hand, when displaying
numerical results, the Numerical mode is more
flexible.
TEXT Mode
In the Text mode, X-2071 doesn’t process the mes-
sageinanyway.Thefirstreceivedmessage is placed
atthe leftmost positionofthedisplay andsoon.How-
ever,dot(Ascii 46)andcomma(44)are placedasthe
decimalpoint oftheprevious character, ifapplicable,
thus not taking an display position of their own.
It takes never not more than 12 characters to fill up
the display. This case will occur when each letter is
succeeded with a dot: 1.2.3.4.5.6.
Ifmore charactersaresent that canfiton thedisplay,
the trailing characters are ignored.
Ifthedisplay iswantedtobealigned to theright,there
is no other way than to send a correct number of
spaces (Ascii 32) before the actual characters. The
display can be cleared with a message with only
spaces (1 or more).
X-2071does itsbestto representallAsciicharacters
from 32 to 126 on its display. However, with seven
segmenttechnology thereareseveralcompromises.
E.g. the number 5 and literal S appear equal.
NUMERICAL Mode
In the Num mode, X-2071 tries to interpret the mes-
sageasamathematical figure andthentoreconstruct
itonto thedisplayright-aligned. Thismethodwill give
more acceptable display when the message is not
specifically targeted for a six-digit display.
Interpretation
In the message, the first numerical character (0..9 +
- .) is searched for. This on the characters are
interpreted as a part of a number until first non-
numerical character is encountered. Additionally,
there may be space characters between the sign
(-) and the number itself.
Displaying
The number is formatted on the display right-aligned
and the sign immediately next to the number. The
number of decimals will be the same as in the
incoming message, but it may be limited with Dec
setting in the menu. If the number is too big, the
decimal count is decreased automatically. When
decimalcount isdecreased, X-2071 willkeep round-
ingthe number properly.
If the number is too big to be displayed (e.g. 1 000