MP_EPIV_R6_V4_Configuration

Dieser Funktionsbaustein dient zur Konfiguration der 6-way EPIV V4 DN 15..25 EP..R6 + BAC-HHx. Weitere Informationen finden Sie unter www.belimo.com.
Über MP_Address wird vorgegeben, mit welchem MP-Bus-Teilnehmer der Baustein kommunizieren soll. bStart aktiviert die Kommunikation mit dem MP-Bus-Teilnehmer. Über bBusy wird angezeigt, dass der Baustein aktiv ist. Mit bError wird ein Fehler in der Kommunikation mit dem Antrieb angezeigt. Die Art des Fehlers kann mit iErrorId ausgelesen werden.
Eingänge
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL;
bRead_Write : BOOL;
strDataKL6771 : DataKL6771;
n6wayType : E_MP_6wayEPIV4:=MPBus_EP0_R6_BAC;
nControlMode_Write : E_MP_EV_V4_ControlMode := 1;
nBusFailAction_Write : E_MP_EV6way_V4_BusFailAction;
nCommunicationWatchdog_Write : UINT := 120;
bSetpointSource_Write : BOOL;
nSensor1Type_Write : E_MP_EV6way_V4_SensorType;
nUnitSelectMode_Write : E_MP_EP_R_R6_UnitSel := E_MP_l_h;
rMaxVolFlowLimitSeq1_Write : LREAL := 100;
rMaxVolFlowLimitSeq2_Write : LREAL := 100;
bInvertSeq_Write : BOOL;
bSetpointMode_Write : BOOL;
bEnableCondensationProtection_Write : BOOL;
bCondensationProtectionAction_Write : BOOL;
rCondensationWarningThreshold_Write : LREAL;
rCondensationAlarmThreshold_Write : LREAL;
nCondensationActionDelay_Write : UINT;
END_VARName | Typ | Beschreibung |
|---|---|---|
MP_Address | USINT | MP-Bus-Adresse des Slaves. |
bStart | BOOL | Positive Flanke startet den Baustein. |
bRead_Write | BOOL | Wenn FALSE dann nur LESEN, bei TRUE LESEN und SCHREIBEN. |
strDataKL6771 | Datenstruktur, die mit dem KL6771() Baustein verbunden sein muss. | |
n6wayType | Regelventil. | |
nControlMode_Write | Steuerungsmodus. | |
nBusFailAction_Write | Bus-Ausfallaktion. | |
nCommunicationWatchdog_Write | UINT | Kommunikationsüberwachung in s (5...3600). |
bSetpointSource_Write | BOOL | TRUE = Bus; FALSE = Analog |
nSensor1Type_Write | Sensor 1 Typ. | |
nUnitSelectMode_Write | Einheitenauswahl. | |
rMaxVolFlowLimitSeq1_Write | LREAL | Maximaler Volumenstrom Sequenz 1 in %. |
rMaxVolFlowLimitSeq2_Write | LREAL | Maximaler Volumenstrom Sequenz 2 in %. |
bInvertSeq_Write | BOOL | TRUE = Invertiert; FALSE = Nicht invertiert. |
bSetpointMode_Write | BOOL | TRUE = Getrennte Sollwerte; FALSE = Einzelner Sollwert |
bEnableCondensationProtection_Write | BOOL | TRUE = Aktiviert; FALSE = Deaktiviert |
bCondensationProtectionAction_Write | BOOL | TRUE = Ventil schließen; FALSE = Keine |
rCondensationWarningThreshold_Write | LREAL | Schwellenwert Kondensationswarnung in % (5...95) für EP0..R6+BAC+HHM und in V (0,5...9,5) für EP0..R6+BAC. |
rCondensationAlarmThreshold_Write | LREAL | Schwellenwert Kondensationsalarm in % (5…95) für EP0..R6+BAC+HHM und in V (0,5...9,5) für EP0..R6+BAC. |
nCondensationActionDelay_Write | UINT | Verzögerung der Kondensationsmaßnahme in s. |
Ausgänge
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
nControlMode : E_MP_EV_V4_ControlMode;
nBusFailAction : E_MP_EV6way_V4_BusFailAction;
nCommunicationWatchdog : UINT;
bSetpointSource : BOOL;
nSensor1Type : E_MP_EV6way_V4_SensorType;
rVnom : LREAL;
nUnitSelectMode : E_MP_EP_R_R6_UnitSel;
arSerialNumber : ARRAY[0..1] OF DWORD;
rMaxVolFlowLimitSeq1 : LREAL;
rMaxVolFlowLimitSeq2 : LREAL;
bInvertSeq : BOOL;
bSetpointMode : BOOL;
bEnableCondensationProtection : BOOL;
bCondensationProtectionAction : BOOL;
rCondensationWarningThreshold : LREAL;
rCondensationAlarmThreshold : LREAL;
nCondensationActionDelay : UINT;
END_VARName | Typ | Beschreibung |
|---|---|---|
bBusy | BOOL | Dieses Bit wird so lange gesetzt, wie der Baustein aktiv ist. |
bError | BOOL | Der Ausgang wird TRUE, sobald ein Fehler auftritt. Dieser Fehler wird über die Variable iErrorId beschrieben. |
iErrorId | Der Ausgang gibt im Fehlerfall einen Fehlercode aus. Gleichzeitig wird bError TRUE. | |
nControlMode | Steuerungsmodus. | |
nBusFailAction | Bus-Ausfallaktion. | |
nCommunicationWatchdog | UINT | Kommunikationsüberwachung in Sek (5...3600). |
bSetpointSource | BOOL | TRUE = Bus; FALSE = Analog |
nSensor1Type | Sensor 1 Typ. | |
rVnom | LREAL | Nennvolumenstrom in l/s (0...100). |
nUnitSelectMode | Skalierung. | |
arSerialNumber | ARRAY OF DWORD | Seriennummer des Geräts. |
rMaxVolFlowLimitSeq1 | LREAL | Maximaler Volumenstrom Sequenz 1 in %. |
rMaxVolFlowLimitSeq2 | LREAL | Maximaler Volumenstrom Sequenz 2 in %. |
bInvertSeq | BOOL | TRUE = Invertiert; FALSE = Nicht invertiert. |
bSetpointMode | BOOL | TRUE = Getrennte Sollwerte; FALSE = Einzelner Sollwert |
bEnableCondensationProtection | BOOL | TRUE = Aktiviert; FALSE = Deaktiviert |
bCondensationProtectionAction | BOOL | TRUE = Ventil schließen; FALSE = Keine |
rCondensationWarningThreshold | LREAL | Schwellenwert Kondensationswarnung in % (5...95) für EP0..R6+BAC+HHM und in V (0,5...9,5) für EP0..R6+BAC. |
rCondensationAlarmThreshold | LREAL | Schwellenwert Kondensationsalarm in % (5…95) für EP0..R6+BAC+HHM und in V (0,5...9,5) für EP0..R6+BAC. |
nCondensationActionDelay | UINT | Verzögerung der Kondensationsmaßnahme in s. |
Voraussetzungen
Entwicklungsumgebung | Einzubindende SPS-Bibliothek |
|---|---|
TwinCAT ab v3.1.4024.77 | Tc2_MPBus ab 3.8.1.0 |