MCU – Manual control unit

Block SymbolLicensing group: STANDARD
PIC

Function Description
The MCU block is suitable for manual setting of the numerical output value y, e.g. a setpoint. In the local mode (LOC = on) the value is set using the buttons UP and DN. The rate of increasing/decreasing of the output y from the initial value y0 is determined by the integration time constant tm and pushing time of the buttons. After elapsing ta seconds while a button is pushed, the rate is always multiplied by the factor q until the time tf is elapsed. Optionally, the output y range can be constrained (SATF = on) by saturation limits lolim and hilim. If none of the buttons is pushed (UP = off and DN = off), the output y tracks the input value tv. The tracking speed is controlled by the integration time constant tt.

In the remote mode (LOC = off), the input rv is optionally saturated (SATF = on) and copied to the output y. The detailed function of the block is depicted in the following diagram.

PIC

Inputs

tv

Tracking variable

double

UP

The "up" signal

bool

DN

The "down" signal

bool

rv

Remote output value in the mode LOC = off

double

LOC

Local or remote mode

bool

Output

y

Analog output of the block

double

Parameters

tt

Tracking time constant of the input tv  1.0

double

tm

Initial value of integration time constant  100.0

double

y0

Initial output value

double

q

Multiplication quotient  5.0

double

ta

Interval after which the rate is changed [s]  4.0

double

tf

Interval after which the rate changes no more [s]  8.0

double

SATF

Saturation flag

bool

off ..

Signal not limited

on ...

Saturation limits active

hilim

Upper limit of the output signal  1.0

double

lolim

Lower limit of the output signal  -1.0

double

2019 © REX Controls s.r.o., www.rexygen.com