OffsetGainOffset

OffsetGainOffset for sensor signal scaling.

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

Description

The OffsetGainOffset processing block fist adds an offset to the input, then scales this value with a gain and finally adds another offset. The processing block can be used to convert a sensor value from encoder counts to SI units for example.

offsetgainoffset implementation

Interface

Inputs

Inputs

Name

Description

Input

Input value to which the gain and offsets are applied.

Read only signals

Read only signals

Name

Description

Output

The output after applying the gain and offsets.

Read-write signals

Read-write signals

Name

Description

OffsetBeforeGain

Value added to the input before the gain.

Gain

Factor that the input is multiplied by after adding the first offset.

OffsetAfterGain

Value added to the input after the gain.