DVP-15MC Series Motion Controller Operation Manual
11-38
MC_MoveRelative
FB/FC Explanation Applicable model
FB
MC_MoveRelative is used to make the axis move a given distance by
starting from the command current position at a given speed,
acceleration and deceleration and Jerk.
DVP15MC11T
DVP15MC11T-06
Input Parameters
Parameter name Function Data type
Validation timing
Axis
Specify the number of the axis
which is to be controlled
USINT
Section 2.2.
(The variable value
When Execute
changes from FALSE to
TRUE
Execute
The instruction is executed
when Execute changes from
BOOL TRUE or FALSE (FALSE) -
ContinuousUpdate Reserved - - -
Distance
Specify the motion distance
from command current
position.
LREAL
Negative number,
positive number or 0
(0)
When Execute
changes from FALSE to
TRUE
Velocity
Specify the target velocity.
(Unit: Unit/second)
LREAL
(The variable value
changes from FALSE to
Acceleration
Specify the target acceleration
rate.
2
LREAL
(The variable value
changes from FALSE to
Deceleration
Specify the target deceleration
rate.
2
LREAL
(The variable value
changes from FALSE to
Jerk
Specify the change rate of the
target acceleration or
deceleration.
3
LREAL
Positive number
(The variable value
must be set)
When Execute
changes from FALSE to
TRUE
BufferMode
Specify the behavior when
executing two instructions.
0: Aborting
1: Buffered
2: BlendingLow
3: BlendingPrevious
4: BlendingNext
MC_Buffer_
Mode
0: mcAborting
1: mcBuffered
2: mcBlendingLow
3: mcBlendingsPre
vious
4: mcBlendingNext
When Execute
changes from FALSE to
TRUE
MC_MoveRelative
Axis Done
MC_MoveRelative_instance
Execute
ContinuousUpdate
Busy
Active
Distance CommandAborted
Error
ErrorIDAcceleration
Deceleration
Jerk
BufferMode
Velocity