background image

Alarm Command

One ASCII character.

Alarm ON is "A" (41 Hex). Alarm OFF is "C" (43 Hex).

Alarm Number

A 3-digit alarm number in ASCII format ("001" ~ "512").

Checksum

The XOR result of the previous 5 bytes.

Xon/Xoff Flowcontrol

The SAP protocol uses Xon/Xoff flowcontrol. The Xon character is DC1 (11 hex), and Xoff is
DC3 (13 hex).

The Xon/Xoff principle is as follows:

When the receiver buffer is 80% full, the receiver transmits an Xoff character to stop the
transmitter. When the buffer is only 20% full the receiver transmits an Xon to start the
transmitter again.

To be able to send both DC1 and DC3 as data, the protocol uses "the character stuffing
principle". Character stuffing means that the transmitter is transmitting an extra DC1
character if it wants to transmit DC1 as data. Then the receiver knows that two DC1
characters means "DC1-data" and one DC1 means "Xon".

Example

In order to set alarm number 45 ON, the following string must be transmitted:

53  41  30  34  35  23

53:

"S" - Header

41:

"A" - Alarm ON

30,34,35:

"045" Alarm number

23:

XOR checksum (53 xor 41 xor 30 xor 34 xor 35)

Extended Serial Alarm Protocol (xSAP)

The xSAP protocol is similar to the SAP protocol, but without the limitation of max. 512
alarms.

Data Format

v

Baud Rate: 1200 ~ 38400

v

Data Bits/Parity/Stop bits: 8/N/1

v

Flow control: Xon/Xoff

Frame format

1 byte

'n' byte(s)

1 byte

1 byte

1 byte

"N

1

" - "N

n

"

41 or 43 Hex

53 Hex

XOR sum

ASCII format

"A" or "C"

ASCII format

"S"

Checksum

Alarm number

Alarm Command

Number of bytes

Header

Header

Always ASCII "S" (53 Hex).

Number of Bytes

Total number of bytes including checksum, but excluding Header.

2853-00009

Page 5

S Y S E M

Содержание LON Box I151SX

Страница 1: ...LON Box X I151SX ALARM I151SX REMOTE Installation Manual 2853 00009 SY S E M...

Страница 2: ...SY S E M...

Страница 3: ...arm protocols IEC Serial Alarm and extended Serial Alarm are supported I151SX REMOTE SYSTEM X to SYSTEM 500M 1000M Interface The I151SX REMOTE interface box is used as an interface between SYSTEM X an...

Страница 4: ...selected by the mains voltage selection switch T1 MAINS IN N L SELECT MAINS J9 Ih 63mA F1 S5 115 2 3 0 Mains selection switch Mains input L N Live Neutral Earth The LON Box must be used with a 3 wire...

Страница 5: ...D TX RX GND RS232 LINE LINE LON J5 J8 LON Shield GND Rx Tx RS232 RS485 Rx Tx RS485 Rx Tx RS485 termination J6 In order to fulfil safety standard EN 60950 all cables carrying mains voltage must be secu...

Страница 6: ...S485 connections are not used in I151SX ALARM and I151SX REMOTE Protocols I151SX ALARM The I151SX ALARM supports 3 different protocols SAP xSAP and IEC Serial Alarm Protocol SAP The SAP protocol is a...

Страница 7: ...tting an extra DC1 character if it wants to transmit DC1 as data Then the receiver knows that two DC1 characters means DC1 data and one DC1 means Xon Example In order to set alarm number 45 ON the fol...

Страница 8: ...smits an Xon to start the transmitter again To be able to send both DC1 and DC3 as data the protocol uses the character stuffing principle Character stuffing means that the transmitter is transmitting...

Страница 9: ...ortly when the service pin is pressed Make sure that the NodeManager software is running and online prior to pressing the service pin It is of out most importance to keep track of the order in which s...

Страница 10: ...East Preston West Sussex BN16 1AW England Phone 01903 77 27 27 Fax 01903 77 27 07 sally ernitec uk co uk www ernitec com Ernitec France French Branch Office No 29 Parc Club du Mill naire 1025 rue Hen...

Отзывы: