Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

Datalogger ESC8800 communication protocol

Supported device types and versions
Communication line configuration
Communication station configuration
I/O tag configuration
Literature
Changes and modifications
Document revisions

Kotva
typy_verzie
typy_verzie
Supported device types and versions

...

Implementation was performed and verified according to the ESC Model 8800 – datalogger Engineering Manual – TIN 97-1023, February 1997 documentation for the datalogger software version 6.

Communication includes:

Table 1

Measurement typeI/O tag typeCommunication functionDocumentation
Current valuesAIPRINT MINUTECommand Response String 6 – 16, 17
Current values flagsDIPRINT MINUTECommand Response String 6 – 16, 17
1m averagesAIPRINT MINUTECommand Response String 6 – 16, 17
1m average flagsDIPRINT MINUTECommand Response String 6 – 16, 17
30m averagesAIPRINT AUXCommand Response String 6 – 14, 15
30m average flagsDIPRINT AUXCommand Response String 6 – 14, 15
60m averagesAIPRINT HOURCommand Response String 6 – 7, 8
60m average flagsDIPRINT HOURCommand Response String 6 – 7, 8
Digital inputsDISENSE INCommand Response String 6 – 9, 10
CalibrationsAIPRINT CALCommand Response String 6 – 12, 13
Real time – writeTOASET TIMECommand Response String 6 – 20

Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

  • Communication protocol: ESC 8800.
  • Station address is a decimal number within the range of 0..255 or as a hexadecimal number with a hash at the beginning (e.g. #0A). Station address must be identical with the datalogger settings - the command SET ID.

Station configuration is different from implementation in the versions D2000 v3.XX. There are used station time parameters and their priorities, one datalogger must be divided into logical stations as follows:

  • Current values - delay - at least 1 second, station priority - 0. Current measurements of channels and digital inputs are configured on the station. Logical station with the lowest priority, the parameters delay may not be less than 1 second. Note: datalogger 8800 does not provide any current data - the data are acquired from one-minute averages. Therefore it is not necessary to create the station.
  • 1m averages - period - 1 minute, offset - 5..10 seconds, station priority - 1. There are configured 1m averages of channel measurement on the station. Logical station with a higher priority, the parameter offset couldn't be less than 5 seconds - time for datalogger for processing values.
  • 30m averages - period - 30 minute, offset - 5..10 seconds, station priority - 2. There are configured 30m averages of channel measurements on the station. Logical station with even higher priority, the parameter offset couldn't be less than 5 seconds - time for datalogger for processing values. The period of 30 minutes must initialized in the datalogger by using the command SET INT 30
  • ,
  • Calibrations – station with required period for reading calibration results.

...

There can be defined the following station protocol parameters:

Table 2

KeywordFull nameMeaningUnitDefault value
Kotva
rc
rc
RC
Retry CountPoll repetition count in case of a communication error.-2
Kotva
rt
rt
RT
Retry TimeoutDelay between poll repetition in case of a communication error.ms1000 ms.
Kotva
wft
wft
WFT
Wait First TimeoutDelay after transmitting the poll before reading the response.ms500 ms.
Kotva
wt
wt
WT
Wait TimeoutDelay between response readings till its finalization.ms400 ms.
Kotva
mwr
mwr
MWR
Max Wait RetryRepetition count of response readings till its finalization.-8
Kotva
gsi
gsi
GSI
Get Stored IntervalPeriod, during which there are read archive data from the datalogger without interruption. The period is given in minutes. If the value of the period is e.g. 60 minutes, so there are read all archive data from e.g. June 3rd 1996 05:00 to 06:00, then from 06:00 to 07:00 etc. Loading archive data within the period couldn't take more than one minute, because there could be lost some current data acquired among archive readings.min10 min.
Kotva
vp
vp
VP
Validity PercentValid measurements percentage for making measured interval valid.%67.000

String containing the protocol parameters is being defined as follows:

...

I/O tag type is Ai, measurement type is ACTUAL. Channel number is defined as a decimal number within the range of 0..99 or as a hexadecimal number with a hash at the beginning (e.g. #0A).


Configuration of current value flags

Current values flags are DI type (Digital Input). Measurement type is ACTUAL Flag.

Note: At defining the No missing data <blank> flag, you can use the character _ (underline) for transparency.

...

Averages are values of AI type (Analog Input). Measurement type is 1m AV for one-minute averages, 30m AV for half-hour averages and 60m AV for hour averages. Channel number is defined as a decimal number within the range of 0..99 or as a hexadecimal number with a hash at the beginning (e.g. #0A).


Flag configuration of 30m and 60m averages

Flags of averages are values of DI type (Digital Input). Measurement type is 30mAV FLAG for half-hour averages and 60mAV FLAG for hour-averages.

Note: At defining the No missing data <blank> flag, you can use the character _ (underline) for transparency.

...

Digital inputs are value of DI type (Digital Input). Measurement type is Dig.Input. Digital input number is defined as a decimal number within the range of 0..999.

...

Calibration results are values of AI type (Analog Input). Measurement type is CAL-Ph1 for the first calibration phase or CAL-Ph2 for the second calibration phase. Channel number is defined as a decimal number within the range of 0..99 or as a hexadecimal number with a hash at the beginning (e.g. #0A).


Real time I/O tag configuration

...