MP_JR_Actuator_Process

This function block is suitable for the rotary actuators for butterfly valves JR. Further information can be found at 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. bError is used to indicate an error in communication with the actuator. The type of the error can be read with iErrorId.
Inputs
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL;
strDataKL6771 : DataKL6771;
TMpolling : TIME := t#10s;
rSetpoint : LREAL;
nOverrideControl : E_MP_JR_V4_OverrideControl;
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 | 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). |
nOverrideControl | Override the setpoint with defined values. |
Outputs
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
strMP_Serial_Number : MP_Serial_Number;
rSetpoint_Read : LREAL;
nOverrideControl_Read : E_MP_JR_V4_OverrideControl;
rRelativePosition : LREAL;
rAbsolutePosition : LREAL;
nSensor1Value : DINT;
nSensor2Value : DINT;
rSensor1Temp : LREAL;
rSensor2Temp : LREAL;
st_MalfunctionService : ST_MP_JR_MalfunctionServiceInfo;
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 | This output outputs an error code in the event of an error. bError goes TRUE at the same time. | |
strMP_Serial_Number | Structure for the serial number. | |
rSetpoint_Read | LREAL | Setpoint in % (0...100). |
nOverrideControl_Read | Overridden setpoint. | |
rRelativePosition | LREAL | Relative position in % (0...100). |
rAbsolutePosition | LREAL | Absolute position in ° (0...96). |
nSensor1Value | DINT | Sensor 1 Value in mV/ohm (0...5500000). |
nSensor2Value | DINT | Sensor 2 Value in mV/ohm (0...5500000). |
rSensor1Temp | LREAL | Sensor 1 Temperature in °C. |
rSensor2Temp | LREAL | Sensor 2 Temperature in °C. |
st_MalfunctionService | Malfunction and service information. |
Prerequisites
Development Environment | PLC library to include |
---|---|
TwinCAT from v3.1.4024.66 | Tc2_MPBus from 3.7.1.0 |