SCHNEIDER_IEM3255

SCHNEIDER_IEM3255 (FB)

FUNCTION_BLOCK SCHNEIDER_IEM3255

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

Address of the device

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

xUpdateCounter

BOOL

FALSE

Update of the counters (on each rising edge)

Input

xUpdateInfo

BOOL

FALSE

Update of the serial number / device type (on each rising edge)

Input

xUpdateSetp

BOOL

FALSE

Update of setpoint values (on every rising edge )

Input

rTariff

REAL

1.0

Selection of the desired tariff (1 - 4 = Tariff 1 - Tariff 4)

Input

xResCounterPart

BOOL

FALSE

Reset of the partial energy counters (on each rising edge)

Input

xResError

BOOL

FALSE

Reinitialization of the outputs ‘eErrorCodeCom’ to the error-free state (on each rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rU1N

REAL

Phase voltage L1 - N in V

Output

rU2N

REAL

Phase voltage L2 - N in V

Output

rU3N

REAL

Phase voltage L3 - N in V

Output

rUXN_Avg

REAL

Phase voltage - average value in V

Output

rU12

REAL

Line voltage L1 - L2 in V

Output

rU23

REAL

Line voltage L2 - L3 in V

Output

rU31

REAL

Line voltage L3 - L1 in V

Output

rUXY_Avg

REAL

Line voltage - average value in V

Output

rIL1

REAL

Line current L1 in A

Output

rIL2

REAL

Line current L2 in A

Output

rIL3

REAL

Line current L3 in A

Output

rILX_Avg

REAL

Line current - average value in A

Output

rPowerFactorTot

REAL

Power factor - total in [1]

Output

rActivePowerL1

REAL

Active power L1 in W

Output

rActivePowerL2

REAL

Active power L2 in W

Output

rActivePowerL3

REAL

Active power L3 in W

Output

rActivePowerTot

REAL

Active power - total in W

Output

rApparentPowerTot

REAL

Apparent power - total in VA

Output

rReactivePowerTot

REAL

Reactive power - total in var

Output

rFrequency

REAL

Frequency in Hz

Output

rActiveTariff

REAL

Active tariff (0 = no multi-tariff, 1 - 4 = Tariff 1 - 4 )

Output

rActEneImpTotal

REAL

Consumed active energy - total in kWh (non-resettable )

Output

rActEneExpTotal

REAL

Delivered active energy - total in kWh (non-resettable)

Output

rReaEneImpTotal

REAL

Consumed reactive energy - total in kVarh (non- resettable)

Output

rReaEneExpTotal

REAL

Delivered reactive energy - total in kVarh (non-resettable )

Output

rActEneImpPart

REAL

Consumed active energy - partial amount in kWh (resettable)

Output

rReaEneImpPart

REAL

Consumed reactive energy - partial amount in kVarh (resettable )

Output

rActEneImpP1

REAL

Consumed active energy - phase 1 in kWh (resettable)

Output

rActEneImpP2

REAL

Consumed active energy - phase 2 in kWh (resettable)

Output

rActEneImpP3

REAL

Consumed active energy - phase 3 in kWh (resettable)

Output

rActEneImpTotT1

REAL

Consumed active energy - total - Tariff 1 in kWh ( resettable)

Output

rActEneImpTotT2

REAL

Consumed active energy - total - Tariff 2 in kWh ( resettable)

Output

rActEneImpTotT3

REAL

Consumed active energy - total - Tariff 3 in kWh ( resettable)

Output

rActEneImpTotT4

REAL

Consumed active energy - total - Tariff 4 in kWh ( resettable)

Output

dwSerialNum

DWORD

Serial number of the meter

Output

sDeviceName

STRING

Name of the meter (20 UTF8 characters)

Output

sDeviceType

STRING

Type of the meter (20 UTF8 characters)

Output

xAlarm

BOOL

FALSE

General fault ( TRUE = fault )

Output

xAlarmCom

BOOL

FALSE

General fault - communication ( TRUE = fault )

Output

eErrorCodeCom

ModbusErrorCode

Error code - communication ( 0 = no error )

Output

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

diAdrOffset

DINT

-1

Offset for calculating the Modbus addresses (from the Modbus registers) (Permissible range: -1, 0, +1)

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for operations influenced by the input 'xUpdateSetp'

Input Const

tTimeUpdateCounter

TIME

TIME#60m0s0ms

Update interval for the counters (Istwerte_2)

Input Const

tTimeUpdateActual

TIME

TIME#1m0s0ms

Update interval for operations influenced by the input 'xUpdateActual'

Last updated