Table 9- 42
Parameters for the MC_MoveVelocity instruction
Parameter and type
Axis
Execute
Velocity
Direction
Current
InVelocity
Busy
CommandAborted
Error
ErrorID
ErrorInfo
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Data type
IN
TO_Axis_1
IN
Bool
IN
Real
IN
Int
IN
Bool
OUT
Bool
OUT
Bool
OUT
Bool
OUT
Bool
OUT
Word
OUT
Word
Description
Axis technology object
Start of the task with a positive edge (Default value: False)
Velocity specification for axis motion (Default value: 10.0)
Limit values: Start/stop velocity ≤ |Velocity| ≤ maximum velocity
(Velocity = 0.0 is allowed)
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.)
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
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.
TRUE = The task is being executed.
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
.
469