Dataloger ESC8816

Dataloger ESC8816

Datalogger ESC8816 communication protocol

Supported device types and versions


The protocol allows reading and writing data from/into the ESC 8816 datalogger.

Implementation was performed and verified according to the ESC Model 8816 – Data Logger Engineering Manual – TIN 96-1169, August 1996 for the datalogger software version 5.02.
Starting with D2000 version 10.0.37, the communication with DLX1 datalogger is supported. For this device, communication on a TCP/IP-TCP line was also implemented.
The protocol is also compatible with a EDL 15 datalogger produced by ECM Monitory for which addressing of channels above 99 is supported.

Communication includes:

Table 1

Measurement type

I/O tag type

Communication function

Documentation

Current values

AI

Poll Most Recent Instantaneous Reading

Appendix A – A54

Current value flags

DI

Poll Most Recent Instantaneous Reading

Appendix A – A54

1m averages with flags

AI, DI

Retrieve Averages

Appendix A – A24

15m averages with flags

AI, DI

Retrieve Averages

Appendix A – A24

30m averages with flags

AI, DI

Retrieve Averages

Appendix A – A24

60m averages with flags

AI, DI

Retrieve Averages

Appendix A – A24

Custom-period averages with flags

AI, DI

Retrieve Averages

Appendix A – A24

Digital inputs

DI

Poll Current Digital Input Status

Appendix A – A19

Calibrations

AI

Poll Calibration Results

Appendix A – A22

Real-time – read

TOA

Poll Current Time

Appendix A – A56

Real-time – write

TOA

Download Current Time

Appendix A – A40

Mathematic constants – write

AO

Download Math Pack Constants

Appendix A – A45

Relay outputs – write

DOUT

Switch Digital Output Control Relay On/Off

Appendix A – A64

Communication line configuration


  • Communication line category: Serial, SerialOverUDP Device Redundant, RFC2217 Client, TCP/IP-TCP (for DLX1).

  • Baud rate according to the ESC 8816 datalogger settings - System Configuration Screen – Baud Rate – Port 1, Baud Rate – Port 2, or Baud Rate – Port 3 according to the used datalogger port, 1 stop bit, 8 data bits, no parity.

Line protocol parameters

The following line protocol parameters can be defined:

Table 2

Keyword

Full name

Meaning

Unit

Default value

PM

Passive Mode

Enables the passive mode (listening) of the line. It is enough to define the PM parameter for one station on a line. In the passive mode, the communication between ESC 8816 datalogger and other devices is monitored (datalogger's responses to the master are monitored). Listening allows getting the following types of values:

  • current values, current values' flags ("IJ" response in the communication)

  • averages (1, 15, 30, 60-minute averages, custom averages) and their flags ("56" response in the communication)

  • digital inputs ("23" response in the communication)

  • real-time - reading ("LL" response in the communication)

If the passive mode has been enabled (PM=True), to disable it you must either set the parameter PM=False or restart the D2000 KOM process (i.e. deleting the parameter PM=True is not sufficient).

-

-

PMT

Passive Mode Timeout

Timeout after expiration of which all stations change their states to the error state if the line is in the passive mode (see the Passive Mode parameter). If no data is received within the timeout, all the stations on a line will change their states to the error state.

sec

10

DC

Debug Calibration

Extended debug information for calibration data reading.

-

False

AC

Acknowledge Calibration Data

Acknowledgment of calibration data will be sent to the datalogger. If the acknowledgment is not sent, the datalogger will repeatedly send all available calibration data.

-

True

Communication station configuration


  • Communication protocol: ESC 8816.

  • The station address is a decimal number within the range of 0..255. Station address must be identical with the datalogger setting "System Configuration Screen" – "Logger ID Code".

  • The line mode number must correspond to a correctly configured mode.

Station configuration is different from implementation in the versions D2000 v3.XX. The station time parameters (polling parameters) and polling priority are used, one datalogger must be divided into logical stations as follows:

  • Current values - the delay at least 1 second, station priority 0. Current measurements of channels and digital inputs are configured at this station. This is a logical station with the lowest priority, the delay parameter may not be less than 1 second.

  • 1m averages - the period 1 minute, the offset 5..10 seconds, station priority 1.  One-minute averages of channel measurements are configured at this station. This is a logical station with a higher priority, the parameter offset shouldn't be less than 5 seconds - this is the time provided for the datalogger for processing values.

  • 30m averages - the period 30 minute, the offset 5..10 seconds, station priority 2. Thirty-minute averages of channel measurements are configured on this station. This is a logical station with even higher priority, the parameter offset shouldn't be less than 5 seconds - this is the time provided for the datalogger for processing values. 

  • Calibrations – station with a required period for reading calibration results.

  • For other than 1m and 30m averages (15m, 60m, or custom period averages), it is necessary to configure the polling parameters according to the custom average.

Note: Time of values acquired from communication is the time of the beginning of a given period. The division into individual stations is necessary to ensure data reading reliability in the required time and not to overload the communication, e.g. by a frequent acquisition of current values blocking the acquisition of interval averages.

Station protocol parameters

The following station protocol parameters can be defined:

Table 3

Keyword

Full name

Meaning

Unit

Default value

Keyword

Full name

Meaning

Unit

Default value

RC

Retry Count

The number of request repeats in case of a communication error.

-

2