Skip to main content

Module parameters

Module parameters 

Source
Expand description

The drive parameters of a tuned machine: for each motor, the numbers of the config’s drive settings as the drive takes them, with the parameter’s number, name and unit (SINAMICS S120 servo and S210). The mapping is data, the tables catalog/siemens/parameters_s120.csv and parameters_s210.csv, each row with the page of the Siemens document it comes from; this module reads the config as resolved (the parts applied, each motor’s own [drive.<id>] over the shared one) and converts. A setting the table has no parameter for is listed as such, never with a guessed number.

Rotary servo motors only: a linear motor’s gains have other units (N s/m), a stepper or an induction motor has no such cascade.

Structs§

Row
One line of the list.

Enums§

Basis
How a row’s parameter relates to what the manual prints.
Error
Why a list could not be made.
Family
The drive families a parameter list exists for.

Constants§

SETTINGS
The drive settings, with the config’s unit and the effect switch the simulator needs on for the value to act (“” always). A setting of a motor whose effect is off is left out: the drive would not have used the number the simulation tuned. The order is the list’s.

Functions§

list
The parameter list of every motor of the machine, from cfg as the config file states it (the drive part is read before the parts are applied). family names the drive family where the config has no drive part (or to override it).
list_resolved
list with the resolved config given: a front end that sets values on top of the resolved parts (--set, which overrides the retuned gain) passes its own. cfg is still the config as the file states it, for the drive part.