User Manual

Motion control is easy
10.5 Motion control instructions
Easy Book
Manual, 03/2014, A5E02486774-AF
231
Parameter and type
Data type
Description
Direction IN Int Direction specification:
0: Direction of rotation corresponds to the sign of the value in
parameter "Velocity" (Default value)
1: Positive direction of rotation (The sign of the value in
parameter "Velocity" is ignored.)
2: Negative direction of rotation (The sign of the value in
parameter "Velocity" is ignored.)
Current IN Bool Maintain current velocity:
FALSE: "Maintain current velocity" is deactivated. The values
of parameters "Velocity" and "Direction" are used. (Default
value)
TRUE: "Maintain current velocity" is activated. The values in
parameters "Velocity" and "Direction" are not taken into
account.
When the axis resumes motion at the current velocity, the
"InVelocity" parameter returns the value TRUE
.
InVelocity OUT Bool TRUE:
If "Current" = FALSE: The velocity specified in parameter
"Velocity" was reached.
If "Current" = TRUE: The axis travels at the current velocity at
the start time.
Busy
OUT
Bool
TRUE = The task is being executed.
CommandAborted
OUT
Bool
TRUE = During execution the task was aborted by another task.
Error OUT Bool TRUE = An error has occurred during execution of the task. The
cause of the error can be found in parameters "ErrorID" and
"ErrorInfo".
ErrorID
OUT
Word
Error ID for parameter "Error" (Default value: 0000)
ErrorInfo
OUT
Word
Error info ID for parameter "ErrorID" (Default value: 0000)