Emerson AK-Protocol NGA 2000 User Manual

Size:
371.03 Kb
Download

Rosemount Analytical

NGA 2000

Software Manual

AK - Protocol

Software Version 3.2.X

1st Edition 10/98

Catalog No.: 90 003 752

Managing The Process Better

90003752(1) [NGA-e(AK-Protocol)]10/98

Rosemount Analytical

This Operation Manual includes information about the operation of the instrument.

Information about the additional indications and notes regarding maintenance, troubleshooting and repair are found in the accompanying Maintenance & Operation Manual.

Troubleshooting, component replacement and internal adjustments must be made by qualified service personnel only.

Fisher-Rosemount GmbH & Co does not take responsibility for any omissions or errors in this manual. Any liability for direct or indirect damages, which might occur in connection with the delivery or the use of this manual, is expressly excluded to the extend permitted by applicable law.

This instrument has left the works in good order according to safety regulations.

To maintain this operating condition, the user must strictly follow the instructions and consider the warnings in this manual or provided on the instrument.

Misprints and alterations reserved

©1998 byFISHER-ROSEMOUNTGmbH & Co. (ETC/PAD)

1st Edition: 10/98

Read this operation manual carefully before attempting to operate the analyzer !

For expedient handling of reports of defects, please include the model and serial number which can be read on the instrument identity plate.

Fisher - Rosemount GmbH & Co.

European Technology Center

Industriestrasse 1

D - 63594 Hasselroth • Germany

Phone + 49 (6055) 884-0

Telefax + 49 (6055) 884-209

Internet: http://www.processanalytic.com

90003752(1) [NGA-e(AK-Protocol)]10/98

Contents

I)

V24/RS232/485 Interface – Basics

1 -

1

 

1

Introduction ................................................................................................

1

-

1

 

2

Hardware ...................................................................................................

1

-

2

 

3

Protocol settings ........................................................................................

1

-

3

 

 

3.1

Command telegram.............................................................................

1

-

3

 

 

3.2

Response telegram .............................................................................

1

-

4

 

 

3.3

Command telegram for RS485 BUS operating ...................................

1

-

5

 

 

3.4

Response telegram for RS485 BUS operating....................................

1

-

6

 

4

Specifications of data settings ...................................................................

1

-

7

 

 

4.1

Head telegram (Header)......................................................................

1

-

7

 

 

4.2

Data block and error status byte .........................................................

1

-

8

 

 

4.3

End of telegram...................................................................................

1

-

9

 

5

Examples for potential responses to control or write commands resp.

 

 

 

 

 

to command telegrams with data (format) errors .......................................

1

-10

 

6

Function sequence and error status after the receipt of the

 

 

 

 

 

"SRES" or "STBY" commands...................................................................

1

-18

II) V24/RS232/485 Interface – Single Analyzers and Systems

2

-

1

1

Basic Informations .....................................................................................

2

-

2

2

List of all Codes [Commands - Overview including page numbers] ..... 2

-

5

 

2.1

Control commands ..............................................................................

2

-

5

 

2.2

Read commands .................................................................................

2

-

6

 

2.3

Write commands .................................................................................

2

-

7

3

Description of all Control Commands ........................................................

2

-

8

4

Description of all Read Commands ...........................................................

2

-39

5

Description of all Write Commands............................................................

2

-85

Supplement

 

 

 

 

1

Overview about working AK commands in NGA devices .........

Supplement -

1

2

AK Service Commands.............................................................

Supplement -

3

90003752(1) [AK-Commands]10/98

AK

AK

90003752(1) [AK-Commands]10/98

I) V24/RS232/485-Interface-Basics

Protocol settings of a serial interface between a test bench control computer

and peripheral analyzers on exhaust test benches

1. Introduction

The serial interface is made for slow point to point connections (f 10 Hz). The communication between thetestbenchcontrolcomputer (TBCC) and the peripheral analyzers works according to the master slave principle. That means that the peripheral analyzers will only answer with a response telegram to the command telegram of the TBCC. They will not send an own message.

You can distinguish two cases:

(1)Analyzers in a function unit (system)

Some analyzers are combined to a logical unit. They are connected to the TBCC via an front-endcomputer. In that case the communication will not take place directly between the TBCC and the analyzers, but between the TBCC and thefront-endcomputer. Each analyzer or the whole system unit will be identified by a defined channel number:

K0 is the channel number for the whole defined system.

("Assembling command resp. assembling report")

Kn (n=1, nmax) is the channel number for each analyzer.

KV is the channel number for the front-endcomputer.

(2)Single analyzers

Each analyzer is connected directly to the TBCC. In that case the identification of each analyzer will be done by the hardware connections and not by a software control. That is why the two channel number bytes (Kn) could be deleted. But in spite of that the channel number is generally 0 (K0) to get a uniform protocol.

