MP_SR_actuator_Configuration

MP_SR_actuator_Configuration 1:

This function block is used to configure SR actuators. 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. bError is used to indicate an error in communication with the actuator. The type of the error can be read with iErrorId.

MP_SR_actuator_Configuration 2:

Restrictions

Call only if the corresponding “Process” function block is not executed.

MP_SR_actuator_Configuration 3: Inputs

VAR_INPUT
  MP_Address                        : USINT := 1;
  bStart                            : BOOL;
  bRead_Write                       : BOOL;
  strDataKL6771                     : DataKL6771;
  rMinPositionRel_Write             : LREAL := 0.0;
  rMidPositionRel_Write             : LREAL := 50.0;
  rMaxPositionRel_Write             : LREAL := 100.0;
  bMotionDirection_Write            : BOOL;
  stLocationString_Write            : STRING:='ABCDEFGHIJKLMNOP';
END_VAR

Name

Type

Description

MP_Address

USINT

MP-Bus address of the slave.

bStart

BOOL

A positive edge starts the function block.

bRead_Write

BOOL

If FALSE then READ only; if TRUE then READ and WRITE.

strDataKL6771

DataKL6771

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

rMinPositionRel_Write

LREAL

Minimum operating range limit in % (0…100). Min must be <= Max − 20%.

rMidPositionRel_Write

LREAL

Adjustable value between Min and Max in % (0…100).

rMaxPositionRel_Write

LREAL

Maximum operating range limit in % (0…100). Max must be greater than or equal to Min plus 20%.

bMotionDirection_Write

BOOL

FALSE = normal; TRUE = reversed

stLocationString_Write

STRING

Location information, maximum 16 characters.

MP_SR_actuator_Configuration 4: Outputs

VAR_OUTPUT
  bBusy            : BOOL;
  bError           : BOOL;
  iErrorId         : MP_Error;
  rMinPositionRel  : BOOL;
  rMidPositionRel  : BOOL;
  rMaxPositionRel  : BOOL;
  bMotionDirection : BOOL;
  stLocationString : STRING;
  stDeviceString   : STRING;
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.

rMinPositionRel

LREAL

Minimum operating range limit in % (0…100). Min must be <= Max − 20%.

rMidPositionRel

LREAL

Adjustable value between Min and Max in % (0…100).

rMaxPositionRel

LREAL

Maximum operating range limit in % (0…100). Max must be greater than or equal to Min plus 20%.

bMotionDirection

BOOL

FALSE = normal; TRUE = reversed

stLocationString

STRING

Location information. Maximum 16 characters.

stDeviceString

STRING

Belimo part number corresponding to the product model number.

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4024.77

Tc2_MPBus from 3.8.1.0