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

AVEVA™ Communication Drivers

Counter/timer data types

  • Last UpdatedJul 29, 2024
  • 3 minute read

Counter/Timer includes all structures and parameters for counters and timers provided by the system.

Note: Structural element names are predefined by the system and cannot be changed.

Data Format

Structural Element

Suffix

Data Type

Access

Value Range / Notes

Counter

VT_UI2

Read/Write

0 to 999

Timer

VT_I4

Read/Write

0 to 999000

IEC_COUNTER

<Structure>

N/A

Bool

.CU

VT_BOOL

Read/Write

FALSE or TRUE
(Count Up)

Bool

.CD

VT_BOOL

Read/Write

FALSE or TRUE
(Count Down)

Bool

.R

VT_BOOL

Read/Write

FALSE or TRUE
(Reset)

Bool

.LD

VT_BOOL

Read/Write

FALSE or TRUE
(Load)

Bool

.QU

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Up Count)

Bool

.QD

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Down Count)

Int

.PV

VT_I2

Read/Write

-32768 to 32767
(Preset Counter Value)

Int

.CV

VT_I2

Read/Write

-32768 to 32767
(Current Counter Value)

IEC_DCOUNTER

<Structure>

N/A

Bool

.CU

VT_BOOL

Read/Write

FALSE or TRUE
(Count Up)

Bool

.CD

VT_BOOL

Read/Write

FALSE or TRUE
(Count Down)

Bool

.R

VT_BOOL

Read/Write

FALSE or TRUE
(Reset)

Bool

.LD

VT_BOOL

Read/Write

FALSE or TRUE
(Load)

Bool

.QU

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Up Count)

Bool

.QD

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Down Count)

DInt

.PV

VT_I4

Read/Write

-2147483648 to +2147483647
(Preset Counter Value)

DInt

.CV

VT_I4

Read/Write

-2147483648 to +2147483647
(Current Counter Value)

IEC_LCOUNTER

<Structure>

N/A

Bool

.CU

VT_BOOL

Read/Write

FALSE or TRUE
(Count Up)

Bool

.CD

VT_BOOL

Read/Write

FALSE or TRUE
(Count Down)

Bool

.R

VT_BOOL

Read/Write

FALSE or TRUE
(Reset)

Bool

.LD

VT_BOOL

Read/Write

FALSE or TRUE
(Load)

Bool

.QU

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Up Count)

Bool

.QD

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Down Count)

LInt

.PV

VT_I8

Read/Write

-9223372036854775808 to +9223372036854775807
(Preset Counter Value)

LInt

.CV

VT_I8

Read/Write

-9223372036854775808 to +9223372036854775807
(Current Counter Value)

IEC_SCOUNTER

<Structure>

N/A

Bool

.CU

VT_BOOL

Read/Write

FALSE or TRUE
(Count Up)

Bool

.CD

VT_BOOL

Read/Write

FALSE or TRUE
(Count Down)

Bool

.R

VT_BOOL

Read/Write

FALSE or TRUE
(Reset)

Bool

.LD

VT_BOOL

Read/Write

FALSE or TRUE
(Load)

Bool

.QU

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Up Count)

Bool

.QD

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Down Count)

SInt

.PV

VT_I1

Read/Write

-128 to 127
(Preset Counter Value)

SInt

.CV

VT_I1

Read/Write

-128 to 127
(Current Counter Value)

IEC_UCOUNTER

<Structure>

N/A

Bool

.CU

VT_BOOL

Read/Write

FALSE or TRUE
(Count Up)

Bool

.CD

VT_BOOL

Read/Write

FALSE or TRUE
(Count Down)

Bool

.R

VT_BOOL

Read/Write

FALSE or TRUE
(Reset)

Bool

.LD

VT_BOOL

Read/Write

FALSE or TRUE
(Load)

Bool

.QU

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Up Count)

Bool

.QD

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Down Count)

UInt

.PV

VT_UI2

Read/Write

0 to 65535
(Preset Counter Value)

UInt

.CV

VT_UI2

Read/Write

0 to 65535
(Current Counter Value)

IEC_UDCOUNTER

<Structure>

N/A

Bool

.CU

VT_BOOL

Read/Write

FALSE or TRUE
(Count Up)

Bool

.CD

VT_BOOL

Read/Write

FALSE or TRUE
(Count Down)

Bool

.R

VT_BOOL

Read/Write

FALSE or TRUE
(Reset)

Bool

.LD

VT_BOOL

Read/Write

FALSE or TRUE
(Load)

Bool

.QU

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Up Count)

Bool

.QD

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Down Count)

UDInt

.PV

VT_UI4

Read/Write

0 to 4294967295
(Preset Counter Value)

UDInt

.CV

VT_UI4

Read/Write

0 to 4294967295
(Current Counter Value)

IEC_ULCOUNTER

<Structure>

N/A

Bool

.CU

VT_BOOL

Read/Write

FALSE or TRUE
(Count Up)

Bool

.CD

VT_BOOL

Read/Write

FALSE or TRUE
(Count Down)

Bool

.R

VT_BOOL

Read/Write

FALSE or TRUE
(Reset)

Bool

.LD

VT_BOOL

Read/Write

FALSE or TRUE
(Load)

Bool

.QU

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Up Count)

Bool

.QD

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Down Count)

ULInt

.PV

VT_UI8

Read/Write

0 to 18446744073709551615
(Preset Counter Value)

ULInt

.CV

VT_UI8

Read/Write

0 to 18446744073709551615
(Current Counter Value)

IEC_USCOUNTER

<Structure>

N/A

Bool

.CU

VT_BOOL

Read/Write

FALSE or TRUE
(Count Up)

Bool

.CD

VT_BOOL

Read/Write

FALSE or TRUE
(Count Down)

Bool

.R

VT_BOOL

Read/Write

FALSE or TRUE
(Reset)

Bool

.LD

VT_BOOL

Read/Write

FALSE or TRUE
(Load)

Bool

.QU

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Up Count)

Bool

.QD

VT_BOOL

Read/Write

FALSE or TRUE
(Status of Down Count)

USInt

.PV

VT_UI1

Read/Write

0 to 255
(Preset Counter Value)

USInt

.CV

VT_UI1

Read/Write

0 to 255
(Current Counter Value)

IEC_TIMER

<Structure>

N/A

Time

.ST

VT_I4

Read/Write

-2147483648 to +2147483647
(Start Time)

Time

.PT

VT_I4

Read/Write

-2147483648 to +2147483647
(Present Time)

Time

.ET

VT_I4

Read/Write

-2147483648 to +2147483647
(Elapsed Time)

Bool

.RU

VT_BOOL

Read/Write

FALSE or TRUE
(Running Status)

Bool

.IN

VT_BOOL

Read/Write

FALSE or TRUE
(Start Input)

Bool

.Q

VT_BOOL

Read/Write

FALSE or TRUE
(Pulse Output)

IEC_LTIMER

<Structure>

N/A

LTime

.ST

VT_I8

Read/Write

-9223372036854775808 to +9223372036854775807
(Start Time)

LTime

.PT

VT_I8

Read/Write

-9223372036854775808 to +9223372036854775807
(Present Time)

LTime

.ET

VT_I8

Read/Write

-9223372036854775808 to +9223372036854775807
(Elapsed Time)

Bool

.RU

VT_BOOL

Read/Write

FALSE or TRUE
(Running Status)

Bool

.IN

VT_BOOL

Read/Write

FALSE or TRUE
(Start Input)

Bool

.Q

VT_BOOL

Read/Write

FALSE or TRUE
(Pulse Output)

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