---
name: "scale"
section: "9"
platform: "linux"
package: "linuxcnc-uspace"
version: "1:2.9.4-2+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/scale/9"
---

# scale(9)

LinuxCNC HAL component that applies a scale and offset to its input

## NAME

scale - LinuxCNC HAL component that applies a scale and offset to its input

## SYNOPSIS

**loadrt scale \[count=*N*\|names=*name1*\[,*name2...*\]\]**

## FUNCTIONS

- **scale.***N* (requires a floating-point thread)

  ## PINS

- **scale.*N*.in float in**

  - **scale.*N*.gain float in**

  - **scale.*N*.offset float in**

  - **scale.*N*.out float out**

  out = in \* gain + offset

## AUTHOR

Jeff Epler

## LICENSE

GPL
