HIMA

Z7134/3334/C5/P2 HIMA

Boolean Events:

Changes of Boolean variables, e.g., of digital inputs.

Alarm and normal state: They can be arbitrarily assigned to the variable states.

Scalar Events:

Exceedance of the limit values defined for a scalar variable.

Scalar variables have a numeric data type e.g., INT, REAL.

Two upper limits and two lower limits are possible.

For the limit values, the following condition must be met:

Highest limit ≥ upper limit ≥ normal area ≥ lower limit ≥ lowest limit.

An hysteresis can be effective in the following cases: – If the value falls below the upper limit. – If the value exceeds the lower limit.

An hysteresis is defined to avoid a needless large number of events when a global variable

strongly oscillate around a limit.

The processor module can only create events if they are configured in SILworX, see

Chapter 4.1.5.

Creating Events

Both the processor module and certain types of I/O modules are able to create events. In

the following sections, these I/O modules are referred to as SOE modules.

Creating Events on the Processor Module

The processor module uses global variables to create the events and stores them in the

buffer, see Chapter 3.4.7. The events are created in the user program cycle.

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:

Leave a Reply

Your email address will not be published. Required fields are marked *