7-3-4
Programming Example
The following programming example jogs an axis named Axis1 in the positive direction for the value of
bit A and in the negative direction for the value of bit B.
Axis1
A
Velo1
Acce1
Dece1
In this example, Velocity (Target Velocity) is Velo1, Acceleration is Acce1, and Deceleration is Dece1.
Set the values for each variable in the user program in advance to operate the axis with the example
input variable settings.
• Velo1 = 30,000
• Acce1 = 3,000,000
• Dece1 = 3,000,000
For details on the MC_MoveJog (Jog) instruction, refer to the NJ-series Motion Control Instructions Ref-
erence Manual (Cat. No. W508).
NJ-series CPU Unit Motion Control User's Manual (W507)
MC_MoveJog_instance
MC_MoveJog
Axis
PositiveEnable
NegativeEnable
CommandAborted
B
Velocity
Acceleration
Deceleration
7 Manual Operation
Axis
Busy
Error
ErrorID
7
7-7