MP_EPIV_R6_V4_Process

MP_EPIV_R6_V4_Process 1:

This function block is suitable for 6-way EPIV V4 DN 15…25 EP..R6 + BAC-HHx. For more information please visit www.belimo.com.

MP_Address is used to specify the MP-Bus device with which the function block is to communicate. bStart activates communication with the MP-Bus device. bBusy indicates that the function block is active. If bStart remains TRUE, the device is addressed cyclically with a period specified by the time in TMPolling. The time should be set longer than 1 second. bError is used to indicate an error in communication with the actuator. The type of the error can be read with iErrorId.

MP_EPIV_R6_V4_Process 2: Inputs

VAR_INPUT
  MP_Address          : USINT := 1;
  bStart              : BOOL;
  strDataKL6771       : DataKL6771;
  TMpolling           : TIME := t#10s;
  rSetpoint           : LREAL;
  nCommand            : E_MP_EV_V4_Command;
  nOverrideControl    : E_MPBus_Override_6wayMPIV_V4;
  rSetpointSeq1_Write : LREAL;
  rSetpointSeq2_Write : LREAL;
  nDataRead           : WORD := 16#FFFF;
END_VAR

Name

Type

Description

MP_Address

USINT

MP-Bus address of the slave.

bStart

BOOL

A positive edge starts the function block. If this remains continuously TRUE, the function block will be activated cyclically with a period specified by the time in TMPolling.

strDataKL6771

DataKL6771

The data structure with which the KL6771() function block must be linked.

TMpolling

TIME

The time for which the function block should address the actuator. Default 10 s, minimum time 1 s.

rSetpoint

LREAL

Setpoint in % (0...100).

nCommand

E_MP_EV_V4_Command

Command for service and test functions of the actuator.

nOverrideControl

E_MPBus_Override_6wayMPIV_V4

Override the setpoint with defined values.

rSetpointSeq1_Write

LREAL

Setpoint for Sequence 1 in % (0…100).

rSetpointSeq2_Write

LREAL

Setpoint for Sequence 2 in % (0…100).

nDataRead

WORD

0xFFFF - Read all data
Bit 0 – Read relative position
Bit 1 – Read absolute position
Bit 2 – Read value sensor 1
Bit 3 – Read analog setpoint
Bit 4 – Read relative flow rate
Bit 5 – Read absolute flow rate
Bit 6 – Read glycol concentration
Bit 7 – Read Temperature1 remote
Bit 8 – Read Temperature2 integrated
Bit 9 – Read temperature delta
Bit 10 – Read relative power
Bit 11 – Read absolute cooling power
Bit 12 – Read absolute heating power
Bit 13 - Total volume
Bit 14 – Read cooling energy
Bit 15 – Read heating energy

MP_EPIV_R6_V4_Process 3: Outputs

VAR_OUTPUT
  bBusy                            : BOOL;
  bError                           : BOOL;
  iErrorId                         : MP_Error;
  nOverrideControl_Read            : E_MPBus_Override_6wayMPIV;
  rSetpoint_Read                   : LREAL;
  rRelativePos_Read                : LREAL;
  rAbsolutePos_Read                : LREAL;
  rRelativeFlow_Read               : LREAL;
  bErrorStateFlowSensorErr         : BOOL;
  bErrorStateActuator_can_not_move : BOOL;
  st_StateEV                       : st_StateEV;
  rAbsoluteFlow_UnitSel            : LREAL;
END_VAR

Name

Type

Description

bBusy

BOOL

This bit is set for as long as the function block is active.

bError

BOOL

This output goes TRUE as soon as an error occurs. This error is described via the iErrorId variable.

iErrorId

MP_ERROR

This output outputs an error code in the event of an error. bError goes TRUE at the same time.

strMP_Serial_Number

MP_Serial_Number

Structure for the serial number.

rSetpoint_Read

LREAL

Setpoint in % (0…100).

rRelativePosition

LREAL

Relative position in % (0…100).

rAbsolutePosition

LREAL

Absolute position in ° (0…96).

nOverrideControl_Read

E_MPBus_Override_6wayMPIV_V4

Override mode.

nSensor1Value

DINT

Sensor 1 value in mV/ohm (0…65535). A value of -1 means that the data is disabled.

rSetpointAnalog

LREAL

Analog setpoint in % (0…100). A value of -1 means that the data is disabled.

rRelativeVolumetricFlow

LREAL

Relative volume flow rate in % (0…100). A value of -1 means that the data is disabled.

rAbsoluteVolumetricFlow

LREAL

Absolute volume flow rate in l/s (0…100). A value of -1 means that the data is disabled.

rAbsoluteVolumetricFlowSelUnit

LREAL

Absolute volumetric flow in selected unit.

rGlycolConcentration

LREAL

Glycol concentration in % (0…100). A value of -1 means that the data is disabled.

rTemperature

LREAL

Temperature1 in °C (-20…+150). A value of -273 means that the data is disabled.

rSetpointSeq1

LREAL

Setpoint for Sequence 1 in % (0…100).

rSetpointSeq2

LREAL

Setpoint for Sequence 2 in % (0…100).

rAccumulatedVolume

LREAL

Total volume in m³ (0…214748.36).

st_ErrorState

ST_MP_EPIV_HealthState

Device status.

nCondensationProtectionStatus

E_MP_CondensationProtectStatus

Condensation protection status.

rRelativeHumidity

LREAL

Relative humidity in % (0–100) for EP0..R6+BAC+HHM and in V for EP0..R6+BAC.

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4024.77

Tc2_MPBus from 3.8.1.0