Home

MEVAS - Driver of MEVAS Analyzers User`s Manual

image

Contents

1. 1 DWORDD NA ves 6 1 1 word NA es 7 6 word 09 es 9 NA 0 ASKOM Gliwice August 2005 13 MEVAS Driver of MEVAS Analyzers asix4 Table 5 List of Data Statuses Number Status Character According to Protocol Description Following the Protocol 0 A Anlage AUS Device OFF 1 S Storung EIN Failure ON 2 W Wartung Maintenance 3 Wartung manuell Manual maintenance 4 T Test 5 P Plausibilitat AUS Plausibility OFF 6 M Verrechnungsfehler Allocation error Ersatzwertsteuerung EIN Replacement value control 7 E ON Ersatzwertsteuerung Storung Failure of replacement 8 S value control 9 u ungultig Anfahrbetrieb invalid startup ungultig durch Anlage AUS oder Klassenblockweschel 10 U invalid by device OFF or class block changes 11 nich belegt not occupied 12 unknown status 13 wa No data only for 028 and 032 1 6 Historical Data An access to historical data is possible for the D28 type The data are available from the current day beginning maximum 52 values The data for the last hour of the previous day are available only in the period 23 59 00 05 circa It means that a pause in communication in this period results an irreparable loss of values for the last hour of a day The current values of the data integral
2. ASKOM Gliwice August 2005 3 MEVAS Driver of MEVAS Analyzers 4 parity number Meaning determines parity Default value n Parameter number allowed values n no parity bit odd parity check e even parity check m mark 5 space retries number Meaning number of repetitions of missed reading operations from a MEVAS station Default value 3 stop bits number Meaning determines number of stop bits Default value 1 Parameter number allowed values are 1 and 2 v word number Or word length number Meaning word length Default value 8 Parameter number allowed values are from interval 5 to 8 time out number timeout number Meaning waiting time for DMS285 answer Default value 10000 Parameter number number passed in milliseconds 4 August 2005 ASKOM Gliwice 4 MEVAS Driver of MEVAS Analyzers bad data statuses status1 status2 statusN Meaning determines numbers of data status for which the data are found invalid Status 13 no data causes that the data is always treated as invalid independently of parameter value Default value 0 13 Parameter format status status2 statusN or the character lack of the bad data status except 13 v log log file Meaning parameter determines the name of file to which additional diagnostic information will be writte
3. Telegrammverkehr uber eine serielle Schnittstelle Stand 26 03 1993 1 2 Declaration of Transmission Channel A logical channel is a logical connection of a computer and a MEVAS station The logical channel is defined by placing an appropriate record in the ASMEN section The full syntax of declaration of transmission channel operating according to the MEVAS protocol is given below logical namezMEV AS COMn Mevas Address where COMn number of the serial port to which the network of MEVAS controllers is connected Mevas Address number identifying the MEVAS emission computer the number is assigned on the stage of the MEVAS emission computer parameterization Each defined channel may have its own section the name of which is the logical name of the channel A given COMn port may also have its own section named MEVAS n Values defined in such section become the default values for individual stations The default values for individual serial interfaces are taken from the section named MEVASJ Transmission parameters by means of a serial interface cannot be placed in sections concerning individual stations i e they may be located only in sections MEVAS and MEVAS n 1 3 Driver Configuration The statement of items placed in the application INI file for the MEVAS driver number OT bps number Meaning determines transmission speed Default value 9600 Parameter number number passed in Bd
4. in seconds after which the driver will assume that historical data do not exist and transfer such information to write in the archive The parameter is used only in the situation when the MEVAS station reports a lack of any values referring to a definite channel and the value type Knr Wsl The parameter does not concern a situation when only a part of possible 52 historical values is not available In this last case it is assumed that such situation will not change later Default value 4200 Parameter number time in seconds EXAMPLE Examples of the MEVAS driver configuration Example 1 ASMEN MEVAS COM2 3 MEVAS 2 baud 19200 In the example above the station named MVS 1 connected to the port was defined The transmission speed of 19200 bps will be used The station has an identifier of 3 Example 2 ASMEN MVS I DMS285 COMI I MVS 2 DMS285 COM22 MVS 3 DMS285 COM3 I OASKOM Gliwice August 2005 7 MEVAS Driver of MEVAS Analyzers 4 MVS_4 DMS285 COM4 1 MVS_5 DMS285 COM5 4 MVS 6 DMS285 COM6 5 MEVAS Default values for all stations baud 19200 Invalidity Status 1 6 14 MEVAS 3 Default values for stations connected to the port baud 9600 MVS 2 Invalidity Status 5 MVS 3 Invalidity Status 0 13 In the example above stations with names form MVS 1 to MVS 6 connected to ports from COMI to COM6 are defined serial ports except COM3 will work wit
5. should be obtained by using a D28 variable with the parameter Wnrl 14 August 2005 COASKOM Gliwice asix4 List of Tables 2 List of Tables Table 1 Format of Variable Name pac o ge 10 Table 2 Format of Variable Name continuation enne entente enne Table 3 Format of Variable Name continuation 12 Table 4 Format of Variable Name continuation 13 Tabled Listof Data ite aai dte E SER ee pe QURE REDE U UE CE 14 ASKOM Gliwice August 2005 15 List of Tables asix4 16 August 2005 ASKOM Gliwice 4 Table of Contents 1 MEVAS DRIVER OF MEVAS ANALYZERS 1 1 DRIVER USE 1 2 DECLARATION TRANSMISSION CHANNEL 1 3 DRIVER CONFIGURATION 1 4 TIME STAMP 1 5 DEFINING THE PROCESS VARIABLES 1 6 HISTORICAL DATA 2 LIST OF TABLES 9 ASKOM Gliwice August 2005 17
6. 6 gt Bsl Typ lt 1 3 gt KL16 CL16 16 WO 1 D24 Bnr1 Bsl 1 KL2 o o NN D24 Bnr1 Bsl 1 KL3 1 KL4 1 KL5 1 KL6 1 KL7 1 KL8 1 KL9 1 KL10 1 1 12 1 KL13 1 KL14 1 KL15 D24 Bnr1 Bsl 1 KL16 S S JS Jo 2 Ne MENU ee E ASKOM Gliwice August 2005 11 MEVAS Driver of MEVAS Analyzers 4 Table 3 Format of Variable Name continuation Number of Format of Variable Name TYPE Parameter Status Record Example Refresh D 14 Knr ch c1 487 Ag ent WORD 2 1 Dl4Kmr Ag D 15 Knr ch lt 1 48 gt F VAL FLOAT 2 5 D 15 Knrich lt 1 48 gt Aglent WORD 2 lt 1 3 gt KL17 CL17 17 WORD 3 1 KL17 D 24 Bnr BI lt 1 96 gt Bsl Typ D24 Bnr1 Bsl eo lt 1 3 gt 19 19 19 WORD 3 1 KL19 20 20 WORD 3 1 KL20 D 24 Bnr BI lt 1 96 gt Bsl Typ D24 Bnrl Bsl D 24 Bnr BI lt 1 96 gt Bsl Typ D24 Bnrl Bsl I o on EN lt 1 3 gt 23 123 23 WORD 1 KL23 Lica lt 1 3 gt 24 24 4 WORD 1 KL24 pu
7. EH 32 KL25 CL25D5 WORD 1 KL25 lt 1 3 gt KL26 CL26 26 WORD 1 KL26 B 96 gt 7 7 8 ae lt 1 3 gt KL27 CL27 2 WORD 1 KL27 ue lt 1 3 gt KL28 CL28 28 WORD 1 128 lt 1 3 gt KL29 CL29 29 WORD 1 KL29 lt 1 3 gt KL30 CL30 30 WORD 1 KL30 D 24 Bnr BI lt 1 96 gt Bsl Typ mm EN lt 1 3 gt KL31 CL31 31 WORD 1 D 25 Bnr BI lt 1 96 gt Bsl Typ D25 Bnrl Bsl lt 1 3 gt Kl cl lt 1 31 gt WORD LKII D 26 Bnr BI 1 96 DWORD D26 Bnrl D 26 Bnr Bl 1 96 TOT D26 Bnrl TO TOTAL h hhhhmm hhhhhmm T D 26 Bnr B1 lt 1 96 gt ACT A 1 D26 Bnrl AC T aaaamm aaaaamm DWORD D26 Bnr1 CN D 26 Bnr B1 lt 1 96 gt CNT ujuuu WORD T Doo el PO NR el lt 1 48 gt Wsl lt 1 3 gt FLOAT Yes rl Wsll lt 1 48 gt Wsl lt 1 3 gt F VAL FLOAT rl Wsll F ia 2 1 48 Wsl 1 3 Hs STS STA WORD 5 rl Wsll Hs 3 3 3 3 3 3 3 3 3 3 3 Z S gJ 2 3 3 3 3 5 5 12 August 2005 COASKOM Gliwice 4 MEVAS Driver of MEVAS Analyzers Table 4 Format of Variable Name continuation sesto SEP ue de Format of Variable Name TYPE Parameter Status Record Example Refresh s lt 1 48 gt Wsl lt 1 3 gt TIM TIME WORD 5 Wsll TIM EET lt 1 48 gt Wsl lt 1 3 gt SEC WORD Wsl1 SEC D 29 lt 1 16
8. List of all types of variables is given in the end of this point name argl arg2 arg3 8 August 2005 ASKOM Gliwice 4 MEVAS Driver of MEVAS Analyzers where argn may be number number preceded by text or text Square brackets and include parts which may be absent in a variable definition The variable name may be a number of the value described in an appropriate query of D type of the communication protocol with the MEVAS system The number may be preceded by a letter D Variables defining data of other queries of the protocol are the numbers preceded by the query type e g X1 to X5 and 51 to 55 A record lt n m gt signifies a numerical value from a range n to m A vertical line signifies that it is allowed to choose one of text on either side of the line In the table below all the types of variables are placed The column Number of parameter Refresh specifies which of parameters from Refresh2 to 10 concerns a given variable The value of variables from X1 to X10 is a time of preparing a specific data group by the MEVAS station as a result of the lately sent request Writing any value to these variables causes sending to the MEVAS station a request of preparing new data for reading If the Status column contains Yes then a given variable is transferred to the asix system with the status defined by the parameter Invalidity_Statuses Such variable is accessed by the MEVAS station tog
9. asix4 User s Manual see and get more YA T MEVAS Driver of MEVAS Analyzers User s Manual Doc No ENP4034 Version 29 08 2005 User s Manual asix4 ASKOM and asix are registered trademarks of ASKOM Sp ka z o o Gliwice Other brand names trademarks and registered trademarks are the property of their respective holders All rights reserved including the right of reproduction in whole or in part in any form No part of this publication may be reproduced or transmitted in any form or by any means electronic or mechanical including photocopying recording or by any information storage and retrieval system without prior written permission from the ASKOM ASKOM sp z shall not be liable for any damages arising out of the use of information included in the publication content Copyright 2005 ASKOM Sp z o o Gliwice ASKOM Sp z o o ul J zefa Sowi skiego 13 44 121 Gliwice AS a gt tel 48 0 32 3018100 48 0 32 3018101 http www askom com pl e mail office askom com pl 4 Driver of MEVAS Analyzers 1 MEVAS Driver of MEVAS Analyzers 1 1 Driver Use The MEVAS driver 1s used for data exchange between MEVAS emission computers and an asix system computer The communication is executed by means of serial interfaces The driver realizes the protocol described in Bedienungsanleitung Rechnerschnittstelle MEVAS vorlaufige Version 1 00
10. determines a shift in time of reguest sending For instant if 60s 10s is given then reguests of preparing new data may be sent at hours 12 00 10 12 01 10 12 02 10 etc The parameter determines only the mazimal freguency of reguest sending If the driver does not receive reguests to read new data from the other components of the system ASMEN then requests to prepare new data are not sent to the MEVAS station If the parameter Refresh and one of parameters Refresh2 Refresh10 has a non zero value then the requests to prepare a data collection defined by this last parameter will be sent at moments fulfilling criteria defined by both the parameters simultaneously ie with a frequency equal to the minimal value of both the parameters If the parameter Refresh has value 0 0 then corresponding to them other parameters should have non zero values Data read from the MEVAS station except the D28 data integrals receive a time stamp transferred by the MEVAS station at the moment of receiving a request to prepare a new data collection Default value Refresh1 60s 10s other parameters have values 0 00 Parameter number both the numbers have a format nnn slmlglh where nnn determines the time and the letter designation determines the base of time second minute hour hour respectively If time unit designation is omitted then the second is assumed v Round 28 yes no Meaning if the parameter has a valu
11. e 65 then the time of the D28 data is rounded up to a full hour The rounding refers only to data with time form hh 59 00 Other time values are not rounded switch off the rounding one should give NO as the parameter value Default value 15 v Round 28 Time yes no Meaning time in minutes determining the time rounding range of hour integrals If the integral time is included in the range the nearest full hour parameter value then the integral time will be rounded to the nearest full hour By example if the parameter value is 15 minutes then times of integrals from the range 9 45 00 to 10 15 00 will be rounded to 10 00 00 The rounding occurs if the value of parameter Round 28 is YES If the parameter value is 0 then the rounding does not occur Default value 15 6 August 2005 ASKOM Gliwice 4 MEVAS Driver of MEVAS Analyzers Time Read number Meaning the parameter determines a time interval in seconds with which the driver updates the station time The driver cyclically reads the station time with a given interval The MEVAS station time is used for determining the time at which reguests to prepare new data should be sent to the MEVAS station Default value 3600 Parameter number time in seconds D28 Time number Meaning determines the way of driver reaction to lack of the D28 data integrals during historical data completing It is the time of data lack
12. ether with the status defined by the protocol This status is converted to a numerical value and compared with values defined by the parameter Invalidity Statuses If the value of converted status is compatible to one of values defined by the parameter Invalidity Statuses then the data is regarded as invalid The data with status of 13 no data is always regarded as invalid OASKOM Gliwice August 2005 9 MEVAS Driver of MEVAS Analyzers 4 Table 1 Format Variable Number of Format of Variable Name TYPE Parameter Status Record Example Refresh D 1 Knreh lt 1 48 gt WORD 2 D Kmph 48 FLOAT 2 ve D 2 Knr ch lt 1 48 gt F VAL 2 D 2 Knrfch lt 1 48 gt Ssjstsista_ woro 2 DMkmss D 3 Knreh lt 1 48 gt 2 es DI3 Knrfch lt 1 48 gt FVAL FLOAT 2 Ss 3 Kori F D 3 Knrfch lt 1 48 gt Ss stsistA__ WORD 2 D3KmiSS D 4 Knreh lt 1 48 gt FtoarT 2 D amp Kngeh c1 48 F VAL 2 D4Knrl S D4 Kar int D5 Knrt D5 Knrl F D5KnrL int D6 Kari D 6 Knrfch lt 1 48 gt FIVAL FLOAT 2 D Knreh 1 48 S jSTSISTA WORD 2 D 6 Knr ch lt 1 48 gt inti 2 D 7 Knreh 1 48 injjva _ WORD 2 DKnri
13. gt day woRb 4 Dp9 l l6 yar WORD 4 D29lyer 00129 lt 1 162 _ DwoRD 4 p291YSEC Dp9 1 16 DSEC DWORD 4 D291DSEC poo j pnwoD 9 00 DBls Lak ss D3lp WORD Lak Yes D32 Egnrl Lnr D 32 Egnr cl 100 Knich WORD 10 Yes D32Egnrl Knr D 2 Egnr c1 100 Hk WORD 10 5 D32 Egnrl Hk 5 Yes D32 Egnrl Gk 32 lt 1 100 gt FLOAT 10 D 32 Egnr lt 1 100 gt timet DWORD 10 Yes D32Egnrltime DD3 Kmieh I 48 F VAL FLOAT 2 D iS Knrch l 48 FLOAT 2 D35Km DBS Knrch c1 48 F VAL FLOAT 2 DDS Knrch I 48 STSISTA woro 2 D35KmiS DBS Kmeh I 487inji WORD 2 Sistan NA Sista Sied WORD NA 844 woo NA WORD NA Send Sisam NA s3end WORD NA NA S amp nd WORD NA Ao ssstat woo NA Ssend WORD NA 1 1 1 DWORDD NA O x 1 1 11 DWOD ves X DWORDD KA DWR NA Xs 1 word
14. h a speed of 19200 baud The COMG port will work with a speed of 9600 baud stations except MVS 2andMVS 3 stations will use invalidity statuses 1 6 and 14 The MVS 2 station uses a value of 5 as an invalidity status The MVS 3 status does not use any invalidity status setting parameter was necessary to change the default values set in the MEVAS section 1 4 Time Stamp Other data than D28 are transferred by driver to the asix system together with a time received from the MEVAS station while executing a request from the MEVAS station to prepare new data for reading The frequency of sending request is specified by parameters 1 Refresh10 For data D28 integrals the MEVAS stations send a set of maximally 52 values Each of these values is provided with its own time which usually has a form of hh 59 for 1 hour cycle of integration This time is rounded up by driver to a full hour The rounding may be turned off by means of parameter Round 28 Range of rounding defines a parameter Round Time 28 Although each D28 datum has its own time for the variables of this type it is also necessary to send to the MEVAS station a request to prepare new data and if the parameter Refresh has a value of 0 0 then the parameter Refresh5 must have a not zero value in order to read data correctly historical data too 1 5 Defining the Process Variables The variable definition is based on the MEVAS protocol description
15. mple Refresh 52 22 2255 52 242 4 5 24 D i Knreh I 48 F VAL D l Knrch I 48 Agkn _ 2 Dil KnrlAg D I7 Kmieh I 48 F VAL FLOAT 2 D I7 Knrch 1 48 Agen woro 2 DI7KnrlAg D i Knrch I 48 IIVAL WORD D I9 Knrch I 48 F VAL FLOAT 6 DpO Kmih I 48 FIVAL FLOAT DWORD D 21 Knr D21 Knrl val D21 Knrl t D24 Bnr1 Bsl 1 KLO DWORD D 21 Knr ch 1 487 t ttttmm tttttmm D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt KL0 CLO 0 D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt KL1 CL1 1 D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt KL2 CL2 2 D 24 Bnr B1 lt 1 96 gt Bsl Typ 3 KL3 CL3 3 D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt KL4 CL4 4 D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt KL5 CL5 5 D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt KL6 CL6 6 D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt KL7 CL7 7 D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt 8 8 D 24 Bnr B1 lt 1 96 gt Bsl Typ 3 KL9 CL9 9 D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt KL10 CL10 10 1 2 3 KL11 CL11 11 lt 1 3 gt 12 12 1 lt 1 3 gt 13 13 D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt KL14 CL14 14 D 24 Bnr B1 lt 1 96 gt Bsl Typ lt 1 3 gt KL15 CL15 15 D 24 Bnr B1 lt 1 9
16. n Default value ack v alarm code alarm number Meaning parameter determines a number of alarm generated by the driver in case of loss and re establishing a connection with the station The value of 1 by default causes that alarms are not generated In a situation of connection loss the following number specifying the cause of connection loss is transmitted together with an alarm code 0 complete lack of any answer from the station timeout 2 line errors frame parity overrun errors 3 checksum errors 4 other errors 5 MEVAS was reset 6 timeout on the MEVAS side 7 checksum error on the MEVAS side This number determines the end status of last attempt to establish the connection Default value 1 v simulation number Meaning if the parameter value is 1 then the driver works in simulation mode and does not communicate with the station Values of all variables are random Default value 0 v Refresh1 Refresh10 number Meaning parameters determine how often the driver has to transfer to the MEVAS station requests of preparing a new data set for later reading Each parameter corresponds to a definite variable group The parameter Refresh refers to all variables The parameter has ASKOM Gliwice August 2005 5 MEVAS Driver of MEVAS Analyzers 4 form of two numbers first number determines freguency of reguest sending the second one
17. nt D amp Knph 1 48 FLOAT gt ve D amp Knreh 1 48 FVAL FLOAT 2 D 8 Knrfch lt 1 48 gt S sTsistA woro 2 J psKmis D 8 Knr ch lt 1 48 gt inti 2 D 9 Knrch 1 48 2 Yes D 9 Knreh 1 48 F VAL FLOAT 2 Dj9 Kmph 1 48 S jTSSTA woro 2 peKmis D 9 Knrfch lt 1 48 gt inti 2 D lO Knrch 1 485 FLOAT 2 Yes D lO Knreh c1 48 F VAL FLOAT 2 D lO Knph r 48 SjSTSSTA woro 2 D lO Knrh i 482ij woro 2 D 11 Knrjch lt 1 48 gt FLOAT 2 Yes D ll Knrh ci 482 F VAL 2 D ll Knreh c1 48 SjTSISTA woro 2 DlLKmiS D 11 Knrjch lt 1 48 gt inti word 2 tt Kort it D I2 Knieh 1 48 F jVAL FLOAT 2 D I2 Kmih 1 48 Age 2 D I3 Knrch 1 48 F VAL FLOAT 2 DBKmF D i3 Knrh c 48 Agent womb 2 Di3KnrAg D l4 Kmih i 48 F jVAL FLOAT 2 DI4KmiF E ES pre EI 10 August 2005 ASKOM Gliwice 4 MEVAS Driver of MEVAS Analyzers Table 2 Format of Variable Name continuation Number of Format of Variable Name TYPE Parameter Status Record Exa

Download Pdf Manuals

image

Related Search

Related Contents

Distributed / AS-Interface  f7d4501_es  AD-5601A AD-5605H AD    CDX-GT111 - Sony Europe  3Dブリッジ  QB-MINI2 Setup Manual Partner Tool UM  ビギナーズガイド 【初版】  PARP-PS4  Unicol RTM9004  

Copyright © All rights reserved.
Failed to retrieve file