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 accident-free 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 Machine Installation
(1)Install the machine at a site where the following conditions (the conditions for achievement of the
guaranteed accuracy) apply.
• Ambient temperature:17 to 25°C
4283-E P-(i)
• Ambient humidity:40% to 75% at 20°C (no condensation)
• Site not subject to direct sunlight or excessive vibration; environment as free of dust, acid,
corrosive gases, and salt spray as possible.
(2)Prepare a primary power supply that complies with the following requirements.
• Voltage:200 V
• Voltage fluctuation:±10% max.
• Power supply frequency:50/60 Hz
• 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 malfuntion 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).
(3)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 0 to 40°C.
• The permissible ambient humidity range for the control enclosure is 30 to 95% (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.
3.Precautions Relating to Operation
(1)After turning on the power, carry out inspection and adjustment in accordance with the daily
inspection procedure described in this instruction manual.
(2)Use tools whose dimensions and type are appropriate for the work undertaken and the machine
specifications. Do not use badly worn tools since they can cause accidents.
(3)Do not, for any reason, touch the spindle or tool while spindle indexing is in progress since the
spindle could rotate: this is dangerous.
(4)Check that the workpiece and tool are properly secured.
4283-E P-(ii)
SAFETY PRECAUTIONS
(5)Never touch a workpiece or tool while it is rotating: this is extremely dangerous.
(6)Do not remove chips by hand while machining is in progress since this is dangerous. Always
stop the machine first, then remove the chips with a brush or broom.
(7)Do not operate the machine with any of the safety devices removed. Do not operate the machine
with any of the covers removed unless it is necessary to do so.
(8)Always stop the machine before mounting or removing a tool.
(9)Do not approach or touch any moving part of the machine while it is operating.
(10) Do not touch any switch or button with wet hands. This is extremely dangerous.
(11) Before using any switch or button on the operation panel, check that it is the one intended.
4.Precautions Relating to the ATC
(1)The tool clamps of the magazine, spindle, etc., are designed for reliability, but it is possible that a
tool could be released and fall in the event of an unforeseen accident, exposing you to danger:
do not touch or approach the ATC mechanism during ATC operation.
(2)Always inspect and change tools in the magazine in the manual magazine interrupt mode.
(3)Remove chips adhering to the magazine at appropriate intervals since they can cause misoper-
ation. Do not use compressed air to remove these chips since it will only push the chips further
in.
(4)If the ATC stops during operation for some reason and it has to be inspected without turning the
power off, do not touch the ATC since it may start moving suddenly.
5.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.
4283-E P-(iii)
SAFETY PRECAUTIONS
6.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.
7.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 opera-
tors must wear safety equipment such as safety shoes and goggles.
(4)Machine operators must read the instruction manual carefully and make sure of the correct pro-
cedure 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.
8.Symbols Used in This Manual
4283-E P-(iv)
SAFETY PRECAUTIONS
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.
Indicates an imminent hazard which, if not avoided, will result in death or serious
injury.
Indicates hazards which, if not avoided, could result in death or serious injury.
Indicates hazards which, if not avoided, could result in minor injuries or damage to
devices or equipment.
Indicates precautions relating to operation or use.
INTRODUCTION
INTRODUCTION
Thank you very much for purchasing our numerical control unit OSP-E100L.
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.
For OSP-E100L, three kinds of programs are used: schedule programs, main programs, and subprograms. The
following briefly explains these three kinds of programs.
(1) 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”.
(2) 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.
4283-E P-1
(3) 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 FUNCTIONS.
•
Program file format
Main file name: Begins with alphabetic characters (max. 16 characters)
.
ExtensionMain file name
•Extensions
SDF : Schedule program file
MIN : Main program file
SSB : System subprogram file
SUB : User subprogram file
SECTION 1 PROGRAM CONFIGURATIONS
2.Program Name
With the OSP-E100L, 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.
(1) 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.
4283-E P-2
•
Although all of the four characters may be numeric, program names of the type “OO
cannot be used since this kind of program name is used for system operation, automating functions, etc.
•
A block which contains a program name must not contain other commands.
•A program name may not be used for a schedule program.
•The program name assigned to a subprogram must begin with address character “O”, but this is not manda-
tory 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.
∗∗∗
∗∗∗
” (
: alphanumeric)
SECTION 1 PROGRAM CONFIGURATIONS
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.
(1) Sequence Name Designation
•Enter letters of the alphabet (A to Z) or numbers (0 to 9) following address character “N”.
•Up to five 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.
•Sequence numbers may be specified in any order. They can be used however desired, provided there is no
duplication of numbers.
•Since sequence names are handled in units of characters, the following names are judged to be different
sequence names.
•N0123 and N123
4283-E P-3
•N00 and N0
•When a sequence name is used, place a space or a tab after the sequence name.
SECTION 1 PROGRAM CONFIGURATIONS
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.
•
Refer to SECTION 13, 3-2. “Variables” for more information on variables.
4-2.Block Configuration
AddressFormulaAddress Variable
4283-E P-4
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
The programmable ranges of numerical values of individual address characters are shown in the following table.
4283-E P-5
AddressFunction
OProgram name0000 to 9999same as left
NSequence name0000 to 9999same as left
GPreparatory function0 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°0 to 9999.9999°
F
TTool number
S
SB
MMiscellaneous function 0 to 511same as left
QAC-axis revolution1 to 1999 (rev.)same as left
SAC-axis speed
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
±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.001 to 20.000 min
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°)
Arctangent (2)ATAN230 = ATAN 2 [1,(Square root 3)] (See *1.)
Square rootSQRT4 = SQRT [16]
Absolute valueABS3 = ABS [-3]
Decimal to binary conversionBIN25 = BIN [$25]
($ represents a hexadecimal number.)
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)DROUND13.265 = DROUND [13.26462] (See *2.)
Unit integer implementation (truncation)DFlX13.264 = DFlX [13.26462] (See *2.)
Unit integer implementation (raising)DFUP13.265 = DFUP [13.26462] (See *2.)
RemainderMOD2 = MOD [17, 5]
Opening bracket[Determines the priority of an operaClosing bracket]
tion. (Operations inside the bracket
are performed first.)
4283-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.)
(1) Logical Operations
• 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.
• Logical OR (OR) c = a OR b
If both corresponding values are 0, OR outputs 0.
If not, OR outputs 1.
4283-E P-7
SECTION 1 PROGRAM CONFIGURATIONS
abc
000
011
101
110
abc
000
011
101
111
• 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
• 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)
SECTION 1 PROGRAM CONFIGURATIONS
6.Block Delete
[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.
[Notes]
•
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.
4283-E P-8
SECTION 1 PROGRAM CONFIGURATIONS
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
4283-E P-9
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.
4283-E P-10
SECTION 1 PROGRAM CONFIGURATIONS
9.Two Turrets
With flat bed type machines, there are models which have two turrets mounted on a saddle. Since both turrets are
mounted in the same saddle in this configuration, it is not possible to control them independently. For such
machines, the turret should be selected first when making a part program.
In the two-turret specification machines, the front and rear turrets are called turret A and turret B, respectively, and
the turrets are selected by specifying the following G codes.
Selection of turret A : G13
Selection of turret B : G14
Although the numerically controlled axes are the X- and Z-axis only, since the machine has only one saddle, program zero is set for turrets A and B independently.
It should also be noted that the X-axis direction of coordinate systems is reversed between turrets A and B.
X-axis
Z-axis
4283-E P-11
X-axis
Z-axis
SECTION 1 PROGRAM CONFIGURATIONS
10.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.
4283-E P-12
SECTION 1 PROGRAM CONFIGURATIONS
11.Determining Feedrate for Cutting along C-Axis
11-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 Caxis command is given.
Example:
90°
200φ
50φ
4283-E P-13
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".
11-2.Cutting by Controlling Both C-axis and Z-axis Simultaneously
Example:
A
4283-E P-14
90°
Point A coordinate valueX = 80
Z = 100
C = 120
B
Point B coordinate value
X = 80
Z = 50
C = 210
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 tooth 0.05 mm
M-tool speed400 min-1 {rpm}
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
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 (rpm))
=
80
0.05 × 2 × 400
L
= 2 (min)
SECTION 1 PROGRAM CONFIGURATIONS
3)Inside the computer, the distance L3 between A and B is calculated in the following manner.
X-axis travel = 50 mm
C-axis travel = 90° ×
500mm
360°
= 125mm
(conversion based on 360° = 500 mm)
Therefore, the distance between A and B is calculated as below:
2
L
3 = 50
135 (mm)
+ 125
2
4)The feedrate to be specified in the program is approximately calculated as below:
3
135
L
F =
== 67.5
T
2
Specify F67.5 in the program.
11-3.Cutting by Controlling Both C-axis and X-axis Simultaneously
Example:
4283-E P-15
A
90°
Point A coordinate valueX = 80
B
•
The cutting conditions are the same as used in 11-2. “Cutting by Controlling Both C-axis and Z-axis Simulta-
Point B coordinate value
neously”.
1)Calculate the distance between A and B.
The distance, L
between A and B is:
2
A
402+20
2
L
2
=
= 44.7 mm
L
2
40
Z = 100
C = 120
X = 40
Z = 100
C = 210
B
20
Loading...
+ 335 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.