GainOffset

GainOffset for sensor signal scaling.

The GainOffset processing block can be found in the ‘Templates’ feature in the PMP installer.

Description

The GainOffset processing block scales the input value with a gain and applies an offset to the scaled value. It can be used to convert a sensor value from encoder counts to SI units for example.

gainoffset  implementation

Interface

Inputs

Inputs

Name

Description

Input

Input value to which the gain and offset are applied.

Read only signals

Read only signals

Name

Description

Output

The output after applying the gain and offset to the input value.

Read-write signals

Read-write signals

Name

Description

Gain

Factor that the input value is multiplied by.

Offset

Value added to the input after the gain.