Parameter and type
CommandAborted
Error
ErrorID
ErrorInfo
The following values were configured in the "Dynamics > General" configuration window: Acceleration = 10.0 and
Deceleration = 10.0
①
The axis is moved by an MC_MoveRelative task by the distance ("Distance") 1000.0. When the axis reaches the
target position, this is signaled via "Done_1". When "Done_1" = TRUE, another MC_MoveRelative task, with travel
distance 500.0, is started. Because of the response times (for example, cycle time of user program), the axis
comes to a standstill briefly (see zoomed-in detail). When the axis reaches the new target position, this is signaled
via "Done_2".
②
An active MC_MoveRelative task is aborted by another MC_MoveRelative task. The abort is signaled via
"Abort_1". The axis is then moved at the new velocity by the new distance ("Distance") 500.0. When the new target
position is reached, this is signaled via "Done_2".
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Data type
OUT
Bool
OUT
Bool
OUT
Word
OUT
Word
Description
TRUE = During execution the task was aborted by another task.
TRUE = An error has occurred during execution of the task. The
cause of the error can be found in parameters "ErrorID" and
"ErrorInfo".
Error ID for parameter "Error" (Default value: 0000)
Error info ID for parameter "ErrorID" (Default value: 0000)
Technology instructions
9.3 Motion control
467