The function writes a value to a user parameter in Complex Events.
To ensure the recorded value is stored in the device memory and can be sent to the monitoring server, the user parameter must be configured in the protocol settings:
Configuration
➜Protocol Settings
➜User Parameters
➜ Select parameter...
Function Menu | Block Diagram |
---|---|
![]() |
![]() |
Name | Type | Description |
---|---|---|
value |
int32 float |
The value to be written |
enable |
bool |
If the input is True, the value is written to the user parameter CE |
Function logic depends on the data type:
➜ If the
value
input is connected to a variable of type Float, the function writes data to the buffer using the IEEE754 standard. This approach is necessary for values transmitted in Float format (e.g., 12.6).➜ Otherwise, the function writes the data as Int32.
Conversion is automatically performed using hidden functions FROM_FLOAT and TO_FLOAT.
Not available
Name | Description |
---|---|
Parameter Number | The Complex Events parameter number where the value is written. |