Should I change the homing mode using the first set of parameters—consisting of MpAxisBasicParType.Homing.mode, MpAxisBasicParType.Homing.Options.startvelocity, MpAxisBasicParType.Homing.Options.Homingvelocity, and MpAxisBasicParType.Homing.Options.switchedge—or via the second set, which includes ConfigType.Drive.Homing.HomingMode, ConfigType.Drive.Homing.HomingVelocity, and ConfigType.Drive.Homing.StartVelocity? What is the difference between them?
Hello,
this type refers to the temporary settings by FB MpAxisBasic
ConfigType
whereas this type refers to the settings in the boot up axis / drive configuration that can be changed with FB MpAxisBasicConfig.
You initially set the Homing Mode with Automation Studio in Drive’s settings in hardware tree an use them as they are (mcHOMING_DEFAULT) or overwrite these settings with MpAxisBasic (the other modes in McHomingModeEnum).
If you need to permanently change this configuration specified by the project, you can do so using MpAxisBasicConfig.