Synchronization Command (P Code) - Okuma OSP-P200L Programming Manual

Hide thumbs Also See for OSP-P200L:
Table of Contents

Advertisement

1-2.

Synchronization Command (P Code)

[Function]
In simultaneous 4-axis operation, although two turrets can be operated independently, there are
operations that require synchronized control of two turrets; spindle rotation during cutting using tools
in both turrets is an example that requires such control.
To synchronize the execution timing of the G13 side program and the G14 side program, a special
command is provided. This synchronization command is specified using address character P.
[Programming format]
P__ __ __ __
P: Integer (up to four digits)
P codes control the execution order of the G13 side and G14 side programs.
[Details]
Program execution proceeds in order from smaller to larger P code numbers.
If a P code is read during the execution of a program, execution of that program is suspended
until a P code is read in the other side program. When a P code appears in the other side
program, the P code numbers are compared and the program with the smaller P code number
is executed. If the P code numbers are the same, both programs are executed. When
execution of the program for one turret is completed during suspension of the program for the
other turret, execution of the suspended program is resumed.
[Program example]
Spindle rotation commands, spindle speed commands, and gear range selection commands that
must be synchronized between the programs of the two turrets should be specified in the manner as
indicated below.
G13
G00
X500
G00
X100
G01
G14
G00
X500
G00
X130
G01
X20
M02
In the example program above, block A is executed for both G13 and G14 side programs. Blocks B,
C and D are executed in this order.
SECTION 11 PROGRAMMING FOR SIMULTANEOUS 4-AXIS CUTS (2S Model)
Z500
S1500
Z150
Z50
F3.5
Z500
S1500
Z150
F2.5
P10 ... A
M42
M03
P20 ... B
P40 ... D
M05
P10 ... A
M42
M03
P30 ... C
P40 ... D
M05
5238-E P-256
LE33013R0301300030001

Advertisement

Table of Contents
loading

This manual is also suitable for:

Osp-p20l-rOsp-p20lOsp-p200l-r

Table of Contents