All the components are supplied in particular hardware and software configurations appropriate for the application. Modifications to hardware or software configurations other than those described in the documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG. Personnel qualification This description is only intended for trained specialists in control, automation and drive engineering who are familiar with the applicable national standards.
Foreword Notes on information security The products of Beckhoff Automation GmbH & Co. KG (Beckhoff), insofar as they can be accessed online, are equipped with security functions that support the secure operation of plants, systems, machines and networks. Despite the security functions, the creation, implementation and constant updating of a holistic security concept for the operation are necessary to protect the respective plant, system, machine and networks against cyber threats.
Introduction Introduction The MP-Bus library is a TwinCAT PLC library for data exchange with MP-Bus devices. All function blocks from the library must be called in the same task. This library is to be used only in conjunction with a MP-Bus master terminal KL6771. Version: 1.1 TX1200...
• Relevant safety regulations for building technical equipment This software library is intended for building automation system partners of Beckhoff Automation GmbH & Co. KG. The system partners operate in the field of building automation and are concerned with the installation, commissioning, expansion, maintenance and service of measurement, control and regulating systems for the technical equipment of buildings.
Documentation from the Belimo Automation AG contains further information. Actuator solutions for MP-Bus Types ¹ Unit ready for Beckhoff function block extended MP- Bus® ² General air solution Rotary actuators...
Page 11
MP-Bus Types ¹ Unit ready for Beckhoff function block extended MP- Bus® ² NF24A-MP 10 Nm SF24A-MP 20 Nm EF24A-MP 30 Nm GK24A-MP 40 Nm Linear actuators LH24A-MP... 60/100/200/300 150 Nm MP_DamperLinearActu- ator SH24A-MP... 100/200/300 450 Nm Linear actuators with emergency control function...
Page 12
MP-Bus Types ¹ Unit ready for Beckhoff function block extended MP- Bus® ² Fast running actuators with emergency control function for globe valves NVKC24A-MP-TPC 1000 N MP_DamperLinearActu- ator Actuators for butterfly valves SR24A-MP-5 20 Nm MP_DamperLinearActu- ator GR24A-MP-5/7 40 Nm DR24A-MP-...5/7...
Page 13
MP-Bus Types ¹ Unit ready for Beckhoff function block extended MP- Bus® ² EV..R+BAC DN 15-50 • MP_EV P..W..EV-BAC DN 65-150 • MP_EV_Parameter Belimo Energy Valve™ V4 EV..R2+.. DN 15-50 • MP_Energy- ValveV4_Process MP_Energy- ValveV4_Configuration Thermal Energy Meter 22PE- ..
Integration into TwinCAT Integration into TwinCAT KL6771 - Linking to the TwinCAT System Manager How do I link the KL6771 to the System Manager? 1. Select All Types and Continuous 2. Click the mouse on the first variable in the KL6771 Parameter Status. Then press the [SHIFT] key, and hold it down.
Page 15
Integration into TwinCAT 3. Then press the OK button. 4. You can now check the link. To do this, go to the KL6771 and open it. All the terminal's data should now be marked by a small arrow (see Figure). ð...
Page 16
This example describes how a simple PLC program for MP-Bus can be written in TwinCAT and how it is linked with the hardware. The task is to control an individual flap drive and change it with a button. Unpacking the example files https://infosys.beckhoff.com/content/1033/tcplclibmpbus/Resources/ zip/12063685643.zip...
Page 17
Integration into TwinCAT The input SetPoint is set depending on the selected function. Link the global variables bOpen and bClose with an auxiliary variable. Go to the task configuration and give the task a lower interval time. More detailed information can be found in the KL6771() [} 25] function block description.
Page 18
This example describes how a simple PLC program for MP-Bus can be written in TwinCAT and how it is linked with the hardware. The task is to control an individual flap drive and change it with a button. Unpacking the example files https://infosys.beckhoff.com/content/1033/tcplclibmpbus/Resources/ zip/12063687051.zip...
Page 19
Integration into TwinCAT Next, generate the following global variables: VAR_GLOBAL bOpen AT %I* : BOOL; bClose AT %I* : BOOL; arrKL6771_IN AT %I* : ARRAY[0..11] OF BYTE; arrKL6771_OUT AT %Q* : ARRAY[0..11] OF BYTE; stDataKL6771 : DataKL6771; END_VAR bOpen: input variable for the Open button. bClose: input variable for the Close button. arrKL6771_IN: input variable for the MP-Bus terminal. arrKL6771_OUT: output variable for the MP-Bus terminal. stDataKL6771: required for communication with MP-Bus (see DataKL6771 [} 72]).
Page 20
Integration into TwinCAT Go to the task configuration and give the task a lower interval time. More detailed information can be found in the KL6771() [} 25] function block description. Now load the project as a boot project to the BC and save it. Configuration in the System Manager Create a new TwinCAT System Manager project, select the BC as the target system, and search for the associated hardware.
Page 21
Integration into TwinCAT Your BC is now ready for use. After pressing the button the flap drive can be moved. The current position is stored in variable wActValue. TX1200 Version: 1.1...
Programming Programming Content General Information [} 24] Linking to the TwinCAT System Manager [} 14] POUs POUs Description Communication with the MP-Bus master terminal KL6771 [} 25] KL6771 POUs/Function blocks Function blocks Description This function block is used to control and monitor a volume flow MP_CMV [} 28] controller.
Page 23
Programming Function blocks Description This function block is used to control and monitor an actuator of a MPL_DamperLinearActuator [} 62] damper and of a globe valve. Functions POUs Description This function calculates a temperature from the value of an NI1000 NI1000_LuS_TO_INT [} 63] L&S resistor.
This library replaces the "TcKL6771.lib/.lb6./.lbx". Only the name of the libraries has changed. The modules are still compatible. Hardware documentation in Beckhoff Information System: KL6771 - MP-Bus master terminal Further libraries are required For PC systems (x86) and Embedded-PCs (CXxxxx): •...
Programming Function blocks Description This function block is suitable for Energy Valve actuators EV..R2+... MP_EnergyValveV4_Process [} 34] (V4). This function block is used to control a pressure-independent control MP_EPIV [} 36] ball valve. This function block is used to control a control ball valve of series MP_EPIV_R6 [} 38] EP..R-R6+BAC.
Programming VAR_INPUT KL6771_IN : ARRAY [0..11] OF BYTE; KL6771_IN: Is linked with the input process image of the MP-Bus master terminal. VAR_OUTPUT KL6771_OUT : ARRAY [0..11] OF BYTE; strDataKL6771 : DataKL6771; bError : BOOL; ErrorCode : MP_Error; BusLoad : INT := -1; KL6771_OUT: is linked with the MP-Bus master terminal's output process image. strDataKL6771: data structure, which is linked with the different MP-Bus function blocks and includes the communication with the KL6771 function block (see DataKL6771 [} 72]).
Page 27
Programming bBusy is set for as long as the block is active. An error is indicated through bError, while the error number can be read with iErrorId. VAR_INPUT MP_Address : USINT := 1; bAddrAuto : BOOL; bReadAddr : BOOL; bAddrManual : BOOL; MP_Serial_Number_IN : MP_Serial_Number; TMOUT : TIME := t#30s; strDataKL6771 : DataKL6771; MP_Address: the MP address that is to be used for the addressing or for reading the serial number. Valid values (1...8).
Programming 6.2.3 MP_CMV This function block is used to control and monitor a volume flow controller. 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.
Page 29
Programming strDataKL6771: the data structure with which the KL6771 [} 25] function block must be linked (see DataKL6771 [} 72]). TMpolling: the time for which the function block should address the actuator. Default 10 s, minimum time 1 s. VAR_OUTPUT bBusy : BOOL; bError : BOOL; iErrorId : MP_Error; ActValue : WORD; bMP_Sensor_Digi : BOOL;...
Programming 6.2.4 MP_DamperLinearActuator This function block is used to control and monitor an actuator of a damper and of a globe valve. 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.
Programming VAR_OUTPUT bBusy : BOOL; ActValue : WORD; bMP_Sensor_Digi : BOOL; iMP_Sensor_Analog : INT; iErrorID : MP_Error; bError : BOOL; bErr_MecOvld : BOOL; bErr_ActHunt : BOOL; bErr_MecTrv : BOOL; bPositionSetByHand : BOOL; bSynchronisationActive : BOOL; bBusy: this bit is set for as long as the function block is active. ActValue: contains the current position of the actuator (0...100 %). bMP_Sensor_Digi: if an analog sensor is connected, its value is indicated through this variable. iSensorTyp must be "1".
Page 32
Programming This function block is used to configure the Energy Valve actuators EV..R2+... (V4). For more information please visit www.belimo.ch. 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. bError is used to indicate an error in communication with the actuator.
Page 33
Programming nControlMode : E_MP_EV_V4_ControlMode; rBusFailPosition : LREAL; nCommunicationWatchdog : UINT; bSetpointSource : BOOL; nSensor1Type : E_MP_VRU_Sensor1Type; rVmin : LREAL; rVmax : LREAL; rVnom : LREAL; rPnom : LREAL; rPmax : LREAL; nDeltaTLimitation : E_MP_EV_V4_DeltaTLimitation; nDeltaTManagerStatus : E_MP_EV_V4_DeltaTManagerStatus; rSetpointDeltaT : LREAL; rSetpointAbsFlowDeltaT : LREAL; arSerialNumber : ARRAY[0..1] OF DWORD; bSelectMeterRegister : BOOL; bBusy: this bit is set for as long as the function block is active. bError: the output becomes TRUE as soon as an error occurs. This error is described via the iErrorId variable.
Programming 6.2.6 MP_EnergyValveV4_Process This function block is suitable for Energy Valve actuators EV..R2+... (V4). For more information please visit www.belimo.ch. 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.
Page 35
Programming nDataRead: 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 volume flow rate; bit 5 - read absolute volume flow rate; bit 6 - read glycol concentration; bit 7 - read temperature1 remote; bit 8 - read temperature2 integrated;...
Programming rTemperature1_Remote: temperature1 remote in °C (-20...12). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.7 = TRUE). rTemperature2_Integrated: temperature2 integrated in °C (-20...12). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.8 = TRUE). rDeltaTemperature: temperature delta in K (0...14).
Page 37
Programming iSensorTyp : INT; SetPoint : USINT; MaxVol : WORD; strDataKL6771 : DataKL6771; TMpolling : TIME := t#10s; MP_Address: MP-Bus address of the slave. bStart: 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. bSet: a positive edge writes the MaxVol data to the actuator.
Programming act_MaxVol: maximum set volume flow rate in %. act_MinVol: minimum set volume flow rate in %. bErr_ActHunt: actuator error, "Regulating oscillation": the actuator is swinging backwards and forwards. bErr_MecTrv: actuator error, "Positioning angle exceeded": the actuator has passed more than 10° beyond the adaptation position.
Programming 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; bBusy: this bit is set for as long as the function block is active. bError: the output becomes TRUE as soon as an error occurs. This error is described via the iErrorId variable.
Page 40
Programming VAR_INPUT MP_Address : USINT := 1; bStart : BOOL; bRead_Write : BOOL; strDataKL6771 : DataKL6771; nUnitSelection_Write : E_MP_EP_R_R6_UnitSel; bControlMode_Write : BOOL; rVmaxSeq1_Write : LREAL; rVmaxSeq2_Write : LREAL; MP_Address: MP-Bus address of the slave. bStart: 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. bRead_Write: if FALSE then READ only;...
Programming 6.2.10 MP_EV This function block is used to control a control ball valve of series P6...W..EV-BAC. For more information please visit www.belimo.ch. 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.
Page 42
Programming nAbsPos : INT; rT1_SI : REAL; rT2_SI : REAL; rDELTA_T : REAL; rP_SI : REAL; nE_COOLING_SI : DINT; nE_HEATING_SI : DINT; nRelFlow : INT; rAbsFlow_SI : REAL; nRelPos : INT; nRelSetPointRead : INT; bErrorStateT1 : BOOL; bErrorStateT2 : BOOL; bErrorStateFlowSensorErr : BOOL; bErrorStateMechanicalOverload : BOOL; st_StateEV : St_StateEV; bPositionSetByHand : BOOL; bBusy: This bit is set for as long as the block is active. bError: The output becomes TRUE as soon as an error occurs. The error is described via the variable iErrorId.
Programming 6.2.11 MP_EV_Parameter This function block is used for parameterization of valves. 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 block is active. bError is used to indicate an error in communication with the drive.
Programming iVOC : INT; iHumidity : INT; bFlushStatus : BOOL; bBusy: this bit is set for as long as the function block is active. bError: the output becomes TRUE as soon as an error occurs. This error is described via the iErrorId variable. iErrorId: this output outputs an error code in the event of an error (see MP_Error [} 70]). bError goes TRUE at the same time.
Page 46
Programming iSensorTyp: "0" or blank - no sensor is connected; "1" an analog sensor is connected with voltage output in mV; "2" output of a resistance in ohms - 1.0 ohm; "3" output of a resistance in ohms - 0.1 ohm; "4" digital sensor.
Programming 6.2.14 MP_RoomSensor This function block is used to read room sensors. For more information please visit www.belimo.ch. 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.
Programming rSensTemp: Sensor temperature in °C or °F. rDewPointTemp: Temperature of the calculated dew point in °C or °F. rHumid: Humidity in percent (% 0.01). uiCo2: CO2 content in ppm. stUnit: C = °C or F = °F, ? = not read. bDigitalInput: DI sensor read if bReadDISensor is TRUE.
Programming rOffsetDewPointTemp_Write: OffsetDewPointTemp [UnitSel] -15...15 °C (-27...27 °F). VAR_OUTPUT bBusy : BOOL; bError : BOOL; iErrorId : MP_Error; stUnit : STRING; iOffsetCO2 : INT; rOffsetHumidity : LREAL; rOffsetTemp : LREAL; rOffsetDewPointTemp : LREAL; bBusy: This bit is set for as long as the block is active. bError: The output becomes TRUE as soon as an error occurs. The error is described via the variable iErrorId.
Page 50
Programming A positive edge at bTest initiates a test run on the fire damper. Errors that have been set can be cleared with this if they are no longer present. VAR_INPUT MP_Address : USINT := 1; bStart : BOOL := TRUE; bTest : BOOL; bOpen_Close : BOOL; bReset : BOOL; strDataKL6771 : DataKL6771; TMpolling : TIME := t#10s; MP_Address: MP-Bus address of the slave. bStart: a positive edge starts the function block.
Programming 6.2.17 MP_TEM_Configuration This function block is used to configure the Thermal Energy Meter type 22PE-.. and 22PEM-..For more information please visit www.belimo.ch. 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.
Programming bSelectMeterRegister: FALSE = certified meter; TRUE = lifetime meter. 6.2.18 MP_TEM_Process This function block is is suitable for the Thermal Energy Meter type 22PE-.. and 22PEM-..For more information please visit www.belimo.ch. 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.
Programming rTotalVolume : LREAL; nCoolingEnergy : DINT; nHeatingEnergy : DINT; bBusy: this bit is set for as long as the function block is active. bError: the output becomes TRUE as soon as an error occurs. This error is described via the iErrorId variable. iErrorId: this output outputs an error code in the event of an error (see MP_ERROR [} 70]). bError goes TRUE at the same time.
Page 54
Programming https://infosys.beckhoff.com/content/1033/tcplclibmpbus/Resources/gif/12063688459.gif The input data bRelay_R1 to bRelay_R3 switch the relays R1 to R3 (PIN 15 to PIN 17). The variable iUa switches the analog output 0...10 V to PIN 5. One digit corresponds to 1 mV. The data structure SETTINGS is used for parameterization of the UST3. The scaling of the analog input data can be set, and the resistance measurement can be enabled on PIN4.
Page 55
Programming VAR_INPUT MP_Address : USINT := 1; bStart : BOOL; strDataKL6771 : DataKL6771; TMpolling : TIME := t#10s; bRelay_R1 : BOOL; bRelay_R2 : BOOL; bRelay_R3 : BOOL; iUa : UINT; SETTINGS : UST3_SET; MP_Address: MP-Bus address of the slave. bStart: 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: the data structure with which the KL6771 [} 25] function block must be linked (see DataKL6771 [} 72]).
Programming 6.2.20 MP_VAV This function block is used to control and monitor a volume flow controller. 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.
Page 57
Programming bOpen: a positive edge opens the dampers of the actuator, while a negative edge cancels the forced ventilation. bClose: a positive edge closes the dampers of the actuator, while a negative edge cancels the forced closure. bReset: a positive edge resets the actuator's error messages. iSensorTyp: 0: no sensor connected, 1: digital sensor connected, 2: analog sensor connected (0...35 V), 3...6: output of a resistance in ohms (3..5 applies to PT1000, NI1000 and NI1000LuS;...
Programming 6.2.21 MP_VRU_Configuration This function block is used to configure the VAV actuators VRU-D3-BAC, VRU-M1-BAC and VRU-M1R-BAC (max. 8 slaves). Further information can be found at www.belimo.ch. 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.
Programming bSetpointSourcesRead : BOOL; bOperationModeRead : BOOL; nSensor1TypeRead : E_MP_VRU_Sensor1Type; nApplication : E_MP_VRU_Application; bControlMode : BOOL; nRoomPressureCascade : E_MP_VRU_RoomPressureCascade; bBusy: this bit is set for as long as the function block is active. bError: the output becomes TRUE as soon as an error occurs. This error is described via the iErrorId variable. iErrorId: this output outputs an error code in the event of an error (see MP_ERROR [} 70]).
Page 60
Programming 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 s.
Programming nOverrideControl_Read: Override Control [} 68]. nCommand_Read: Command [} 68]. rRelativePosition: Relative Position in %. Value of -1 means data are disabled (see VAR_INPUT nDataRead). rAbsolutePosition: Absolute Position in °. Value of -1 means data are disabled (see VAR_INPUT nDataRead). rRelativeVolumeticFlow: Relative Volumetic Flow in %. Value of -1 means data are disabled (see VAR_INPUT nDataRead).
Programming ManuelMode: FALSE: manual operation allowed. TRUE: manual operation disabled. strDataKL6771: the data structure with which the KL6771 [} 25] function block must be linked (see DataKL6771 [} 72]). TMpolling: the time for which the function block should address the actuator. Default 10 s, minimum time 1 s.
Programming strDataKL6771: the data structure with which the KL6771 [} 25] function block must be linked (see DataKL6771 [} 72]). TMpolling: the time for which the function block should address the actuator. Default 10 s, minimum time 1 s. VAR_OUTPUT bBusy : BOOL; ActValue : WORD; iErrorID : MP_Error; bError : BOOL; bBusy: this bit is set for as long as the function block is active.
Programming 6.3.2 NI1000_TO_INT : INT This function calculates a temperature from the value of an NI1000 resistor. Connect this function to iMP_Sensor_Analog. As output, you receive an INT variable that represents the temperature with a resolution of 0.01 °C (20.5 °C, for example, is represented as 2050). The lowest valid value of 867 ohms corresponds to -25 °C.
Programming The largest valid value of 1592 ohms corresponds to 155 °C. If the value is greater than this, 16#7FFE is output. VAR_INPUT MP_Value : WORD; MP_Value: input for an ohmic PT1000 sensor. PT1000_TO_INT: temperature in 0.01 °C. Data types 6.4.1 Enums 6.4.1.1 Data_Window This ENUM can be used to specify the ventilation method. TYPE Data_Window : Window_Close := 8, Window_Unlock := 9,...
Page 66
Programming 6.4.1.2 E_MP_EP_R_R6_UnitSel Scaling. TYPE E_MP_EP_R_R6_UnitSel : E_MP_m3_s := 0, E_MP_m3_h := 1, E_MP_l_s := 2, E_MP_l_min := 3, E_MP_l_h := 4, E_MP_gpm := 5, E_MP_cfm := 6 END_TYPE E_MP_m3_s: Set scaling to m3/s. E_MP_m3_h: Set scaling to m3/h. E_MP_l_s: Set scaling to l/s. E_MP_l_min: Set scaling to l/min. E_MP_l_h: Set scaling to l/h. E_MP_gpm: Set scaling to gpm. E_MP_cfm: Set scaling to cfm.
Page 67
Programming MPBus_EV_DeltaT_Manager := 1, MPBus_EV_DeltaT_Manager_Scaled := 2 END_TYPE MPBus_EV_Disabled: disabled. MPBus_EV_DeltaT_Manager: Delta T Manager. MPBus_EV_DeltaT_Manager_Scaled: Delta T Manager scaled. 6.4.1.6 E_MP_EV_V4_DeltaTManagerStatus Status from Delta T Manager. TYPE E_MP_EV_V4_DeltaTManagerStatus : MPBus_EV_NotSelect := 0, MPBus_EV_Standby := 1, MPBus_EV_Active := 2 END_TYPE MPBus_EV_NotSelect: not selected. MPBus_EV_Standby: standby. MPBus_EV_Active: active. 6.4.1.7 E_MP_EV_V4_OverrideControl Setpoint override. TYPE E_MP_EV_V4_OverrideControl : MPBus_EV_Override_None := 0, MPBus_EV_Override_Open := 1,...
Page 68
Programming MPBus_VRU_Application_FlowControl: Flow control. MPBus_VRU_Application_PressureControl: Pressure control. MPBus_VRU_Application_RoomPressureControl: Room pressure control. MPBus_VRU_Application_FlowMeasurement: Flow measurement. 6.4.1.9 E_MP_VRU_Command Commands for service and test functions of the actuator. TYPE E_MP_VRU_Command : MPBus_VRU_Command_None := 0, MPBus_VRU_Command_Adaption := 1, MPBus_VRU_Command_Test := 2, MPBus_VRU_Command_Sync := 3 END_TYPE MPBus_VRU_Command_None: None. MPBus_VRU_Command_Adaption: Adaption. MPBus_VRU_Command_Test: Test. MPBus_VRU_Command_Sync: Sync. 6.4.1.10 E_MP_VRU_OverrideControl Override the setpoint.
Page 71
Programming MP_ANSWER_ReservedForFuture := 16#80FF, END_TYPE NO_MP_ERROR: no error. WRONG_TERMINAL: wrong terminal connected. NO_ANSWER_FROM_KL6771: no answer from the KL6771 MP-Bus master terminal. This message usually means that there is no connection to the terminal. Terminal linked to the variables in the System Manager? Terminal plugged in incorrectly? Everything revised, compiled and read again in the System Manager? NO_LINK_TO_STRUCTURE_strDataKL6771: check link to structure DataKL6771.
Programming MP_ANSWER_InternalBusBusy: internal bus is busy. MP_ANSWER_ReservedForFuture: reserve. 6.4.1.18 UST3_Ex Voltage scaling. TYPE UST3_Ex : Ex_1mV := 0, Ex_250uV := 1, END_TYPE Ex_1mV: scaling 0...11 V. Ex_250uV: scaling 0...3 V. 6.4.1.19 UST3_R_set Resistance scaling. TYPE UST3_R_set : R_1Ohm := 0, R_250mOhm := 1, R_4Ohm := 2, END_TYPE R_1Ohm: scaling 0...20 kOhm. R_250mOhm: scaling 0...5 kOhm. R_4Ohm: scaling 0...262 kOhm. 6.4.2 Structures 6.4.2.1...
Page 73
Programming 6.4.2.2 MP_BUS_MPX_ERROR Error messages of the "MPX" sensors (function block MP_MPX [} 44]). TYPE MP_BUS_MPX_ERROR : STRUCT MP_BUS_MPX_TempSensorErr : BOOL; MP_BUS_MPX_HumiditySensorErr : BOOL; MP_BUS_MPX_CO2SensorErr : BOOL; MP_BUS_MPX_VocSensorErr : BOOL; END_STRUCT END_TYPE MP_BUS_MPX_TempSensorErr: The temperature sensor is faulty. MP_BUS_MPX_HumiditySensorErr: The humidity sensor is faulty. MP_BUS_MPX_CO2SensorErr: The CO2 sensor is faulty. MP_BUS_MPX_VocSensorErr: The VOC sensor is faulty. 6.4.2.3 MP_Serial_Number Serial number of the device.
Page 74
Programming bActuatorCannotMove: actuator cannot move. bReverseFlow: reverse flow. bFlowSetpointNotReached: setpoint for flow not reached. bFlowWithClosedValve: flow with closed valve. bActualFlowVnom: actual flow > nominal flow. bFlowMeasurementError: error during flow measurement. bRemoteTempError: remote temperature error. bIntegratedTempError: integrated temperature error. bCommToSensorInterrupted: communication to the sensor is interrupted. bFreezeWarning: freeze warning.
Programming TYPE St_StateEV : STRUCT bFlow_with_closed_valve : BOOL; bAir_bubbles : BOOL; bFlow_not_reached : BOOL; bPower_not_realized : BOOL; bGear_disengaged : BOOL; END_STRUCT END_TYPE bFlow_with_closed_valve: Flow with the valve closed. check valve. bAir_bubbles: Too many air bubbles (system inadequately vented). Flow measurement is no longer accurate. EV will change from flow control to position control. bFlow_not_reached: Flow is not reached, although the control valve is fully open.
Page 76
Programming Value (hex) Value Value (enum) Description (dec) 0x0015 WRONG_SET_POINT Incorrect set point. 0x0019 MP_BUS_TIMEOUT_NO_ANSWER_FRO MP-Bus timeout, no response from M_SLAVE slave. 0x001F KL6771_TIME_OUT KL6771 timeout. 0x0020 MP_ADDRESS_IS_IN_USE MP-Bus address is in use. 0x0021 MP_DISABLED MP-Bus disabled. 0x0057 MP_BUS_ERROR MP-Bus error. 0x0058 MP_NO_ANSWER_ON_EVENT MP-Bus no response to an event.
Please contact your Beckhoff branch office or representative for local support and service on Beckhoff products! The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet pages: https://www.beckhoff.com You will also find further documentation for Beckhoff components there.
Page 78
Appendix Beckhoff Service The Beckhoff Service Center supports you in all matters of after-sales service: • on-site service • repair service • spare parts service • hotline service Hotline: +49 5246 963 460 Fax: +49 5246 963 479 e-mail: service@beckhoff.com Beckhoff Headquarters Beckhoff Automation GmbH &...
Need help?
Do you have a question about the TwinCAT 2 TX1200 and is the answer not in the manual?
Questions and answers