SML_ChangeAxisConfig (FB)ΒΆ
FUNCTION_BLOCK SML_ChangeAxisConfig
Modifies the axis configuration. The gearing ratio, the movement type and the modulo period of the drive may be modified.
After a change of the configuration, the axis is automatically restarted with SML_ReinitDrive in order to guarantee that all variables are initialized in a correct way.
Note
The axis must be in state PowerOff to change the configuration.
- InOut:
- Scope - Name - Type - Comment - Inout - Axis- Reference to the axis - Input - bExecute- BOOL- Rising edge: The action is started - dwRatioTechUnitsDenom- DWORD- Conversion factor from [inc] to [u], denominator - iRatioTechUnitsNum- DINT- Conversion factor from [inc] to [u], numerator - fModuloPeriodU- LREAL- The modulo period in [u] - iMovementType- The new movement type of the axis - Output - bDone- BOOL- The reinitialization is finished - bBusy- BOOL- The FB is not finished and new output values are to be expected - bError- BOOL- An error has occured - eError- Error number 
