Send value to hardware |
Manual -> Variables -> Variable - Functions -> Send value to hardware |
Show all Hide all |
This function is used to set a set value for a variable (setpoint, command, single information) during online operation.
The variable, the set value and the way how to set the value have to be given as transfer parameters. This function is configured via a dialog mask. Input with the numerical keypad is possible. Both comma and dot are accepted as decimal point.
Configurable options are:
Set value settings:
Set value / Change by |
technical set value of filed variables which will be issued |
Direct to hardware |
Active:
After activating the function the value is directly sent to the
hardware not asking for a further confirmation. |
propose current value |
Active:
The value is read from the hardware and then is proposed as a
default or directly sent to the hardware. Additionally the caption
of the field |
Use set value limits of the variable |
Active:
The set value limits are taken from the variable definition
( |
Wait for writing confirmation |
Active:
Executing the function is not finished, before a positive
confirmation of the writing action is received or the fixly defined
timeout of 30 seconds is over. |
Set value for numerical variables in the Runtime:
A. |
Standard dialog box |
The entry is made with the help of the zenon standard dialog box. If the keyboard picture SETVALUEKBD is available in the project, it is used automatically. |
B. |
Picture |
prepared |
C. |
Extern program |
a program developped by the user |
Info |
A decimal value can be entered with a colon as well as with a point, the decimal point will automatically be changed to a point. |
If binary variables are given (information, command), the dialog mask will change.
Configurable options are:
LOW (0) |
Value of variables will be set to "LOW" (0) |
HIGH (1) |
Value of variables will be set to "HIGH" (1) |
TOGGLE |
Value of variable is switched to complementary status. |
Direct to hardware |
Active:
After activating the function the value is directly sent to the
hardware not asking for a further confirmation. |
propose current value |
Active:
The value is read from the hardware and then is proposed as a
default or directly sent to the hardware. |
Wait for writing confirmation |
Active:
Executing the function is not finished, before a positive
confirmation of the writing action is received or the fixly defined
timeout of 30 seconds is over. |
Send value for binary variables in the runtime:
Standard dialog box |
The entry is made with the help of the zenon standard dialog box. If the keyboard picture SETBOOLKBD is available in the project, it is used automatically. |
Picture |
prepared |
Extern program |
a program developped by the user |
After configuration, the function will be entered into the function list with the transfer parameters. If the set value is output directly to the hardware, the function administration will also contain a -> before the value.
The type of simultaneous logging of the set
value input can be configured via project configuration
CEL configuration...
.
Info |
In case of reload or Server-Standby Switch, the present responses or writing affirmations are distorted. |