The data transfer will only be done by ASCII code to get an easy handling of the protocol with a terminal for simulation of the TBCC, the system unit and the analyzers. Therefore, no parity check will be done as data saving.

90003752(1) [AK-Commands]10/98

AK

1 - 1

2. Hardware

 

1.

Baud rate:

1200, 2400, 4800, 9600, 19200

2.

Length of signs:

1 start bit

 

 

7 or 8 data bits

 

 

1 or 2 stop bits

3.

Parity:

even/odd/none

4.

Operating:

full duplex, no echo

5.

Handshake:

Xon/Xoff

6.

Plug:

9 pin sub d, socket

7.

Pin assignment:

RS 232 module

GND

Relay 1 contact NC/NO

Rxd

Relay 2 contact NC/NO

TxD

Relay 3 contact NC/NO

NC

Relay common node

GND

RS 485 module

GND

Relay 1 contact NC/NO

RxD-

Relay 2 contact NC/NO

RxD+

Relay 3 contact NC/NO

TxD+

Relay common node

TxD-

1 - 2

AK

90003752(1) [AK-Commands]10/98

I) V24/RS232/485-Interface-Basics

3. Protocol settings

The data and command transfer protocol has the following structure:

3.1. Command telegram

1. Byte

STX

 

 

 

 

 

 

2. Byte

DON'T CARE

 

 

 

 

 

 

3. Byte

FUNCT. CODE 1

 

 

 

 

 

 

4. Byte

FUNCT. CODE 2

HEAD

 

 

 

 

5. Byte

FUNCT. CODE 3

 

 

 

 

 

 

6. Byte

FUNCT. CODE 4

 

 

 

 

 

 

7. Byte

BLANK

 

 

 

 

 

 

8. Byte

"K"

VARIABLE DATA

 

 

(number with several

9. Byte

NUMBER

digits possible)

 

 

 

D

 

 

 

 

 

 

A

(other data

 

T

can also disappear,

 

A

depending on the

 

 

function code)

 

 

 

 

n. Byte

ETX

END

 

 

 

 

90003752(1) [AK-Commands]10/98

AK

1 - 3

3.2. Response telegram

 

 

 

 

 

 

1. Byte

STX

 

 

 

 

 

 

2. Byte

DON'T CARE

 

 

 

 

 

 

3. Byte

FUNCT. CODE 1

 

 

 

 

 

 

4. Byte

FUNCT. CODE 2

HEAD

 

 

 

 

5. Byte

FUNCT. CODE 3

 

 

 

 

 

 

6. Byte

FUNCT. CODE 4

 

 

 

 

 

 

7. Byte

BLANK

 

 

 

 

 

 

8. Byte

ERROR STATUS

FIXED

DATA

 

 

 

 

 

 

 

D

 

 

 

A

VARIABLE DATA

 

T

(can also disappear,

 

A

depending on the

 

 

function code)

 

 

 

 

n. Byte

ETX

END

 

 

 

 

1 - 4

AK

90003752(1) [AK-Commands]10/98

I) V24/RS232/485-Interface-Basics

3.3. Command telegram for RS485 BUS operating

1. Byte

STX

 

 

 

 

 

 

2. Byte

BUS ADDRESS

 

 

 

 

 

 

3. Byte

FUNCT. CODE 1

 

 

 

 

 

 

4. Byte

FUNCT. CODE 2

HEAD

 

 

 

 

5. Byte

FUNCT. CODE 3

 

 

 

 

 

 

6. Byte

FUNCT. CODE 4

 

 

 

 

 

 

7. Byte

BLANK

 

 

 

 

 

 

8. Byte

"K"

VARIABLE DATA

 

 

(Number with several

9. Byte

NUMBER

digits possible)

 

 

 

D

 

 

 

 

 

 

A

(other data

 

T

can also disappear,

 

A

depending on the

 

 

function code)

 

 

 

 

n. Byte

ETX

END

 

 

 

 

90003752(1) [AK-Commands]10/98

AK

1 - 5

3.4. Response telegram for RS485 BUS operating

1. Byte

STX

 

 

 

 

 

 

2. Byte

BUS ADDRESS

 

 

 

 

 

 

3. Byte

FUNCT. CODE 1

 

 

 

 

 

 

4. Byte

FUNCT. CODE 2

HEAD

 

 

 

 

5. Byte

FUNCT. CODE 3

 

 

 

 

 

 

6. Byte

FUNCT. CODE 4

 

 

 

 

 

 

7. Byte

BLANK

 

 

 

 

 

 

8. Byte

ERROR STATUS

FIXED

DATA

 

 

 

 

 

 

 

D

 

 

 

A

VARIABLE DATA

 

T

(can also disappear,

 

A

depending on the

 

 

function code)

 

 

 

 

n. Byte

ETX

END

 

 

 

 

1 - 6

AK

90003752(1) [AK-Commands]10/98