System version 10.0 System version 9.1 System version 9.0 System version 8.2
System version 10.0 System version 9.1 System version 9.0 System version 8.2

Input value type stDoubleValueType

In the library JCmpVisuBasic the following input objects are available for inputting floating points type stDoubleValueType and stDoubleValueBaseType:

InputstDoubleValue: Input of long real value via the structure variable.
InputstDoubleValueBase: Input of long real value via the structure variable.

stDoubleValueTyp/stDoubleValueBaseTyp: the structure contains the following variables:

lrValue: Long Realwert

eValueError: enum for error.

eValueStateNamur: Enum für den Namurzustand.

udiUnitType: Wert für die Einheit. (nur bei stDoubleValueTyp)

In the project, the necessary structures can be defined as follows:

VAR
// Example for DoubleValue
stDoubleValue : JCmpVisuBasic.JCmpUtilItf.stDoubleValueType;
stDoubleValueBase : JCmpVisuBasic.JCmpUtilItf.stDoubleValueBaseType;
END_VAR

The structure defined above must now be transferred for the transfer parameters.

image-20240111-093014.png

In the code, the input of the long real value can be queried as follows:

image-20240111-092540.png