Data Interfaces

Contents of this page:

Value Scaling

Serial Interface

Value Scaling

Numerical values may be represented in one of two ways:

  • Integer with scaling
    • The floating-point number is multiplied by the Scaling factor, then converted to an integer.
    • As an example, consider the Set Current command, which accepts a target current of datatype int32 with scaler of 1000
    • To command a current of 10.5 amps, you multiply by the scaler (1000) to get 10500.0, then send that as an integer (10500).
    • For reading telemetry from the device, you do the opposite – convert to a floating point number, then divide by the scaler.
  • Direct floating point

Commands

Telemetry

Packet Format

Notes (for BONCURS use only)