Page 12 • MNFL003 ║ Issue/Rev. 0.1 (9/13)
2.32 Read Event Log
To read historical events from the event log, the following steps are used. The most
recent event log entry’s sequence number is available via Function 4, registers 1792-
1793 (unsigned long integer).
To read an entry:
• Write desired event’s sequence number to request register (Function 16; registers
30464-30465)
†
• Read text for event from Event/Audit Log Text registers (Function 4, registers
16-63, Text)
If an error occurs (such as invalid seq #, etc.) the Host Result Register will be set to
a value other than 254 indicating the error. On success, the Host Result Register will
contain the value 254.
2.33 Read Audit Log
Reading from the Audit Log uses the same procedure as reading from the Event Log.
Replace the register numbers for the most recent entry and the request with the Audit Log
equivalents; the entry itself is read from the same location for both the Event and Audit
logs: The most recent Audit Log entry’s sequence number can be read via Function 4,
registers 1794-1795 (unsigned long integer).
To read an entry:
• Write desired entry sequence number to request register (Function 16, registers
30466-30467)
†
• Read text for event from Event/Audit Log Text registers (Function 4, registers
16-63, Text)
If an error occurs (such as invalid seq #, etc.) the Host Result Register will be set to
a value other than 254 indicating the error. On success, the Host Result Register will
contain the value 254.
microFlow.net Liquid Modbus Communications Manual Implementing Remote Host Functionality