Axis := MC_Axis000,
Execute := Mv_Zero_Ex,
Velocity := Mv_Zero_Vel,
Acceleration := Mv_Zero_Acc,
Deceleration := Mv_Zero_Dec,
BufferMode := Mv_Zero_Bm,
Done => Mv_Zero_D,
Busy => Mv_Zero_Bsy,
Active => Mv_Zero_Act,
CommandAborted => Mv_Zero_Ca,
Error => Mv_Zero_Err,
ErrorID => Mv_Zero_ErrID
);
Sample Programming 2
In this sample, when the Count Mode is set to Rotary Mode and positioning is performed toward the
target position, the shortest direction, clockwise or counterclockwise, is automatically determined and
positioning is performed.
This section shows sample programming for shortest-way control of the rotation direction of a tool
changer
.
Parameter Settings
The minimum settings required for this sample programming are given below.
Setting Axis Parameters
Axis Type
Axis Axis Type
Axis 1 Servo axis
Count Mode
Axis Count Mode
Axis 1 Rotary Mode
Ring Counter
Axis
Modulo
maximum
position
Modulo
minimum
position
Axis 1 360 0
Unit of Display
Axis Unit of Display
Axis 1 degree
3 Axis Command Instructions
3-70
NY-series Motion Control Instructions Reference Manual (W561)