Variable to sample

BrowseName: VariableToLog
SuperType: Variable (BaseDataVariableType)

Variable to sample with a Data logger object.

Properties

Name

BrowseName

DataType

Description

Last value

LastValue

BaseDataType

Last value sampled at runtime

Timestamp

Timestamp

UtcTime

Timestamp of the last sampling of the variable at runtime

Last operation result code

LastOperationCode

TagOperationCode

(Only for reading of variables from PLC) Operation code for the last PLC reading

Dead-band mode

DeadBandMode

DeadBandModeEnum

(only for Value change sampling mode) Method of calculating the change of value, with respect to the previous sampling, within which not to sample. It has priority over the logger’s dead-band general mode. None: any change; Absolute: absolute change of the values of the variable; Percentage: percentage change of the values of the variable.

Dead-band value

DeadBandValue

Double

(only for Value change sampling mode) Value of the dead-band interval. It has priority over the logger’s dead-band general value. For example, if the value is 5, the logger samples the variable only if it has had an absolute or percentage change of at least ± 5 with respect to the previous sampling.