
Doc
#
E166703
E-17
E: Retrieving Logs
Electro
Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
Electro
Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
E.5.3: Log Retrieval Procedure
The following procedure documents how to retrieve a single log from the oldest record
to the newest record, using the "normal" record type (see
Scope
). All logs are
retrieved using the same method. See E.5.4: Log Retrieval Example, on page E-20,
for an example retrieval.
NOTES:
• This example uses auto-increment.
• In this example, Function Code 0x23 is not used.
• You will find referenced topics in Section E.4 Block Definitions.
• Modbus Register numbers are listed in brackets.
1. Engage the Log:
a. Read the Log Status Block.
i. Read the contents of the specific logs' status block [, 16 reg-
isters] (see Log Headers).
ii. Store the # of Records Used, the Record Size, and the Log Availabil-
ity.
iii. If the Log Availability is not 0, stop Log Retrieval; this log is not
available at this time. If Log Availability is 0, proceed to step 1b
(Engage the log).
This step is done to ensure that the log is available for retrieval, as well as
retrieving information for later use.
b. Engage the log: write log to engage to Log Number, 1 to Enable, and the desired
mode to Scope (default 0 (Normal)) [0xC34F, 1 register]. This is best done as a
single-register write.
This step will latch the first (oldest) record to index 0, and lock the log so that
only this port can retrieve the log, until it is disengaged.
Содержание MP200
Страница 1: ...V 1 07 November 5 2018 ...
Страница 2: ...This page intentionally left blank ...