Résumé du contenu de la page N° 1
Rosemount Analytical
NGA 2000
Software Manual
AK - Protocol
Software Version 3.2.X
st
1 Edition 10/98
Catalog No.: 90 003 752
Managing The Process Better
90003752(1) [NGA-e (AK-Protocol)] 10/98
Résumé du contenu de la page N° 2
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 fo
Résumé du contenu de la page N° 3
Contents I) V24/RS232/485 Interface – Basics 1 - 1 1 Introduction ................................ ................................ ................................ 1 - 1 2 ................................ ................................ ................................ ... 1 - 2 3 Protocol settings ................................ ................................ ........................ 1 - 3 3.1 Command telegram ................................ ................................ .............
Résumé du contenu de la page N° 4
90003752(1) [ AK-Commands] 10/98 AK
Résumé du contenu de la page N° 5
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 the t est b ench c ontrol c omputer (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 comman
Résumé du contenu de la page N° 6
2. Hardware 1. Baud rate: 1200, 2400, 4800, 9600, 19200 2. Length of signs: 1 start bit 7 or 8 dat a bits 1 or 2 stop bits 3. 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 Relay 1 contact NC/NO Relay 2 contact NC/NO Relay 3 contact NC/NO Relay common node RS 485 module Relay 1 contact NC/NO Relay 2 contact NC/NO Relay 3 contact NC/NO Relay common node 1 - 2 90003752(1) [AK-Commands] 10/98 AK TxD- TxD+ RxD+ Rx
Résumé du contenu de la page N° 7
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 digits possible) D A (other data T can also disappear, A depending on the function code) n. Byte ETX 90003752(1) [AK-Commands] 10/98 1 - 3 AK END NUMBER
Résumé du contenu de la page N° 8
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 DATA D A VARIABLE DATA T (can also disappear, A depending on the function code) n. Byte ETX 1 - 4 90003752(1) [AK-Commands] 10/98 AK END FIXED
Résumé du contenu de la page N° 9
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 digits possible) D A (other data T can also disappear, A depending on the function code) n. Byte ETX 90003752(1) [AK-Commands] 10/98 1 - 5 AK END NUMBER
Résumé du contenu de la page N° 10
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 DATA D A VARIABLE DATA T (can also disappear, A depending on the function code) n. Byte ETX 1 - 6 90003752(1) [AK-Commands] 10/98 AK END FIXED
Résumé du contenu de la page N° 11
I) V24/RS232/485-Interface - Basics 4. Specifications of data settings 4.1. Head telegram (Header) The begin of each transfer is a "STX" in the first byte. Each "STX" will start a new transfer. Previous transfers will be deleted, if they are not finished by "ETX". That means, only completed telegrams may be interpreted and answered. You can take any content for the "DON'T CARE" byte, excluding control signs or signs reserved by the AK commands. For the RS485 BUS operating an address byte will be
Résumé du contenu de la page N° 12
4.2. Data block and error status byte The data presentation is variable. A fixed format will not be used. A blank or a with will be used as separating characters of data. The separation with will only be done, if the following complete date will have more than 60 digits. Each data set will begin normally with a blank. The data block of the command telegram has only variable data. These data depend on the function code. They can disappear for some function codes excluding the c
Résumé du contenu de la page N° 13
I) V24/RS232/485-Interface - Basics If an analyzer or a system is not in the "REMOTE" status, the control and write commands have to report "OF" ("Offline") in the data set to the. In system units the channel number has to be reported, too. If one analyzer is missing, a system unit has to send the channel number and "NA" (" N ot A vailable") to the test bench control computer with control and write commands. A response telegram is not possible, if the test bench control computer has a direct con
Résumé du contenu de la page N° 14
5. Examples for potential responses to control or write commands resp. to command telegrams with data (format) errors: 1. Analyzer and/or system unit with several analyzers "Online" and called analyzers are existing. 1. Byte STX DON'T 2. Byte CARE 3. Byte C 4. Byte O 5. Byte D 6. Byte E 7. Byte BLANK 8. Byte x Error status byte ... . ... Data n. Byte ETX Error status byte: Value is zero: Device without error. Value is not zero: Device with one or more errors. 1 - 10 90003752(1) [AK-Commands] 10/
Résumé du contenu de la page N° 15
I) V24/RS232/485-Interface - Basics 2. Analyzer and/or system unit with several analyzers "Offline" and called analyzers are existing. 1. Byte STX DON'T 2. Byte CARE 3. Byte C 4. Byte O 5. Byte D 6. Byte E 7. Byte BLANK 8. Byte x Error status byte 9. Byte BLANK 10. Byte K 11. Byte n 12. Byte BLANK 13. Byte O 14. Byte F ... . ... Data n. Byte ETX Error status byte: Value is zero: Device without error. Value is not zero: Device with one or more errors. 11. Byte: Channel number is zero: "The whole
Résumé du contenu de la page N° 16
3. Called system unit "online", called single analyzer not available. If the test bench control computer will call the devices directly and the system unit or the analyzer are not available, you will not get any response telegram. So, the test bench control computer will have to realize the missing of the system or of the analyzer by "Time Out". 1. Byte STX DON'T 2. Byte CARE 3. Byte C 4. Byte O 5. Byte D 6. Byte E 7. Byte BLANK 8. Byte x Error status byte 9. Byte BLANK 10. Byte K 11. Byte n 12.
Résumé du contenu de la page N° 17
I) V24/RS232/485-Interface - Basics 4. Called system unit "offline", called single analyzer not available. If the test bench control computer will call the devices directly and the system unit or the analyzer are not available, you will not get any response telegram. So, the test bench control computer will have to realize the missing of the system or of the analyzer by "Time Out". 1. Byte STX DON'T 2. Byte CARE 3. Byte C 4. Byte O 5. Byte D 6. Byte E 7. Byte BLANK 8. Byte x Error status byte 9.
Résumé du contenu de la page N° 18
Error status byte: Value is zero: Device without error. Value is not zero: Device with one or more errors. 11. Byte: Channel number zero: "System unit offline" 17. Byte: Channel number one to n: "Called device not available. 1 - 14 90003752(1) [AK-Commands] 10/98 AK
Résumé du contenu de la page N° 19
I) V24/RS232/485-Interface - Basics 5. Called unit or channel is busy with a running function. 1. Byte STX DON'T 2. Byte CARE 3. Byte C 4. Byte O 5. Byte D 6. Byte E 7. Byte BLANK 8. Byte x Error status byte 9. Byte BLANK 10. Byte K 11. Byte n 12. Byte BLANK 13. Byte B 14. Byte S 15. Byte ETX Error status byte: Value is zero: Device without error. Value is not zero: Device with one or more errors. 11. Byte: Channel number is zero: "The whole unit is busy". Channel number is one to n: "Single ana
Résumé du contenu de la page N° 20
6. The data are incomplete or the data do not have the expected format. 1. Byte STX DON'T 2. Byte CARE 3. Byte C 4. Byte O 5. Byte D 6. Byte E 7. Byte BLANK 8. Byte x Error status byte 9. Byte BLANK 10. Byte K 11. Byte n 12. Byte BLANK 13. Byte S 14. Byte E 15. Byte ETX Error status byte: Value is zero: Device without error. Value is not zero: Device with one or more errors. 1 - 16 90003752(1) [AK-Commands] 10/98 AK