DOCA0272EN-00

UDT_SystemWriteCmds

The SystemWriteCmds UDT is used to transfer the acyclic system reset commands and avatar energy preset data. The interfaces of the PN_SystemWriteCmds and DP_SystemWriteCmds function blocks contain this UDT as a parameter.

Elements

Element

Data Type

Description

stSystemWrite

STRUCT

The acyclic write commands of the system. See Struct SystemWrite.

aAvatarWrite

Array[1..20] of STRUCT

Contains an array of the acyclic write commands of all 20 possible avatars. See Struct AvatarWrite.

Struct SystemWrite

Element

Data Type

Description

usiResetVoltageDipCnt

USINT

If this input is set to 1, the value of the parameter VDipCnt is reset.

usiResetVoltageSwellCnt

USINT

If this input is set to 1, the value of the parameter VSwellCnt is reset.

usiResetMaxTotActive

USINT

If this input is set to 1, the value of the parameter MaxTotActPow and the associated time stamp MaxTotActPowTimestamp are reset.

usiResetMaxTotReactive

USINT

If this input is set to 1, the value of the parameter MaxTotReactPow and the associated time stamp MaxTotReactPowTimestamp are reset.

usiResetMinTruePow

USINT

If this input is set to 1, the true value of the parameter MinTruePowFact is reset to 1 and the associated time stamp MinTruePowFactTimestamp is reset.

usiResetMaxTruePow

USINT

If this input is set to 1, the true value of the parameter MaxTruePowFact is reset to 1 and the associated time stamp MaxTruePowFactTimestamp is reset.

usiResetTotReactEng

USINT

If this input is set to 1, the value of the parameter TotReactEnergy is reset.

usiResetTotActEng

USINT

If this input is set to 1, the value of the parameter TotActEnergy is reset.

Struct AvatarWrite

Element

Data Type

Description

usiSetActEng

USINT

Command to set the Total Active Energy value to Total Active Energy Preset value.

usiSetReactEng

USINT

Command to set the Total Reactive Energy value to Total Reactive Energy Preset value.

udiTotActEngValue

UDINT

Preset the Total Active Energy value.

udiTotReactEngValue

UDINT

Preset the Total Reactive Energy value.

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?