Skip to main content

Referencing

This library provides different referencing methods of the inverter on an MC axis. It is supplied as standard with the Engineering Framwork ProMaster.

TB_Home1

TB_Home1

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to device-side limit switch of travel distance".

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_LimitSwitch module is executed. The referencing method "Referencing to device-side limit switch of travel distance" is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_LimitSwitch, MC_Home, MC_MoveAbsolut, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note:
The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
i_DirectionINTSearch direction of the limit switch. FALSE = negative direction, TRUE = positive direction.
x_ZeroPulseBOOLTRUE: The zero pulse for referencing is also taken into account.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOKBOOLTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home1

TB_Home1

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to device-side limit switch of travel distance".

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_LimitSwitch module is executed. The referencing method "Referencing to device-side limit switch of travel distance" is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_LimitSwitch, MC_Home, MC_MoveAbsolut, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note:
The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
i_DirectionINTSearch direction of the limit switch. FALSE = negative direction, TRUE = positive direction.
x_ZeroPulseBOOLTRUE: The zero pulse for referencing is also taken into account.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOKBOOLTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home2

TB_Home2

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to the encoder zero pulse/angle".With this module, the connected Motion Control axis is referenced with reference mode "Referencing to device-side limit switch of travel distance".

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_ZeroPulse module is executed. The referencing method "Referencing to encoder zero pulse/angle" is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_ZeroPulse, MC_Home, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note:
The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
i_DirectionINTSearch direction of the limit switch. FALSE = negative direction, TRUE = positive direction.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOKBOOLTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home2

TB_Home2

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to the encoder zero pulse/angle".With this module, the connected Motion Control axis is referenced with reference mode "Referencing to device-side limit switch of travel distance".

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_ZeroPulse module is executed. The referencing method "Referencing to encoder zero pulse/angle" is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_ZeroPulse, MC_Home, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note:
The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
i_DirectionINTSearch direction of the limit switch. FALSE = negative direction, TRUE = positive direction.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOKBOOLTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home3

TB_Home3

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to a device-side reference switch in the travel distance". Mode 3 of the Motion Control module MC_HomeInit_HomeSwitch is used (see Application Manual "Motion Control according to PLCopen").

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_HomeSwitch module is executed. The referencing method "Referencing to a device-side reference switch in the travel distance" Mode 3 is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_HomeSwitch, MC_Home, MC_MoveAbsolut, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note: The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
x_ZeroPulseBOOLTRUE: The zero pulse for referencing is also taken into account.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOk_AxisTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home3

TB_Home3

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to a device-side reference switch in the travel distance". Mode 3 of the Motion Control module MC_HomeInit_HomeSwitch is used (see Application Manual "Motion Control according to PLCopen").

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_HomeSwitch module is executed. The referencing method "Referencing to a device-side reference switch in the travel distance" Mode 3 is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_HomeSwitch, MC_Home, MC_MoveAbsolut, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note: The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
x_ZeroPulseBOOLTRUE: The zero pulse for referencing is also taken into account.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOk_AxisTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home4

TB_Home4

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to a device-side reference switch in the travel distance". Mode 4 of the Motion Control module MC_HomeInit_HomeSwitch is used (see Application Manual "Motion Control according to PLCopen").

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_HomeSwitch module is executed. The referencing method "Referencing to a device-side reference switch in the travel distance" Mode 4 is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_HomeSwitch, MC_Home, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note: The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
x_ZeroPulseBOOLTRUE: The zero pulse for referencing is also taken into account.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOk_AxisTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home4

TB_Home4

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to a device-side reference switch in the travel distance". Mode 4 of the Motion Control module MC_HomeInit_HomeSwitch is used (see Application Manual "Motion Control according to PLCopen").

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_HomeSwitch module is executed. The referencing method "Referencing to a device-side reference switch in the travel distance" Mode 4 is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_HomeSwitch, MC_Home, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note: The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
x_ZeroPulseBOOLTRUE: The zero pulse for referencing is also taken into account.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOk_AxisTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home5

TB_Home5

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to a device-side reference switch in the travel distance". Mode 5 of the Motion Control module MC_HomeInit_HomeSwitch is used (see Application Manual "Motion Control according to PLCopen").

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_HomeSwitch module is executed. The referencing method "Referencing to a device-side reference switch in the travel distance" Mode 5 is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_HomeSwitch, MC_Home, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note: The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
x_ZeroPulseBOOLTRUE: The zero pulse for referencing is also taken into account.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOk_AxisTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home5

TB_Home5

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to a device-side reference switch in the travel distance". Mode 5 of the Motion Control module MC_HomeInit_HomeSwitch is used (see Application Manual "Motion Control according to PLCopen").

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_HomeSwitch module is executed. The referencing method "Referencing to a device-side reference switch in the travel distance" Mode 5 is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_HomeSwitch, MC_Home, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note: The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
x_ZeroPulseBOOLTRUE: The zero pulse for referencing is also taken into account.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOk_AxisTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home6

TB_Home6

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to a device-side reference switch in the travel distance". Mode 6 of the Motion Control module MC_HomeInit_HomeSwitch is used (see Application Manual "Motion Control according to PLCopen").

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_HomeSwitch module is executed. The referencing method "Referencing to a device-side reference switch in the travel distance" Mode 6 is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_HomeSwitch, MC_Home, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note: The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
x_ZeroPulseBOOLTRUE: The zero pulse for referencing is also taken into account.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOk_AxisTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home6

TB_Home6

With this module, the connected Motion Control axis is referenced with reference mode "Referencing to a device-side reference switch in the travel distance". Mode 6 of the Motion Control module MC_HomeInit_HomeSwitch is used (see Application Manual "Motion Control according to PLCopen").

The parameters specified in user units are converted to the units required for Motion Control, and the MC_HomeInit_HomeSwitch module is executed. The referencing method "Referencing to a device-side reference switch in the travel distance" Mode 6 is set at the drive here. Referencing and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_HomeInit_HomeSwitch, MC_Home, MC_MoveRelative.

Details of the reference mode are contained in the application manual "Motion Control according to PLCopen".

Note: The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
x_ZeroPulseBOOLTRUE: The zero pulse for referencing is also taken into account.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
ui_TimeOutUINTTime monitoring of referencing in ms.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOk_AxisTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home99

TB_Home99

With this module, the connected Motion Control axis is referenced with the reference mode set in the controller.

The parameters specified in user units are converted to the units required for Motion Control. The referencing set in the controller and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_Home, MC_MoveAbsolut, MC_MoveRelative.

Note: The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOk_AxisTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Home99

TB_Home99

With this module, the connected Motion Control axis is referenced with the reference mode set in the controller.

The parameters specified in user units are converted to the units required for Motion Control. The referencing set in the controller and the subsequent positioning to the specified home position then occur.

If the axis was already referenced, immediate positioning to the home position can be carried out (when x_RefFull = FALSE) instead of the full referencing.

Motion Control commands used: MC_Home, MC_MoveAbsolut, MC_MoveRelative.

Note: The TB_Init module must be executed before this module is used.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: MOTION_CONTROL_xxbd00 or higherARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
ud_VelocityUDINTVelocity for positioning to home position in user units/s. Note: The zero pulse search always occurs at the reference velocity configured in the drive.
ud_AccelerationUDINTAcceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference acceleration configured in the drive.
ud_DecelerationUDINTDeceleration for positioning to home position in user units/s2. Note: The zero pulse search always occurs at the reference deceleration configured in the drive.
di_RefPosDINTReference position of the axis in user units. This is the mechanical position at the zero pulse of the encoder. Once referencing is carried out, this position is set as the reference position.
di_HomePosDINTMechanical home position (home setting) of the axis in user units. Once referencing is carried out, the axis is located at this mechanical position.
x_RefFullBOOLTRUE: The entire referencing procedure (zero pulse search and subsequent positioning to di_HomePos) is always carried out.
FALSE: If the axis is already referenced, only positioning to di_HomePos occurs.

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: Module is enabled (x_Enable = TRUE) and active.
x_RunningBOOLTRUE: Homing in progress.
x_HomeDoneBOOLTRUE: Referencing completed successfully.
x_HomeOk_AxisTRUE: Drive is referenced.
x_ErrorBOOLTRUE: The module has identified an error. See table i_Result.
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
di_PosDINTActual mechanical position of the axis in user units.
_StdParStdParTypeInternal default parameters of the axis.
_AxisAXIS_REFMotion Control axis.
Darstellung in FBD

TB_Init

TB_Init

Specification of the basic mechanical parameters of an axis for use in the axis module.

