xoScadaSource

<< Click to Display Table of Contents >>

 

xoScadaSource

Data source linked to a real-time source.

Properties of the xoScadaSource object

Property

Data Type

Description

Bit

Number

Bit used in the operation indicated by the BitOperation property, which ranges between 0 (zero) and 31. The default value of this property is 0 (zero)

BitOperation

Number

Operation to apply to the bit indicated in the Bit property. Possible values for this property are 0: No operation, 1: Extraction of an individual bit, or 2: Bit-mask operation

Mask1

Number

Comparison mask for use when the BitOperation property is equal to 2 (two)

MaskX

Number

Logical AND mask for use when the BitOperation property is equal to 2 (two)

MultiState

Boolean

Enables or not the processing of multiple statuses

Quality

Number

Quality, in OPC standard

StateColor

Color

Color representing the current status

Tag

Link

Link to an IOTag-type object

TextValue

Text

Text corresponding to a condition of multiple statuses

TimeStamp

Date and time

Last timestamp

Value

Variant

Current value, in engineering units

 

When starting the execution of this object or when executing the CustomConfig event in Studio, a Link between the object indicated in the Tag property and the Value, Quality, and TimeStamp properties is created. This Link depends on the value of the BitOperation property:

0 (zero): The Tag's Value property receives the value of the Value property

1 (one): GetBit(Tag.Value, Bit) receives the value of the Value property

2 (two): (Tag.Value AND MaskX) is equal to Mask1 and receives the value of the Value property

 

If the Multistate property of the parent object, which is an xfDiscreteInfo type, is equal to True, then the first child object with an xoScadaSource type whose MultiState property is equal to True is the current condition.

Was this page useful?