As long as there are unread Modbus events available for a Modbus client, bit 0 of Modbus SSR3 register remains "1".
Events are read in two steps. First, the client writes a selection code to the Event selection register at location 49251. The selection code defines the type of read operation that the client wants to perform. If this register is written a second time omitting a read event transaction, this write operation does not succeed and consequentially the relay answers with a message having the exception code: illegal data value. The selected event record is loaded by the protection relay into the following 11 registers from 9252 to 9262. Second, the client reads out the 11 registers in one multiple register read operation.
Selection code 1: Reading the oldest unread record
When writing the selection code 1, the protection relay first checks the client. If the client has read events before, the protection relay knows which internal event has been sent to this specific client during the last reading. The protection relay then loads the next event, that is the oldest unread, into the next 11 registers. If this is the first time the client reads events from the protection relay, the oldest event of the Modbus event buffer is loaded into the 11 event record registers.
Selection code 2: Reading the oldest stored record
Selection code 2 always forces the event reading to go back to the oldest event in the Modbus event buffer. The oldest event record is then loaded into the 11 event record registers. After the client has read out this record, the next record becomes the oldest unread. The client can continue with the selection code 1 by reading out the oldest unread event record again.
Selection code -1...-499
A negative selection code, that is a 16 bit two's complement value, defines how many records backwards from the newest event the event record reading is to be moved. For example, the ten latest events could be read out at any time by first selecting -10, reading out the event and then continuing with the selection code 1 to read out the nine additional event records. There can be 500 event records altogether.
Selection code 3: Resetting the event read pointer
The write selection 3 is not followed by a read operation. The selection 3 means that there are no unread records in the Modbus event buffer left for the client in question, that is, the buffer is cleared. The next new event that is logged into the Modbus event buffer becomes the first unread record for this specific client.
Selection code 4: Resetting SSR3 bit 8
The write selection 4 is not followed by a read operation. The selection code only resets bit 8 in SSR3.
Selection code 5: Reading the newest stored record
Selection code 5 always forces the event reading to go to the newest event in the Modbus event buffer. The newest event record is then loaded into the 11 event record registers. The next new event that is logged into the Modbus event buffer becomes the first unread record for this specific client. Older events can be read with a negative selection code.