Home
DataPAF - Driver of DataPAF Energy Counter Protocol User`s Manual
Contents
1. 12 August 2005 ASKOM Gliwice asix4 Table of Contents 1 2 DATAPAF DRIVER OF DATAPAF ENERGY COUNTER PROTOCOL eee eee 3 1 1 DRIVER USE eines HEU hdi nen 3 1 2 DECLARATION OF TRANSMISSION CHANNEL sssesssseceeeceesssuscecececsesesseceeececsenensseseeseeesensaaeeeeseseeeneaaeas 3 13 DRIVER CONFIGURATION 5 15 2 rh tre eet tee Pete ec v eR Eee E te leo o Pero RE E E ee Eee DU 3 1 4 DRIVER PARAMETERIZATION 7 1 5 DEFINITION OF YA RIA BLES orte 8 1 6 HISTORICAE tetro Petre eee P 9 LIST OF TABLES E T 11 ASKOM Gliwice August 2005 13
2. ASMEN CHANI DataPAF COM2 KANAL2 DataPAF COMA CHANI system 5 log DATAPAF log diagnostics 14 In the example above the system time will be synchronized with the time of an energy counter connected to the port 2 By placing the records diagnostics 14 and log DATAPAF log in the counter section it is possible to receive the record of time synchronization diagnostics in the file DATAPAF log The time is synchronized with an accuracy of 1 second 1 5 Definition of Variables EXAMPLE An example of the ASMEN variable definition 3010El5ml DATAPAF rednia 15min energii kan 1 XEN1 1 60 NOTHING FP 3010EBDSH DATAPAF suma energii biernej kanatow w pop okres PEN11 8 CHANI 1 3600 NOTHING FP 8 August 2005 Gliwice 4 DataPAF Driver of DataPAF Energy Counter Protocol Table 1 The List of All the Variable Types Supported by the DataPAF Driver c signifies the number of channel 1 30 s time zone 0 8 1 6 Historical Data Historical data are available for the following variable types POF IMP BRK and XEN COASKOM Gliwice August 2005 DataPAF Driver of DataPAF Energy Counter Protocol asix4 10 August 2005 ASKOM Gliwice asix4 List of Tables 2 List of Tables Table 1 The List of All the Variable Types Supported by the DataPAF Driver see Gliwice August 2005 11 List of Tables asix4
3. User s Manual as see and get more DataPAF Driver of DataPAF Energy Counter Protocol User s Manual Doc No ENP4014 Version 29 08 2005 User s Manual 51 4 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 o o 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 fax 48 0 32 3018101 http www askom com pl e mail office askom com pl 4 DataPAF Driver of DataPAF Energy Counter Protocol 1 DataPAF Driver of DataPAF Energy Counter Protocol 1 1 Driver Use The DataPAF protocol is designed for communication with DataPAF energy counters provided with the EPROM 2 1 13 Aug 96 or later one For the communication a COM interface is used 1 2 Declaration of Transmission Channel The full synt
4. ax of declaration of transmission channel working according to the DataPAF protocol is given below logical name DataPAF COMn where COMn number of the serial port to which the DataPAF energy counter is connected Each defined channel may have its own section the name of which is a logical name of the channel It contains parameters for the given channel Some channels may have a common serial port Also the given port COMn may have its own section named DataPAF n It defines parameters of the serial port 1 3 Driver Configuration The default values of serial interfaces are retrieved from the section DataPAF if section exists This section 15 used to configure all the channels for the DataPAF protocol which are declared in this system NUMBER number serial Number number Meaning determines an identification number of the DataPAF counter Input of incorrect number makes the communication impossible Default value 1234 Parameter number counter number baud number bps number Meaning determines transmission speed Default value 4800 Parameter number transmission speed in Bd ASKOM Gliwice August 2005 3 DataPAF Driver of DataPAF Energy Counter Protocol 51 4 diagnostics number Meaning declaring this position with value 14 will cause outputting the diagnostic information connected with time synchronization to the log file Default value 0 Parameter numbe
5. k alarm Code number Meaning Default value the parameter determines the number of an alarm generated by the driver in case of loss and re establishing of connection with the station The value of 1 default causes that alarms are not generated In a situation of a connection loss a number specifying the cause of connection loss is transferred together with the 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 This number determines the end status of the last attempt of connection establishing lack v energy error number Meaning Default value determines situations when the status of the XEN variable value assumes an error value and it is the sum of the following values 1 error when a short decay of voltage 2 error when a long decay of voltage 4 error when a pause in input line of the impulse counter 0 August 2005 ASKOM Gliwice asix4 4 DataPAF Driver of DataPAF Energy Counter Protocol mult number Meaning defines a value of all input multipliers Input multipliers are used for calculating the energy on the basis of the impulse number If this parameter is given then the driver will not read values of multipliers from the energy counter If beside the parameter mult parameters determining values of multipliers for individual channe
6. ls multn are also used then the parameter mult must be placed before all parameters multn Default value lack Parameter number the multiplier 15 a floating point number number Meaning defines an input multiplier value for a channel with the number n 1 31 Input multipliers are used for calculating the energy on the basis of the impulse number If this parameter is given then the driver will not read values of multipliers from the energy counter If the parameter mult is also given then it must be placed before all parameters multn Default value lack Parameter number the multiplier is a floating point number EXAMPLE datapaf definition of multiplier for all channels mult 2 7 definition of multiplier for channel 6 mult6 3 3 1 4 Driver Parameterization Examples EXAMPLE ASMEN KOMIN 2 DataPAF 2 DataPAF 2 baud 19200 Numer 4800 In the above example the station named KOMIN 2 connected to the port COM2 is defined The transmission speed of 19200 bps will be used ASKOM Gliwice August 2005 7 DataPAF Driver of DataPAF Energy Counter Protocol 51 4 In case of time synchronization of asix station with the time of a chosen counter definition of this time should be placed in the ini section for the given counter For this purpose the parameter system sync to which the value of allowed difference of times in seconds is assigned EXAMPLE
7. r 14 v parity parity parameter Meaning determines parity Default value N Parameter parity parameter allowed value n no parity bit o odd parity check e even parity check m mark 5 Space v stop bits number Meaning determines a number of stop bits Default value 1 Parameter number allowed values are 1 and 2 word number word length number Meaning determines word length Default value 8 Parameter number allowed values are from the range of 5 to 8 tine out number timeout number Meaning waiting time for the DataPAF answer Default value 1000 Parameter number in miliseconds v repetitions number Meaning number of repetitions of communication operations ended with an error Default value 3 4 August 2005 Gliwice asix4 DataPAF Driver of DataPAF Energy Counter Protocol Parameter number number of repetitions v max Time Difference number Meaning determines the maximal difference between the asix system time and the DataPAF counter time after which warnings will be generated in Control Panel The station time can be read with an interval defined by the parameter time Check Default value 60 Parameter number number in seconds time Check number Meaning interval with which the current time of the counter 15 read Default value 180 Parameter number number in seconds v system sync numbe
8. r Meaning maximal difference between the asix system time and the DataPAF counter time after which a system time synchronization with the counter time will occur If the parameter value is 0 then the system time 15 not synchronized with the counter time Default value 0 Parameter number number in seconds v period Check number Meaning interval with which the change of current calculation period of the counter is checked Default value 180 Parameter number number in seconds max history number Meaning determines a time period from the current moment backwards for which historical data saved in station memory will be read Default value 35 Parameter number number in days Gliwice August 2005 5 DataPAF Driver of DataPAF Energy Counter Protocol v history Buffer Removal number Meaning Default value Parameter number the parameter determines a time period after which buffers containing historical data read for needs of an archiving module are removed 120 the time is given in minutes v CRC1I6 YES NO Meaning Default value determines if the CRC16 validity check has to be used in the communication with the counter If NO is given then the sum of sequent bytes will be calculated YES v log file name Meaning Default value the parameter determines the name of file to which additional diagnostic information will be written lac
Download Pdf Manuals
Related Search
Related Contents
DELL Venue 11 Pro 128GB Black Code Summary, Checklist, & Manual ユーノ fiche de donnees de securite paraformaldehyde Copyright © All rights reserved.
Failed to retrieve file