Skip to main content
Skip table of contents

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.