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 | ||||
---|---|---|---|---|
|
...
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 type | I/O tag type | Communication function | Documentation |
---|---|---|---|
Current values | AI | PRINT MINUTE | Command Response String 6 – 16, 17 |
Current values flags | DI | PRINT MINUTE | Command Response String 6 – 16, 17 |
1m averages | AI | PRINT MINUTE | Command Response String 6 – 16, 17 |
1m average flags | DI | PRINT MINUTE | Command Response String 6 – 16, 17 |
30m averages | AI | PRINT AUX | Command Response String 6 – 14, 15 |
30m average flags | DI | PRINT AUX | Command Response String 6 – 14, 15 |
60m averages | AI | PRINT HOUR | Command Response String 6 – 7, 8 |
60m average flags | DI | PRINT HOUR | Command Response String 6 – 7, 8 |
Digital inputs | DI | SENSE IN | Command Response String 6 – 9, 10 |
Calibrations | AI | PRINT CAL | Command Response String 6 – 12, 13 |
Real time – write | TOA | SET TIME | Command Response String 6 – 20 |
Kotva | ||||
---|---|---|---|---|
|
...
Kotva | ||||
---|---|---|---|---|
|
...
- 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
Keyword | Full name | Meaning | Unit | Default value | ||||||
---|---|---|---|---|---|---|---|---|---|---|
| Retry Count | Poll repetition count in case of a communication error. | - | 2 | ||||||
| Retry Timeout | Delay between poll repetition in case of a communication error. | ms | 1000 ms. | ||||||
| Wait First Timeout | Delay after transmitting the poll before reading the response. | ms | 500 ms. | ||||||
| Wait Timeout | Delay between response readings till its finalization. | ms | 400 ms. | ||||||
| Max Wait Retry | Repetition count of response readings till its finalization. | - | 8 | ||||||
| Get Stored Interval | Period, 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. | min | 10 min. | ||||||
| Validity Percent | Valid 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
...