Porovnávané verzie

Kľúč

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

Datalogger ESC8816 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 8816 – Data Logger Engineering Manual – TIN 96-1169, August 1996 for the datalogger software version 5.02.
Starting with D2000 version 10.0.37 communication with datalogger DLX1 is supported. For this device, communication on TCP/IP-TCP line was also implemented.
Protocol is compatible also with a datalogger EDL 15 produced by ECM Monitory for which addressing of channels above 99 is supported.

Communication includes:


Table 1


Measurement typeI/O tag typeCommunication functionDocumentation
Current valuesAIPoll Most Recent Instantaneous ReadingAppendix A – A54
Current value flagsDIPoll Most Recent Instantaneous ReadingAppendix A – A54
1m averages with flagsAI, DIRetrieve AveragesAppendix A – A24
15m averages with flagsAI, DIRetrieve AveragesAppendix A – A24
30m averages with flagsAI, DIRetrieve AveragesAppendix A – A24
60m averages with flagsAI, DIRetrieve AveragesAppendix A – A24
Custom-period averages with flagsAI, DIRetrieve AveragesAppendix A – A24
Digital inputsDIPoll Current Digital Input StatusAppendix A – A19
CalibrationsAIPoll Calibration ResultsAppendix A – A22
Real time – readTOAPoll Current TimeAppendix A – A56
Real time – writeTOADownload Current TimeAppendix A – A40
Mathematic constants – writeAODownload Math Pack ConstantsAppendix A – A45
Relay outputs – writeDOUTSwitch Digital Output Control Relay On/OffAppendix A – A64


Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

  • Communication line category: Serial, SerialOverUDP Device Redundant, RFC2217 ClientTCP/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.

...

There can be defined the following line protocol parameters:


Table 2


KeywordFull nameMeaningUnitDefault value
Kotva
pm
pm
PM
Passive ModeEnables the passive mode (listening) of the line. Definition of the parameter PM for one station on the line is enough. In the mode, there is monitored the communication between datalogger ESC 8816 and other device (datalogger's responses to master are monitored). Listening allows to get the following types of values:
  • current values, current values' flags ("IJ" response in communication)
  • averages (1, 15, 30, 60 minute averages, custom averages) and their flags ("56" response in communication)
  • digital inputs ("23" response in communication)
  • real time - reading ("LL" response in communication)

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

--
Kotva
pmt
pmt
PMT
Passive Mode TimeoutTimeout after expiration of which all stations changes their states to the error state, if the line is in the passive mode (see the parameter PM). If no data are received within the timeout, all the stations on the line will changes their states to the error state.sec10
Kotva
dc
dc
DC
Debug CalibrationExtended debug information for calibration data reading.-False
Kotva
ac
ac
AC
Acknowledge Calibration DataAcknowledgement of calibration data will be sent to datalogger. If acknowledgement is not sent, datalogger will repeatedly send all available calibration data.-True


Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

There can be defined the following station protocol parameters:


Table 3


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
Kotva
pv
pv
PV
Protocol VariantVariant of protocol. Existing variants are:
  • 0 - ESC8816 - standard protocol for datalogger ESC8816
  • 1 - DLX1 - support of datalogger DLX1 (implemented in august 2015 in version 10.0.37)
-0 - ESC8816


String containing the protocol parameters is being defined as follows:

...

Averages are value of AI type (Analog Input). Measurement type is 1m AV for 1m averages, 15m AV for 15m averages, 30m AV for 30m averages and 60m AV“ for 60m averages. Channel number is a decimal number within the range of 0..99 (see the note about channel addressing).

...

Flags of averages are values of DI type (Digital Input). Measurement type is 1mAV Flag for 1m averages, 15mAV Flag for 15m averages, 30mAV Flag for 30m averages and 60mAV Flag for 60m averages. Channel number is a decimal number within the range of 0..99 (see the note about channel addressing).

...

Calibration results are values of the AI type (Analog Input). Measurement type is CALIB Ph1 for acquiring the value of Average During Zero value or CALIB Ph2 for acquiring the value of Average During Span1. Channel number is a decimal number within the range of 0...99 (see the note about channel addressing).

...

I/O tag flags (from A to P) are adjusted according occurrence of datalogger flags for current values, 1m averages and 30m averages as follows:


Table 3


I/O tag flagMeaningDatalogger flag
AInvalid measurement"<" or „C“, „B“, „M“, „P“ a „D“
BTransient operation"F"
CCalibration"C"
DMalfunction"B"
EMaintenance"M"
FPower cut"P"
GInactive measurement"D"
ILayoff"F"


Acquisition of archive (stored) values

...