background image

  6

Serial protocol (SCL)

General

Port settings

Baud rate: 300, 1200, 2400, 4800, 9600 or 19200.
8 data bits, none parity, 1 stop bit.

Protocols

Two different serial protocols may be used to control
X-2071. The protocol is selected in the configuraton
menu. It can be either Nokeval SCL or Ascii. In Ascii
protocol, there is no address involved, so every
display in the bus will show the same display. These
protocols are introduced in the next chapters.

SCL protocol

The SCL message consists of the actual command
supplemented with some control bytes that are
necessary to address the message to the correct
device and to detect transmission errors.

Commands for 2071

To control the display, use DISP command (use upper
case):
DISP 123456
After this command, the display will read 123456. See
more on chapter Display modes.

To control the alarm indicators A1..M2 at the front
panel, use LED command:
LED 00011X
This command will switch the three leftmost leds off
(0), light up the two next leds (1), and blink the sixth
led (X). The Conf led is not user controllable.

To read the four front panel keys, use KEYB com-
mand:
KEYB
About this command, see chapter Reading front panel
keys.

Control bytes

The general format of SCL command packet is:
<ID>command<ETX><BCC>

The first byte sent (ID) has two purposes: it selects
the device to which the command is intended, and
indicates that a completely new command is to come.
The byte is calculated by adding 128 (or 80h in
hexadecimal representation) to the address of the
device to be controlled, that is, the most 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 one of the commands explained
previously (e.g. DISP 28.5).

ETX character means End of Transmission. It
terminates the command. It is a single byte with Ascii
value 3 (03h).

BCC is a checksum. The sender calculates it from
the command and ETX bytes using XOR operation.
The id character is not involved in BCC calculation. If
you do not want to send checksum, you must switch
it off in the 2071 menu (set BCC OFF). It is
recommended to use checksum, but sometimes it is
not possible calculate it.

An example of a complete command packet (both
characters and their Ascii values in hex shown):
<80h> D    I    S   P         0 <ETX><BCC>
  80    44x49x53x50x20x30x 03   =  1D
The x represents XOR operation in BCC calculation.

Response

2071 will respond to the command using SCL
protocol. The response message is in the following
form:
<ACK>response<ETX><BCC>
Instead, if there was errors in the transmission or in
the command, the response will be:
<NAK>errorcode<ETX><BCC>

ACK is a single byte with Ascii value 6 (06h). It
indicates that the device has accepted the command.
About ETX byte, see previous chapter.

The response is dependent on the command sent.
X-2071 has empty response except for KEYB com-
mand.

BCC is calculated similarly with the command BCC,
taking all the bytes from ACK to ETX. This time 2071
will calculate the checksum, and your task is to check
it if you want to.

Error response starter NAK is a single byte with Ascii
value 21 (15h). It is followed by a single number
representing the type of error. 3 means BCC error,
while 4 indicates non-recognized command.

Summary of Contents for 1000F-2071

Page 1: ...1 Manual Model 575F 2071 1000F 2071 1100F 2071 and 1800X 2071 Serial input RS232 RS485 No 290507 Nokeval...

Page 2: ...meters 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 Displa...

Page 3: ...okeval SCL protocol where only the address value and check sum are sent The displays come standard with both the serial inputs RS 232 and RS 485 The serial bus is galvanically isolated from the proces...

Page 4: ...econds Specified instructions on pages 6 7 Configuration Resetting configuration parameters Some times it is necessary to return indicator parameters to factory defaults e g if secret access code is m...

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: ...esults the Numerical mode is more flexible TEXT Mode In the Text mode X 2071 doesn t process the mes sage in any way The first received message is placed at the leftmost position of the display and so...

Page 8: ...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 the value is 0 zero The...

Page 9: ...al RS 485 loop last unit must be terminated with 110 ohm resistor Termination can be done on terminal connections or by connecting short cut jumper into following position Fail safe ON Terminator ON F...

Page 10: ...put thermocouple strain gage etc Additional slots Additionalcardsprovideoutput 4 20 mA alarms serial inter face BCD output etc Meter data sheet dictates possible combinations greyconnectors allowlinev...

Page 11: ...Modular field display series 575F 1800F 6543 21 4 6 digit red LED display Power supply 85 240VACor 12 32VDC 24VAC Optioncards Alarm cards 2 relay card 4 alarm types change over contacts 3 relay card c...

Page 12: ...12 Yritt j katu 12 Tel 358 3 342 4800 Fax 358 3 342 2066 FIN 37100 NOKIA email support nokeval com http www nokeval com Nokeval Oy...

Reviews: