Inports
| |
In | Control error input |
max | Maximum output value |
min | Minimum output value |
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 |
P controller with output limitation:
G(s) = Kp
Transfer function (zero-order hold discretization method):
Developer note: The source code of this block is used for block P.
FiP16 | 16 Bit Fixed Point Implementation |
FiP32 | 32 Bit Fixed Point Implementation |
Float32 | 32 Bit Floating Point Implementation |
Float64 | 64 Bit Floating Point Implementation |
16 Bit Fixed Point Implementation
Inports Data Type
| |
In | int16 |
max | int16 |
min | int16 |
Enable | bool |
Outports Data Type
| |
Out | int16 |
32 Bit Fixed Point Implementation
Inports Data Type
| |
In | int32 |
max | int32 |
min | int32 |
Enable | bool |
Outports Data Type
| |
Out | int32 |
32 Bit Floating Point Implementation
Inports Data Type
| |
In | float32 |
max | float32 |
min | float32 |
Enable | bool |
Outports Data Type
| |
Out | float32 |
64 Bit Floating Point Implementation
Inports Data Type
| |
In | float64 |
max | float64 |
min | float64 |
Enable | bool |
Outports Data Type
| |
Out | float64 |