Skip to content

motor.machineType

Description

The machineType property defines the configuration type of the motor.

Accepted values

Constant Description Value
Motor.SR Motor type: Stator-Rotor 1
Motor.SRS Motor type: Stator-Rotor-Generator 2
Motor.SRSRS Motor type: Stator-Rotor-Generator-Generator 3
Motor.RSR Motor type: Rotor-Stator-Rotor 4
Motor.RSRSR Motor type: Rotor-Stator-Rotor-Generator-Rotor 5

Property type

Number

Access

Read\Write

Example

1
2
3
4
5
6
// Set the machine type to Stator-Rotor-Stator configuration
motor.machineType = Motor.SRS;

let type = motor.machineType
// Check the current machine type
console.log(motor.type) // Output: 1

See also

Last update: 14 August 2025, 18:47