MC_MoveJog
The MC_MoveJog instruction jogs an axis according to the specified target velocity.
Instruction Name
FB/
FUN
Graphic expression ST expression
MC_MoveJog Jog FB
MC_Move
Jog_instance
Deceleration
Axis Axis
PositiveEnable Busy
NegativeEnable
Acceleration
Error
ErrorID
CommandAborted
MC_MoveJog
Velocity
MC_MoveJog_instance (
Axis :=parameter,
PositiveEnable :=parameter,
NegativeEnable :=parameter,
V
elocity :=parameter,
Acceleration :=parameter,
Deceleration :=parameter,
Busy =>parameter,
CommandAborted =>parameter,
Error =>parameter,
ErrorID =>parameter
);
Variables
Input Variables
Name Meaning
Data
type
Valid range Default Description
PositiveEnable Positive Direc-
tion Enable
BOOL TRUE or
FALSE
FALSE When this variable changes to TRUE, the axis
starts moving in the positive direction.
When it changes to FALSE, the axis stops mov-
ing.
NegativeEnable Negative Direc-
tion Enable
BOOL TRUE or
F
ALSE
FALSE When this variable changes to TRUE, the axis
starts moving in the negative direction.
When it changes to FALSE, the axis stops mov-
ing.
Velocity Target Velocity LREAL Non-negative
number
0 Specify the target velocity.
The unit is command units/s.
*1
Acceleration Acceleration
Rate
LREAL Non-negative
number
0 Specify the acceleration rate.
The unit is command units/s
2
.
*1
Deceleration Deceleration
Rate
LREAL Non-negative
number
0 Specify the deceleration rate.
The unit is command units/s
2
.
*1
*1. Refer to Unit Conversion Settings in the NY
-series Industrial Panel PC / Industrial Box PC Motion Control User’s
Manual (Cat. No. W559) for information on command units.
Output Variables
Name Meaning
Data
type
Valid
range
Description
Busy Executing BOOL TRUE or
F
ALSE
TRUE when the instruction is acknowledged.
3 Axis Command Instructions
3-8
NY-series Motion Control Instructions Reference Manual (W561)