DynProperties for subitem "SetValue"

'Send value to hardware' (SwNeu)

Name Type Description
Command Long
IsCurValue Boolean Active (TRUE): The value is read from the hardware and then is proposed as a default or directly sent to the hardware.
Additionally for numerical variables, the DynProperty "NumValue" becomes a new function, as the value entered there is added to the default (subtracted if negative value).

Inactive (FALSE): The value defined under DynProperty "NumValue" is proposed as a default or directly sent to the hardware.
IsDirect Boolean Active (TRUE): After activating the function, the value is directly sent to the hardware, not asking for a further confirmation.

Inactive (FALSE): Before sending the value to the hardware, the set value dialog is opened and the user can change the settings within the Runtime.
IsVarLimit Boolean If this property is TRUE, the set value limits are taken from the variable definition.

Otherwise (FALSE), the value limits can be defined directly by means of the DynProperties "Minimum" and "Maximum".
IsWriteSync Boolean Active (TRUE): 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.
In scripts this can make sure, that the following function is not started, before this one is finished.
The confirmation can also be evaluated with the status bit WR-SUC .

Inactive (FALSE): Do not wait for the writing confirmation.
Maximum Double Specifies the maximum limit of the value.

Hint: Only available, if DynProperty "IsVarLimit" is set to FALSE.
Minimum Double Specifies the minimum limit of the value.

Hint: Only available, if DynProperty "IsVarLimit" is set to FALSE.
NumValue Double Value of numerical variables which will be issued.

ATTENTION: For boolean variables only following values can be set ...

0 → LOW (0)
1 → HIGH (0)
2 → TOGGLE (Value of variable is switched to complementary status)
PrgName String Specifies the path and the name of the program (plus its file extension) which should be executed, if option 1 within DynProperty "Setting" is set.
Setting Long Send value with (in online operation):

0 → Standard dialog box of the control system
1 → External program provided by the user

Hint: This property is only available, if DynProperty "IsDirect" is set to FALSE.
StrValue String Value of alphanumerical variables which will be issued.
Variable ZT_VARIABLE Gets or sets the "Variable" object which should be (or is already) linked to the function.