Represents a numeric input network variable in the program.
CommError and NvIndex are hidden by default.
The network variable type and associated format can be changed by selecting ‘Change NV Type’ from the SmartTag.
Outputs
|
|
|
Slots
|
Type
|
Description
|
|
Out
|
Numeric
|
The current value of the Network Variable (NV).
The default value is specified by the property DefaultValue
|
|
CommError*
|
Digital
|
Will output False, unless the NV is bound, and updates have not been received within the MaxReceiveTime.
|
|
NvIndex*
|
Integer
|
The current index of the network variable.
|
Properties
|
|
|
Slots
|
Description
|
|
DefaultValue
|
The default value of the Out slot.
|
|
MaxReceiveTime
|
When the network variable is bound, determines the maximum period of time that may pass without updates to a binding before the CommError is set to True. To disable, enter a value of zero.
|
|
Persistent
|
When set to True the network variable continues to exist and retain its value between device resets and power cycles.
|
|
|
|
|