Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Communication Drivers

ArchestrA to OPC Conversions

  • Last UpdatedJul 02, 2020
  • 1 minute read

In the case of the Gateway Communication Driver receiving data from an ArchestrA source and sending it to an OPC client, it converts ArchestrA types to OPC types as follows:

ArchestrA type

OPC Variant Canonical Mapping

Comments

Boolean

VT_BOOL

Discrete (0/1) translates to OPC VT_BOOL.

Float

VT_R4

Integer

VT_I4

String

VT_BSTR

If too long, truncated and marked Q=Uncertain.

Double

VT_R4

If overflows, marked Q=Bad and set value = NaN.

Time

VT_BSTR

ElapsedTime

VT_R4

Pass as float seconds; consistent with InTouch behavior.

CustomEnum

VT_BSTR

If too long, truncated and marked Q=Uncertain.

InternationalString

VT_BSTR

If too long, truncated and marked Q=Uncertain.

BigString

VT_BSTR

If too long, truncated and marked Q=Uncertain.

CustomStruct

Not supported

MxReference

VT_BSTR

If too long, truncated and marked Q=Uncertain.

Datatype

VT_BSTR

MxStatus

VT_BSTR

If too long, truncated and marked Q=Uncertain.

TitleResults for “How to create a CRG?”Also Available in