I am setting up a new genset controller, Kohler DEC 550, and am using my own template for registers. This controller has what is called an event stack, which reports as many as 254 events, read from 16 consecutive registers which must be read as a block. The bit numbers from those 16 registers correspond to a numeric event code, which corresponds to a particular event listed in a table, see below.
How can I set this up properly? I don’t need to have access to every one of the event codes.