Converts a digital input value to an integer output value.
When the input is Null, the output value is the value entered in the property 'DefaulValue'.
Table 1: DigitalToInteger Conversion
Input
|
Output
|
True
|
1.0
|
False
|
0.0
|
Null
|
DefaultValue
|
Inputs
|
|
|
|
|
Slots
|
Type
|
Default
|
Description
|
|
In
|
Digital
|
Null
|
The digital value that will be converted to an output integer value.
|
Outputs
|
|
|
Slots
|
Type
|
Description
|
|
Out
|
Integer
|
The integer value resulting from the conversion of the digital input value. The default value for the output is set in Properties.
|
Properties
|
|
|
Slots
|
Description
|
|
Default Value
|
Sets the default output integer value.
|
|