Generating programs for automatic lathes, 2 pr ogr am head – HEIDENHAIN CNC Pilot 4290 V7.1 User Manual
Page 394

394
6.2 Pr
ogr
am Head
Generating programs for automatic lathes
Use the following settings to generate a DIN PLUS program for
automatic lathes by using TURN PLUS:
U
Set the “Program for automatic lathe” program head entry to YES
Prerequisite: The templates “turnvor1.bev” to “turnvor5.bev” are
provided in the “/ep90/ncps” directory. The templates are prepared by
the machine tool builder and used for generating DIN PLUS programs.
As of software version 625 952-05: In Template management
(machining parameter 23) you set whether constants should be output
during generation of a program for automatic lathes.
0: Without output of constants
1: With output of constants
The templates provide the following functions:
“turnvor1.bev” sets the display of structure variables in the program
head
#ANZEIGE V200 "Status S0 V200"
#ANZEIGE V203 "Status S3 V203"
“turnvor2.bev” defines the start of MACHINING at the position
marked with [[?-TURNPLUS-?]] and adds TURN PLUS program start
information.
“turnvor3.bev” defines the work block. The following interface is
used:
[[la; s=workblock no. (n)]
[lb; s=slide number]
[lc; s=spindle number]
[ld; s=1 if subpgm; e=S]
[le; s=1, if altern.SP; e=S]
[i; s=workblock hdr?; e=S]
[j; s=if spindle state =]
[k; s=subprogram]
[o; s=comment SP$1]
[p; s=then spi. state =]
[r; s=spindle at top?]
[s; s=TURN PLUS comment]
[u; s=T number]
[w; s=tool ID number]]
“turnvor4.bev” defines the rechucking operation. The expert
program call is inserted at the position of the [[?-TURNPLUS-?]]
placeholder. The block number for the return jump to the start of
program in M99 is given in #__la.
“turnvor5.bev” defines those constants in the CONST section that
are specific to the machine tool builder.