The machine is equipped with safety devices which serve to protect personnel and the machine itself from
hazards arising from unforeseen accidents. However, operators must not rely exclusively on these safety
devices: they must also become fully familiar with the safety guidelines presented below to ensure accidentfree operation.
This instruction manual and the warning signs attached to the machine cover only those hazards which
Okuma can predict. Be aware that they do not cover all possible hazards.
1.Precautions Relating to Installation
(1) Please be noted about a primary power supply as follows.
• Do not draw the primary power supply from a distribution panel that also supplies a major
noise source (for example, an electric welder or electric discharge machine) since this
could cause malfunction of the CNC unit.
• If possible, connect the machine to a ground not used by any other equipment. If there is
no choice but to use a common ground, the other equipment must not generate a large
amount of noise (such as an electric welder or electric discharge machine).
(2) Installation Environment
Observe the following points when installing the control enclosure.
• Make sure that the CNC unit will not be subject to direct sunlight.
• Make sure that the control enclosure will not be splashed with chips, water, or oil.
• Make sure that the control enclosure and operation panel are not subject to excessive
vibrations or shock.
• The permissible ambient temperature range for the control enclosure is 5 to 40°C.
• The permissible ambient humidity range for the control enclosure is relative humidity 50%
or less at 40°C (no condensation).
• The maximum altitude at which the control enclosure can be used is 1000 m (3281ft.).
2.Points to Check before Turning on the Power
(1) Close all the doors of the control enclosure and operation panel to prevent the entry of water,
chips, and dust.
(2) Make absolutely sure that there is nobody near the moving parts of the machine, and that there
are no obstacles around the machine, before starting machine operation.
(3) When turning on the power, turn on the main power disconnect switch first, then the CONTROL
ON switch on the operation panel.
5238-E P-(ii)
SAFETY PRECAUTIONS
3.Precautions Relating to Manual/Continuous Operation
(1) Follow the instruction manual during operation.
(2) Do not operate the machine with the front cover, chuck cover, or another protective cover
removed.
(3) Close the front cover before starting the machine.
(4) When machining the initial workpiece, check for machine operations, run the machine under no
load to check for interference among components, cut the workpiece in the single block mode,
and then start continuous operation.
(5) Ensure your safety before rotating the spindle or moving a machine part.
(6) Do not touch chips or workpiece while the spindle is rotating.
(7) Do not stop a rotating part with hand or another means.
(8) Check that the condition of hydraulic chuck jaws as mounted, operating pressure, and
maximum permissible revolving speed.
(9) Check the condition and location of the cutting tool as mounted.
(10) Check the tool offset value.
(11) Check the zero offset value.
(12) Check that the SPINDLE OVERRIDE and FEEDRATE OVERRIDE dials on the NC operation
panel are set to 100%.
(13) When moving the turret, check the software limits for X- and Z-axes or the locations of limit
switch dogs to prevent interference with the chuck and tailstock.
(14) Check the location of the turret.
(15) Check the location of the tailstock.
(16) Cut workpieces with a transmitted power and torque within the permissible range.
(17) Chuck each workpiece firmly.
(18) Check that the coolant nozzle is properly located.
4.On Finishing Work
(1) On finishing work, clean the vicinity of the machine.
(2) Return the ATC, APC and other equipment to the predetermined retraction position.
(3) Always turn off the power to the machine before leaving it.
(4) To turn off the power, turn off the CONTROL ON switch on the operation panel first, then the
main power disconnect switch.
5238-E P-(iii)
SAFETY PRECAUTIONS
5.Precautions during Maintenance Inspection and When
Trouble Occurs
In order to prevent unforeseen accidents, damage to the machine, etc., it is essential to observe the
following points when performing maitenance inspections or during checking when trouble has
occurred.
(1) When trouble occurs, press the emergency stop button on the operation panel to stop the
machine.
(2) Consult the person responsible for maintenance to determine what corrective measures need
to be taken.
(3) If two or more persons must work together, establish signals so that they can communicate to
confirm safety before proceeding to each new step.
(4) Use only the specified replacement parts and fuses.
(5) Always turn the power off before starting inspection or changing parts.
(6) When parts are removed during inspection or repair work, always replace them as they were
and secure them properly with their screws, etc.
(7) When carrying out inspections in which measuring instruments are used - for example voltage
checks - make sure the instrument is properly calibrated.
(8) Do not keep combustible materials or metals inside the control enclosure or terminal box.
(9) Check that cables and wires are free of damage: damaged cables and wires will cause current
leakage and electric shocks.
(10) Maintenance inside the Control Enclosure
a.Switch the main power disconnect switch OFF before opening the control enclosure door.
b.Even when the main power disconnect switch is OFF, there may some residual charge in
the MCS drive unit (servo/spindle), and for this reason only service personnel are permitted
to perform any work on this unit. Even then, they must observe the following precautions.
• MCS drive unit (servo/spindle)
The residual voltage discharges two minutes after the main switch is turned OFF.
c.The control enclosure contains the NC unit, and the NC unit has a printed circuit board
whose memory stores the machining programs, parameters, etc. In order to ensure that the
contents of this memory will be retained even when the power is switched off, the memory
is supplied with power by a battery. Depending on how the printed circuit boards are
handled, the contents of the memory may be destroyed and for this reason only service
personnel should handle these boards.
(11) Periodic Inspection of the Control Enclosure
a.Cleaning the cooling unit
The cooling unit in the door of the control enclosure serves to prevent excessive
temperature rise inside the control enclosure and increase the reliability of the NC unit.
Inspect the following points every three months.
• Is the fan motor inside the cooling unit working?
The motor is normal if there is a strong draft from the unit.
• Is the external air inlet blocked?
If it is blocked, clean it with compressed air.
6.General Precautions
(1) Keep the vicinity of the machine clean and tidy.
(2) Wear appropriate clothing while working, and follow the instructions of someone with sufficient
training.
(3) Make sure that your clothes and hair cannot become entangled in the machine. Machine
operators must wear safety equipment such as safety shoes and goggles.
5238-E P-(iv)
SAFETY PRECAUTIONS
(4) Machine operators must read the instruction manual carefully and make sure of the correct
procedure before operating the machine.
(5) Memorize the position of the emergency stop button so that you can press it immediately at any
time and from any position.
(6) Do not access the inside of the control panel, transformer, motor, etc., since they contain high-
voltage terminals and other components which are extremely dangerous.
(7) If two or more persons must work together, establish signals so that they can communicate to
confirm safety before proceeding to each new step.
7.Symbols Used in This Manual
The following warning indications are used in this manual to draw attention to information of
particular importance. Read the instructions marked with these symbols carefully and follow them.
DANGER
indicates an imminently hazardous situation which, if not avoided, will result in death or serious
injury.
WARNING
indicates a potentially hazardous situation which, if not avoided, could result in death or serious
injury.
CAUTION
indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate
injury.
CAUTION
5238-E P-(v)
SAFETY PRECAUTIONS
indicates a potentially hazardous situation which, if not avoided, may result in damage to your
property.
SAFETY INSTRUCTIONS
indicates general instructions for safe operation.
5238-E P-(i)
INTRODUCTION
INTRODUCTION
Thank you very much for purchasing our numerical control unit.
Before using this NC unit (hereafter simply called NC), thoroughly read this programming manual (hereafter
called this manual) in order to ensure correct use.
This manual explains how to use and maintain the NC so that it will deliver its full performance and maintain
accuracy over a long term.
You must pay particular attention to the cautions given in this manual, read them carefully, and make sure you
fully understand them before operating the NC.
Display Screens
The NC display screens vary with the selected NC specifications.
The screens shown in this manual, therefore, may not exactly the same with those
displayed on your NC.
5238-E P-(i)
TABLE OF CONTENTS
TABLE OF CONTENTS
SECTION 1 PROGRAM CONFIGURATIONS .............................................................1
1. Program Types ........................................................................................................................ 1
2. Program Name ........................................................................................................................ 2
1. G Code Table ...................................................................................................................... 331
2. Table of Mnemonic Codes................................................................................................... 337
3. Table of System Variables................................................................................................... 345
SECTION 1 PROGRAM CONFIGURATIONS
SECTION 1PROGRAM CONFIGURATIONS
1.Program Types
For OSP-P200L, three kinds of programs are used: schedule programs, main programs, and
subprograms. The following briefly explains these three kinds of programs.
Schedule Program
When more than one type of workpiece is machined in continuous operation using a bar feeder or
other equipment, multiple main programs are used. A schedule program is used to specify the order
in which the main programs are executed and the number of times the individual main program is
executed. Using a schedule program makes it possible to carry out untended operation easily.
It is not necessary to assign a program name. The END code must be specified at the end of a
schedule program. For details, refer to SECTION 14, "SCHEDULE PROGRAMS".
Main Program
A main program contains a series of commands to machine one type of workpiece. Subprograms
can be called from a main program to simplify programming.
A main program begins with a program name which begins with address character "O" and ends
with M02 or M30.
5238-E P-1
Subprogram
A subprogram can be called from a main program or another subprogram. There are two types of
subprograms: those written and supplied by Okuma (maker subprogram), and those written by the
customer (user subprogram).
The program name, which must start with "O", is required at the beginning of the subprogram. The
RTS command must be specified at the end of the subprogram. For details, refer to SECTION 13,
USER TASK.
• Program file format
Main file name: Max. 16 alphanumeric characters starting with an alphabet
Extension: Max. 3 alphabetic characters
•••.
ExtensionMain file name
LE33013R0300300010001
• Extensions
SDF : Schedule program file
MIN: Main program file
SSB : System subprogram file
SUB : User subprogram file
2.Program Name
With the OSP-P200L, programs are called and executed by designating the program name or
program number assigned to the beginning of individual programs. This simplifies programs.
A program name that contains only numbers is called a program number.
Program Name Designation
Enter letters of the alphabet (A to Z) or numbers (0 to 9) following address character "O". Note
•
that no space is allowed between "O" and a letter of the alphabet or a number. Similarly, no
space is allowed between letters of the alphabet and numbers.
• Up to four characters can be used.
• An alphabetic character can only be used in a program name if it begins with an alphabetic
character. Although a program beginning with an alphabetic character can contain a number in
it, one that begins with a number cannot contain an alphabetic character.
• A block which contains a program name must not contain other commands.
• A program name may not be used for a schedule program.
5238-E P-2
SECTION 1 PROGRAM CONFIGURATIONS
• The program name assigned to a subprogram must begin with address character "O", but this
is not mandatory for main programs.
• Since program names are handled in units of characters, the following names are judged to be
different program names.
• O0123 and O123
• O00 and O0
• Do not assign the same name to more than one program, otherwise it will not be possible to
select the intended program.
3.Sequence Name
All blocks in a program are assigned a sequence name that begins with address character "N"
followed by an alphanumeric sequence.
Functions such as a sequence search function, a sequence stop function and a branching function
can be used for blocks assigned a sequence name.
A sequence name that contains only numbers is called a sequence number.
Sequence Name Designation
Enter letters of the alphabet (A to Z) or numbers (0 to 9) following address character "N".
•
• Up to four characters can be used.
• Both alphabetic characters and numbers may be used in a sequence name. If an alphabetic
character is used in a sequence name, however, the sequence name must begin with an
alphabetic character.
• A sequence name must be placed at the top of block. However, a block delete command may
be placed preceding a sequence name.
• Sequence numbers may be specified in any order. They can be used however desired,
provided there is no duplication of numbers.
5238-E P-3
SECTION 1 PROGRAM CONFIGURATIONS
• Since sequence names are handled in units of characters, the following names are judged to be
different sequence names.
• N0123 and N123
• N00 and N0
• When a sequence name is used, place a space or a tab after the sequence name.
4.Program Format
4-1.Word Configuration
A word is defined as an address character followed by a group of numeric values, an expression, or
a variable name. If a word consists of an expression or a variable, the address character must be
followed by an equal sign "=".
Examples:
X-100Z=100∗SIN[50]Z=V1+V2
Address Numerical
value
WordWordWord
• An address character is one of the alphabetic characters A through Z and defines the meaning
of the entry specified following it. In addition, an extended address character, consisting of two
alphabetic characters, may also be used.
AddressFormulaAddress Variable
5238-E P-4
SECTION 1 PROGRAM CONFIGURATIONS
LE33013R0300300040001
• Refer to SECTION 13, 3-2. "Variables" for more information on variables.
4-2.Block Configuration
A group consisting of several words is called a block, and a block expresses a command. Blocks
are delimited by an end of block code.
• The end of block code differs depending on the selected code system, lSO or EIA:
ISO: "LF"
ElA: "CR"
• A block may contain up to 158 characters.
4-3.Program
A program consists of several blocks.
SECTION 1 PROGRAM CONFIGURATIONS
4-4.Programmable Range of Address Characters
5238-E P-5
AddressFunction
OProgram name0000 to 9999same as left
NSequence name0000 to 9999same as left
GPreparatory function 0 to 999same as left
X, Z
C
I, K
D, U, W, H, L
E±99999.999 mm/rev±9999.9999 inch/rev
A, B0 to 99999.999 deg.0 to 9999.9999 deg.
F
TTool number
S
SB
M
QAC-axis revolution1 to 1999 (rev.)same as left
SAC-axis speed0.001 to 20.000 min
Coordinate values
(linear axis)
Coordinate values
(rotary axis)
Coordinate values of
center of arc
Taper amount and
depth of cut in fixed
thread cutting cycle
Shift amount in
grooving cycle
Automatic
programming
commands
Feedrate per
revolution
Feedrate per minute
Dwell time period0.01 to 9999.99 secsame as left
Spindle speed
M-tool speed
Miscellaneous
function
±99999.999 mm±9999.9999 inch
±359.999 deg.±359.999 deg.
±99999.999 mm±9999.9999 inch
0 to 99999.999 mm0 to 9999.9999 inch
0.001 to 99999.999
mm/rev
0.001 to 99999.999
mm/min
6 digits
4 digits
0 to 9999
0 to 9999
0 to 511same as left
Programmable Range
MetricInch
0.0001 to 999.9999
inch/rev
0.0001 to 9999.9999
inch/min
same as left
same as left
-1
same as left
Remarks
Alphabetic
characters available
6 digits (with nose R
compensation)
4 digits (without nose
R compensation)
SECTION 1 PROGRAM CONFIGURATIONS
5.Mathematical Operation Functions
Mathematical operation functions are used to convey logical operations, arithmetic operations, and
trigonometric functions. A table of the operation symbols is shown below. Operation functions can
be used together with variables to control peripherals or to pass on the results of an operation.
CategoryOperationOperatorRemarks
Exclusive OREOR0110 = 1010 EOR 1100 (See *3.)
Logical
operation
Arithmetic
operation
Trigonometric
functions, etc.
Brackets
Logical OROR1110 = 1010 OR 1100
Logical ANDAND1000 = 1010 AND 1100
NegationNOT1010 = NOT 0101
Addition+8 = 5 + 3
Subtraction-2 = 5 - 3
Multiplication*15 = 5 * 3
Division/ (slash)3 = 15/5
SineSIN0.5 = SIN [30] (See *4.)
CosineCOS0.5 = COS [60]
TangentTAN1 = TAN [45]
Arctangent (1)ATAN45 = ATAN [1] (value range: -90 to 90)
Binary to decimal conversionBCD$25 = BCD [25]
Integer implementation (rounding)ROUND128 = ROUND [1.2763 x 102]
Integer implementation (truncation)FIX127 = FIX [1.2763 x 102]
Integer implementation (raising)FUP128 = FUP [1.2763 x 102]
Unit integer implementation
(rounding)
Unit integer implementation
(truncation)
Unit integer implementation (raising) DFUP13.265 = DFUP [13.26462] (See *2.)
RemainderMOD2 = MOD [17, 5]
Opening bracket[Determines the priority of an operation.
Closing bracket]
DROUND
DFlX13.264 = DFlX [13.26462] (See *2.)
30 = ATAN 2 [1,(Square root 3)] (See
*1.)
25 = BIN [$25]
($ represents a hexadecimal number.)
13.265 = DROUND [13.26462] (See
*2.)
(Operations inside the bracket are
performed first.)
5238-E P-6
*1. The value of ATAN2 [b, a] is an argument (range: -180 to 180) of the point that is expressed
by coordinate values (a, b).
*2. In this example, the setting unit is mm.
*3. Blanks must be placed before and after the logical operation symbols (EOR, OR, AND, NOT).
*4. Numbers after function operation symbols (SIN, COS, TAN, etc.) must be enclosed in
brackets "[ ]". ( "a", "b", and "c" are used to indicate the contents of the corresponding bits.)
Logical Operations
"a", "b", and "c" represent corresponding bits.
5238-E P-7
SECTION 1 PROGRAM CONFIGURATIONS
• Exclusive OR (EOR) c = a EOR b
If the two corresponding values agree, EOR outputs 0.
If the two values do not agree, EOR outputs 1.
abc
000
011
101
110
• Logical OR (OR) c = a OR b
If both corresponding values are 0, OR outputs 0.
If not, OR outputs 1.
abc
000
011
101
111
LE33013R0300300080001
LE33013R0300300080002
• Logical AND (AND) c = a AND b
If both corresponding values are 1, AND outputs 1.
If not, AND outputs 0.
abc
000
010
100
111
• Negation (NOT) b = NOT a
NOT inverts the value (from 0 to 1, and 1 to 0).
ab
01
10
LE33013R0300300080003
LE33013R0300300080004
• Arc tangent (1) (ATAN)
θ = ATAN [b/a]
Arc tangent (2) (ATAN2)
θ = ATAN2 [b/a]
• Integer implementation (ROUND, FIX, FUP)
Converts a specified value into an integer by rounding off, truncating, or raising the number at
the first place to the right of the decimal point.
(in units of microns)
6.Block Delete
5238-E P-8
SECTION 1 PROGRAM CONFIGURATIONS
LE33013R0300300080005
[Function]
This function allows the operator to specify whether specific blocks are executed or ignored in
automatic mode operation.
Blocks preceded by "/" are ignored during automatic mode operation if the BLOCK DELETE switch
on the machine operation panel is set on. If the switch is off, the blocks are executed normally.
When the block skip function is activated, the entire block is ignored.
[Supplement]
• The slash "/" code must be placed at either the start of a block or immediately after a sequence
name (number). If it is placed in another position in a block, it will cause an alarm.
• The slash "/" may not be contained in the program name block.
• Blocks which contain a "/" code are also subject to the sequence search function, regardless of
the BLOCK DELETE switch position.
• The block delete function is not possible during SINGLE BLOCK mode. The succeeding block
is executed, and then the operation stops.
7.Comment Function (CONTROL OUT/IN)
A program may be made easier to understand by using comments in parentheses.
• Comments must be parenthesized to distinguish them from general operation information.
• Comments are also subject to TV and TH checks.
Example:
N100 G00 X200 (FIRST STEP)
Comment
LE33013R0300300100001
SECTION 1 PROGRAM CONFIGURATIONS
8.Program Storage Memory Capacity
The NC uses memory to store machining programs. The memory capacity is selectable depending
on the size of the machining program. For execution, a program is transferred from the memory to
the operation buffer (RAM). The capacity of the operation buffer is indicated by one program
capacity.
If the size of the program to be executed is large, it is necessary to expand the one program
capacity. The one program capacity can be selected from 320 m (1049.92 ft), 640 m (2099.84 ft.),
1280 m (4199.68 ft.), to expand program storage capacity.
9.Variable Limits
On execution of a command that specifies axis movement to a target point beyond the variable limit
in the positive direction, the specified target point is replaced with the variable limit in the positive
direction.
For commands specifying axis movement to a target point beyond the variable limit in the negative
direction, axis movement is not executed and an alarm occurs.
5238-E P-9
SECTION 1 PROGRAM CONFIGURATIONS
10.Determining Feedrate for Cutting along C-Axis
10-1.Cutting by Controlling the C-axis Only
Although it is possible to machine a workpiece by controlling the C-axis, tool movement distance in
unit time (one minute) differs according to the diameter of the position to be machined because the
feedrate is specified in units of deg/min. This must be taken into consideration when making a
program.
[Memo]
To match the unit of the C-axis feed command with the X- and/or Z-axis command, the feedrate
command (F) should be calculated by converting 360 into 500 mm. This conversion should also be
carried out when only a C-axis command is given.
Example:
90°
200φ
50φ
5238-E P-10
B
90°
A
Axis movement distance along slot A: ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅π × 50/4 = 39 mm
Axis movement distance along slot B: ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅π × 200/4 = 156 mm
Therefore, if cutting is carried out at a feedrate of 100 mm per minute,
the feedrate (deg/min) of the C-axis is calculated as follows:
Along slot A(deg/min)⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅100/39 × 90 = 230
Along slot B(deg/min)⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅100/156 × 90 = 58
Convert the unit of feed from "deg/min" into "mm/min".
10-2.Cutting by Controlling Both C-axis and Z-axis Simultaneously
Example:
A
90°
Point A coordinate valueX = 80
Z = 100
C = 120
B
Point B coordinate value
X = 80
Z = 50
C = 210
LE33013R0300300140001
When cutting the spiral from A to B with a two-flute end mill under the following cutting conditions,
calculate the feedrate of C-axis as explained below:
Cutting
conditions:
Feed per
0.05 mm
tooth
M-tool speed400 min
-1
Procedure :
1 Calculate the distance between A and B.
A development of the diagram above is indicated below.
L2
90˚
L1
The distance, L
L
1 = 80 × π ×
The distance, L
L
2 = 63
1, along the circumference is:
90
= 63 (mm)
360
2, between A and B is:
2
+ 502 = 80 (mm)
C
50 mm
LE33013R0300300140002
5238-E P-12
SECTION 1 PROGRAM CONFIGURATIONS
2 Calculate the cutting time, T, on the basis of the cutting conditions indicated above to feed the
axes along the slot.
2
T=
(Feed per tooth) x (Number of teeth) x (min-1)
=
80
0.05 × 2 × 400
= 2 (min)
L
LE33013R0300300140003
3 Inside the computer, the distance L3 between A and B is calculated in the following manner.
X-axis travel
C-axis travel = 90° ×
= 50 mm
500 mm
360°
= 125 mm
(conversion based on 360° = 500 mm)
Therefore, the distance between A and B is calculated as below:
2
L
3 = 50
+ 125
2
= 135 (mm)
LE33013R0300300140004
4 The feedrate to be specified in the program is approximately calculated as below:
L
3
F =
135
== 67.5
2
T
LE33013R0300300140005
Specify F67.5 in the program.
10-3.Cutting by Controlling Both C-axis and X-axis Simultaneously
Example:
A
90°
Point A coordinate valueX = 80
Z = 100
C = 120
B
Point B coordinate value
X = 40
Z = 100
C = 210
LE33013R0300300150001
• The cutting conditions are the same as used in "Cutting by Controlling Both C-axis and Z-axis
Simultaneously".
Procedure :
1 Calculate the distance between A and B.
5238-E P-13
SECTION 1 PROGRAM CONFIGURATIONS
A
402+20
2
2=
L
= 44.7 mm
2
L
40
B
20
LE33013R0300300150002
2 Calculate the cutting time, T, on the basis of the cutting conditions indicated above to feed the
axes along the slot.
2
T =
(Feed per tooth) × (Number of teeth) × (min-1)
=
44.7
0.05 × 2 × 400
= 1.12 min
L
LE33013R0300300150003
3 Inside the computer, the distance L3 between A and B is calculated in the following manner.
X-axis travel = 40 mm
C-axis travel = 90° ×
500 mm
360°
=125 mm
(conversion based on 360° = 500 mm)
Therefore, the distance between A and B is calculated as below:
2
+ 125
2
3 = 40
L
= 131.2 mm
LE33013R0300300150004
4 The feedrate to be specified in the program is approximately calculated as below:
L
131.2
3
F =
== 117
T
1.12
Specify F117 in the program.
LE33013R0300300150005
5238-E P-14
SECTION 1 PROGRAM CONFIGURATIONS
10-4.Cutting by Simultaneous 3-axis Control of X-, Z-, and C-axis
Example:
A
90°
B
Point A coordinate valueX = 80
Z = 50
C = 120
Point B coordinate value
X = 40
Z = 100
C = 210
LE33013R0300300160001
• When cutting a slot on a cone as indicated above, simultaneous 3-axis control of the X-, Z-, and
C-axis becomes necessary. The feedrate to be programmed should be calculated in the
following manner. Note that the example below assumes the same cutting conditions as in 11-
2. "Cutting by Controlling Both C-axis and X-axis Simultaneously".
Procedure :
1 First, consider the development of the slot on the C-axis and X-axis. In this case, calculation of
the feedrate is possible in the same manner as in "Cutting by Controlling Both C-axis and X-
axis Simultaneously" .
The C and X-axis travel component, L2, is:
L3 = 402+ 20
= 44.7 mm
2
LE33013R0300300160002
SECTION 1 PROGRAM CONFIGURATIONS
2 Calculate the actual distance between A and B from L2 calculated in (1).
A
5238-E P-15
2
L2
4
L
L4 =
44.72 + 50
= 67.1
B
Z-axis travel
LE33013R0300300160003
3 Calculate the cutting time T for distance L4:
4
T=
(Feed per tooth) x (Number of teeth) x (min-1)
=
67.1
0.05 × 2 × 400
L
= 1.68 min
LE33013R0300300160004
4 Inside the computer, distance L5 between A and B is calculated in the following manner.
X-axis travel = 40 mm
Z-axis travel = 50 mm
C-axis travel
= 90
500 mm
365
= 125 mm
(conversion based on 360 = 500 mm)
C
5
L
Z
L5 =
402+502+125
= 140.4 mm
2
X
5 The feedrate to be specified in the program is approximately calculated as below:
L
140.4
5
F =
== 83.6
T
1.68
Specify F83.6 in the program.
LE33013R0300300160005
LE33013R0300300160006
5238-E P-16
SECTION 2 COORDINATE SYSTEMS AND COMMANDS
SECTION 2COORDINATE SYSTEMS AND COMMANDS
1.Coordinate Systems
1-1.Coordinate Systems and Values
To move the tool to a target position, the reference coordinate system must be set first to define the
target position, and the target position is defined by coordinate values in the set coordinate system.
There are the three types of coordinate system indicated below. A program coordinate system is
used for programming.
• Encoder coordinate system
• Machine coordinate system
• Program coordinate system
1-2.Encoder Coordinate System
An encoder is used to detect the position of a numerically controlled axis. The encoder coordinate
system is established based on the position data output by the encoder.
The position data directly output from the encoder is not displayed on the screen, and this
coordinate system may be disregarded in daily operation.
1-3.Machine Coordinate System
The reference point in the machine is referred to as the machine zero and the coordinate system
which has its origin at the machine zero is called the machine coordinate system. The machine zero
is set for each individual machine using system parameters and it is not necessary to change the
setting after the installation of the machine.
If "0" is set for the encoder zero point offset (system parameter), the machine coordinate system
agrees with the encoder coordinate system.
1-4.Program Coordinate System
The coordinate system used as the reference for program commands is called the program
coordinate system.
The position of the origin of the program coordinate system varies according to the kind of
workpieces to be machined and the origin is set at the required position by setting the zero offset
data. The program coordinate system used for machining a specific kind of workpiece is thus
defined based on the set origin.
5238-E P-17
SECTION 2 COORDINATE SYSTEMS AND COMMANDS
Although the origin of a program coordinate system (program zero) can be set at any position, it is
usually set on the centerline of a workpiece for the X-axis and at the left end face of workpiece for
the Z-axis.
Zd
ZmZp
Z
1Z2
Machine coordinate
system
Machine zero
Zero point of encoder
Program zero
Program coordinate
system
Xp
X2
Xm
X1
Xd
Xd, Zd : Output value of position encoder
(0: Zero point of position encoder)
Xm, Zm : Coordinate values in the machine coordinate system
(0: Machine zero)
Xp, Zp : Coordinate values in the program coordinate system
(0: Program zero)
X1, Z1 : Offset amount of position encoder
X1, Z1 : Offset amount of position encoder
LE33013R0300400040001
Loading...
+ 334 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.