HIMax System 3 Product Description
HI 801 001 E Rev. 4.01 Page 43 of 122
Creating Events on SOE Modules
SOE modules can create events using the input states. The events are created in the SOE
module cycle.
The SOE module stores the events in the intermediate buffer that the processor modules
use to read them. The intermediate buffer is part of the volatile memory so that the events
are lost if the power is switched off.
Every event that has be read can be overwritten by a new event.
System Events
In addition to events, which records changes of global variables or input signals, processor
and SOE modules creates the following types of system events:
Overflow: Some events were not stored due to buffer overflow. The timestamp of the
overflow event corresponds to that of the event causing the overflow.
Init: The event buffer was initialized.
Operating mode Stop: A SOE module changed its operating mode to STOP.
Operating mode Run: A SOE module changed its operating mode to Run.
Establishing communication: Communication between processor module and SOE
module has started.
Losing communication: Communication between processor module and SOE module
was terminated.
System events contain the SRS identifier of the module causing the events.
Status Variables
Status variables provide the user program with the state of scalar events. Each of the
following states is connected to a status variable and can be assigned a global variable of
type BOOL:
Normal.
Lower limit exceeded.
Lowest limit exceeded.
High limit exceeded.
Highest limit exceeded.
The assigned status variable becomes TRUE when the corresponding state is achieved.
3.6.3 Recording Events
The processor module collects the events:
created by I/O modules
created by the processor module itself
The processor module stores all the events in its buffer. The buffer is part of the non-
volatile memory.and has a capacity of 5 000 events.
The processor module arranges the events from different sources by the time of their arrival
and does not sort them by their timestamp.
If the event buffer is full, no new events can be stored as long as no further events are read
and thus marked as to be overwritten.
Refer to Chapter
5.3.4 for more details on forcing and scalar events.
3.6.4 Transfer of Events
The X-OPC Server readout events from buffer and transfers this to a third-party system for
evaluation and indication. Four X-OPC Servers can readout events simultaneously from a
processor module.