Example Usage - Mitsubishi Electric M800VW Series Programming Manual

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (2/2)
13 Spindle Control
13.7 Spindle-Mode Rotary Axis Control

13.7.11 Example Usage

Machining program
G00 B100. F100 ;
Perform positioning of B axis
Turn ON the spindle-mode rotary axis control (ROTSPC=1) for B axis, the 4th axis
M14 ;
of $1
G90 G28XYZT53 ;
Move to the tool exchange position and select a turning tool.
G00X0.Y100.Z100. ; Move to the thread cut start position of Z and Y axes ((1) in the figure below)
Select the Z axis offset and move to the Z axis thread cut start position ((2) in the
G43 Z49. H10. ;
figure below)
M23 S100 ;
Forward-run the 2nd spindle (B axis) at 100 rpm (Multiple spindle control II)
M200 ;
Confirm that the spindle has reached the speed
G32 Y80. F1. Q90. ; Start thread cutting with the thread lead of 1mm (3) in the figure below
G00 Z100. ;
Retract the tool in the Z axis direction (4) in the figure below
G00 Y100. ;
Return the tool to the start position (5) in the figure below
Turn OFF the spindle-mode rotary axis control (ROTSPC=0) for B axis, the 4th axis
M10 ;
of $1
G00 B180. ;
Perform positioning of B axis
Z
B(S2)
Spindle-mode rotary axis
control command OFF
(ROTSPCn = 0)
IB-1501668-B
Description
Y
X
S1
S2(B)
508
Control mode
Servo axis mode
(servo axis control)
Switch command
Spindle-mode rota-
ry axis mode
(spindle control)
Switch command
Servo axis mode
(servo axis control)
(1)
(2)
(3)
(5)
(4)
Rotate at 100 rpm
as per S command
Spindle-mode rotary axis
control command ON
(ROTSPCn = 1)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents