Logging Information
The SMC_GroupEventLogging function block was introduced with SoftMotion version 4.18.0.0. The function block can be used to enable log messages for an axis group. As soon as log messages are enabled, the axis group writes actions which it performs to the Log of the device. In this way, the events of the axis group can be tracked chronologically. This can be useful when investigating problems and unexpected behavior of the axis group.
Tip
Assign names to your movements, loads, tools, etc. in order to get informative log messages. In CODESYS SoftMotion version 4.18.0.0 and higher, some command function blocks (such as MC_MoveLinearAbsolute
, SMC_GroupSetTool
and MC_SetCoordinateTransform
) have been provided with a new Name
input.
Note
Logging can have a negative impact on performance and must therefore be enabled via the SMC_GroupEventLogging
function block.
Category | Action | Description | Additional Information |
---|---|---|---|
Movement | Movement starts | The axis group has started the interpolation of a movement. | |
Movement ends | The axis group has completed the interpolation of a movement. | ||
Blending starts | The axis group has started blending from the active movement to the next movement. | ||
Blending ends | The axis group has completed blending and continues the interpolation on the next movement. | ||
Aborting starts | The axis group has aborted the current movement and is blending to the aborting movement. | ||
Aborting ends | The axis group has completed blending and continues the interpolation on the aborting movement. | ||
Waiting starts | The axis group waits at the current position. | ||
Waiting ends | The axis group has finished waiting. | ||
Halt/stop starts | The axis group has started to perform a halt/stop on the path. | ||
Halt/stop ends | The axis group has performed the halt/stop on the path. | ||
Tool | Tool attached | The axis group uses a new tool. | |
Load | Load attached | The axis group uses a new load. | |
Override | Axis or path override changed | The axis or path override has changed and has been applied by the axis group. | |
Path accuracy | Path departed | The axis group has departed the commanded path in order to avoid violating the axis limits. The axis group tries to reach the commanded path again. | |
Path reached again | The axis group has reached the commanded path again. | ||
Interrupt–Continue | Interrupt starts | The axis group has started to execute an interrupt. | |
Interrupt ends | The axis group has executed the interrupt and saved the Continue data. | ||
Continue starts | The axis group has read Continue data and starts to continue it. |