Function createPolePairDetectionOsCommand

  • Command 7: Pole pair detection

    This command is used to detect the number of pole pairs that the connected motor has. It requires the rotation of the rotor.

    This command can only be run when the opmode is -2 (OPMODE_DIAGNOSTICS), the CIA402 state is Operation enabled, and there is no limit switch active. If any of these conditions is not true during the execution of the command, the execution will stop, and it will return the OS error code 251 (Command not allowed).

    Returns Uint8Array

Generated using TypeDoc