Represents an integer 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
|
Integer
|
The current value of the 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
|
|
MaxReceiveTime
|
When the network variable is bound, determines the maximum period of time that may expire without updates to a binding before the CommError is set to True. To disable, enter a value of zero.
|
|
Persistent
|
When set to True then the network variable continues to exist and retain its value between network resets and power cycles.
|
|