background image

7

Non-addressable ASCII protocol

When using non-addressable ASCII protocol, the
message sent to 2071 consists of the text to display
only, with no addresses, checksums etc.

However, there has to be a terminating character at
the end of the message so that distinct messages can
be separated from each other. Most often this delimiter
is a newline character <CR> or <CR><LF>. The ascii
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
characters that are not to be displayed. If these occur
before the actual message to display, the First setting
can be set to match the number of these characters

and they are abandoned. Likewise the number of
characters to display may be limited with Count setting
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   ]

If there is a start character in addition to the terminating
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
character and use Count setting to indicate the end of
the message (only if the length of the message is
constant).

Display modes

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 distinct 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, 2071 doesn’t process the message
in any way. The first received message is placed at
the leftmost position of the display and so on.
However, dot (Ascii 46) and comma (44) are placed
as the decimal point of the previous character, if
applicable, 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.

If more characters are sent that can fit on the display,
the trailing characters are ignored.

If the display is wanted to be aligned to the right, 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).

2071 does its best to represent all Ascii characters
from 32 to 126 on its display. However, with seven
segment technology there are several compromises.
E.g. the number 5 and literal S appear equal.

NUMERICAL Mode

In the Num mode, 2071 tries to interpret the message
as a mathematical figure and then to reconstruct it
onto the display right-aligned. This method will 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
decimal count is decreased, 2071 will keep rounding
the number properly.

Summary of Contents for 2800-2071

Page 1: ...1 Manual Model 2800 2071 for serial inputs No 011002 Nokeval...

Page 2: ...4 Case dimensions 4 Configuration 5 Serial protocol SCL 6 Counting check sum 6 Example of control message without BCC 6 XOR function without calculator 7 Non addressable ASCII protocol 7 Display mode...

Page 3: ...signal RS232 or RS485 You may select red or green 6 digit display Serial bus is galvanic isolated from both processor and power supply In configuration stage you can set address Baud rate and what dis...

Page 4: ...nd holding and keys simultaneously for 2 seconds Specified instructions on pages 6 7 Configuration Resetting configuration parameters Some times it is necessary to return indicator parameters to facto...

Page 5: ...ddressable SCL or non addressable ASCII Baud Baud rate selection 300 600 1200 2400 4800 9600 19200 Addr Serial address 0 127 SCL only Bcc Checksum selection ON used SCL only Resp Responce message sele...

Page 6: ...ost significant bit is set If you want to command a device in address 4 the ID byte will be 132 or 84h This is a single byte whose value is 132 do not send individual numbers 1 3 and 2 The command is...

Page 7: ...hand when displaying numerical results the Numerical mode is more flexible TEXT Mode In the Text mode 2071 doesn t process the message in any way The first received message is placed at the leftmost...

Page 8: ...to the leftmost key 1 N pp in Koodi 1 1 2 2 3 4 4 8 If several keys are pressed simultaneously the sum of these codes is returned E g keys and the code is 4 8 C in hexadecimal When no keys is pressed...

Page 9: ...SerialsignalRS 485looplastunitmustbeterminatedwith110ohm resistor Termination can be done on terminal connections or by connectin short cut jumper into following position Fail safe ON Terminator ON Fa...

Page 10: ...type of meter You can change meter with pulse input to meter with current input thermocouple strain gage etc Additional slots Additional cards provide output 4 20 mA alarms serial interface BCD output...

Page 11: ...ion cards Inputcardcontains microprocessor bus control keys control display control Eight input cards 2021 2011 2011 IN Process input 2021 MU Multi input 2031 IR Infrared sensor input 2041 SG Strain g...

Page 12: ...12 Yritt j katu 12 Tel 3583 3424800 Fax 3583 3422066 FIN 37100 NOKIA email support nokeval com http www nokeval com Nokeval Oy...

Reviews: