Function allows generating an event and writing it to the device memory.
Function menu | Block diagram |
---|---|
![]() |
![]() |
Name | Type | Description |
---|---|---|
generate |
bool | Event generation signal |
force |
bool | Out-of-order event If the force input is set to true when the event is generated, then the event will be sent to the server out of turn, otherwise the event will be sent in the order of general priority. |
Not available
Name | Description |
---|---|
Event code | Event number. There are 3 event codes available, which will be substituted into field #2 (event_code) of the FLEX protocol: CE_EVT_1 - Event #41046; CE_EVT_2 - Event #41047; CE_EVT_3 - Event #41048. |
Packet format | function in development |
If the
generate
input is connected to a constant and its value is True, then the function works in the “pressing signal” mode (the function tries to generate an event each time it is executed).
If a variable or output of another function is connected to thegenerate
input **, then the operation occurs "on the edge", i.e. when the state transitions from False to True.
If a constant with the value True is connected to the generate
input, then the function will be triggered each time it is called.
If the output of another function or variable is connected to the generate
input, then the function will only work if the value on the generate
input changes from False to True.