Block: P



PIC




Inports


In

Control error input



Enable

Enable == 0: Deactivation of block; Out set to 0

Enable == 1: Activation of block






Outports


Out

Control value







Mask Parameters



Name

ID

Description




Kp

1

Proportional Factor





Description:

P controller:

G(s) = Kp

Transfer function (zero-order hold discretization method):

G(z) = Kp

Developer note: The source code of block PLimit is used.

Implementations:
FiP16 16 Bit Fixed Point Implementation
FiP32 32 Bit Fixed Point Implementation
Float32 32 Bit Floating Point Implementation
Float64 64 Bit Floating Point Implementation

Implementation: FiP16


16 Bit Fixed Point Implementation



Inports Data Type


In

int16



Enable

bool






Outports Data Type


Out

int16




Implementation: FiP32


32 Bit Fixed Point Implementation



Inports Data Type


In

int32



Enable

bool






Outports Data Type


Out

int32




Implementation: Float32


32 Bit Floating Point Implementation



Inports Data Type


In

float32



Enable

bool






Outports Data Type


Out

float32




Implementation: Float64


64 Bit Floating Point Implementation



Inports Data Type


In

float64



Enable

bool






Outports Data Type


Out

float64