The parameters specified in user units are checked, converted to the units required for Motion Control and stored in the _StdPar structure. They are then available for other AX modules.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: ARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
i_T_CycleINTCycle time of setpoint event task in ms. 1, 2, 4 or 8 ms can be selected.
ud_UnitsUDINTNumber of user units for the specified motor revolutions (u_Revolution).
u_RevolutionUINTNumber of motor revolutions for the specified user units (ud_Units).
ud_PeriodeUDINTWith round axes: period of the axis in user units. Positions are then output between zero and ud_Periode. If the position exceeds ud_Periode, ud_Periode is deducted. If it undershoots zero, ud_Periode is added. If zero is specified, the period is inactive.
ud_StopDecUDINTStop ramp in user units/s2. Note: Used in axis module of Motion Control module MC_Stop.
di_LimitPosMaxDINTWith linear axes: positive traversal range limit in user units. The position is calculated in increments and written to the structure variable _StdPar.di_LimitMaxINCS. It is thus available for standard Motion Control commands.
di_LimitPosMinDINTWith linear axes: negative traversal range limit in user units. The position is calculated in increments and written to the structure variable _StdPar.di_LimitMinINCS. It is thus available for standard Motion Control commands.

Ausgänge

Marking:Data type:Description:
x_OKBOOLTRUE: Parameter calculated and accepted in _StdPar
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
_StdParStdParTypeInternal default parameters of the axis.
Darstellung in FBD

TB_Init

TB_Init

Specification of the basic mechanical parameters of an axis for use in the axis module.

The parameters specified in user units are checked, converted to the units required for Motion Control and stored in the _StdPar structure. They are then available for other AX modules.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: ARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
i_T_CycleINTCycle time of setpoint event task in ms. 1, 2, 4 or 8 ms can be selected.
ud_UnitsUDINTNumber of user units for the specified motor revolutions (u_Revolution).
u_RevolutionUINTNumber of motor revolutions for the specified user units (ud_Units).
ud_PeriodeUDINTWith round axes: period of the axis in user units. Positions are then output between zero and ud_Periode. If the position exceeds ud_Periode, ud_Periode is deducted. If it undershoots zero, ud_Periode is added. If zero is specified, the period is inactive.
ud_StopDecUDINTStop ramp in user units/s2. Note: Used in axis module of Motion Control module MC_Stop.
di_LimitPosMaxDINTWith linear axes: positive traversal range limit in user units. The position is calculated in increments and written to the structure variable _StdPar.di_LimitMaxINCS. It is thus available for standard Motion Control commands.
di_LimitPosMinDINTWith linear axes: negative traversal range limit in user units. The position is calculated in increments and written to the structure variable _StdPar.di_LimitMinINCS. It is thus available for standard Motion Control commands.

Ausgänge

Marking:Data type:Description:
x_OKBOOLTRUE: Parameter calculated and accepted in _StdPar
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
_StdParStdParTypeInternal default parameters of the axis.
Darstellung in FBD

TB_Manual_Init

TB_Manual_Init

Specification of the basic mechanical parameters of an axis for use in the axis module.

The parameters specified in user units are checked, converted to the units required for Motion Control and stored in the _StdPar structure. They are then available for other AX modules.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: ARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
ud_VelocityUDINTVelocity in user units/s.
ud_AccelerationUDINTAcceleration in user units/s².
ud_DecelerationUDINTDeceleration in user units/s².
ud_JerkUDINTJerk in user units/s³.

Ausgänge

Marking:Data type:Description:
x_OKBOOLTRUE: Parameter calculated and accepted in _StdPar
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
_StdParStdParTypeInternal default parameters of the axis.
Darstellung in FBD

TB_Manual_Init

TB_Manual_Init

Specification of the basic mechanical parameters of an axis for use in the axis module.

The parameters specified in user units are checked, converted to the units required for Motion Control and stored in the _StdPar structure. They are then available for other AX modules.

Empfohlene Task: Cyclic

Verwendete Bibliotheken: ARITHMETIC_xxbd00 or higherTECH_TYPES_xxbd05 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
ud_VelocityUDINTVelocity in user units/s.
ud_AccelerationUDINTAcceleration in user units/s².
ud_DecelerationUDINTDeceleration in user units/s².
ud_JerkUDINTJerk in user units/s³.

Ausgänge

Marking:Data type:Description:
x_OKBOOLTRUE: Parameter calculated and accepted in _StdPar
i_ResultINTMessage number of the module. See table below.

Ein-/Ausgänge

Marking:Data type:Description:
_StdParStdParTypeInternal default parameters of the axis.
Darstellung in FBD