EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Program Example: Positioning to the Tool Change Position

HEIDENHAIN iTNC 530 HSCI
1966 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1606 HEIDENHAIN Technical Manual iTNC 530 HSCI
Program example: Positioning to the tool change position:
Preferably file the program in the PLC partition so that it cannot be changed
by the end user.
The tool data in the current program are not active. They must be requested
with FN18: SYSREAD (see "Data transfer NC > NC program (FN18: SYSREAD)"
on page 1725).
In the called program, enter a TOOL CALL so that the tool data becomes active
and a T strobe is transferred to the PLC.
With FN17: SYSWRITE you can overwrite the software limit switch for the tool-
change position. If you use FN18: SYSREAD to call the programmed position
after the TOOL CALL, you can program a continuous positioning movement of
the spindle from the tool magazine to the next position.
With FN20: WAIT FOR you can delay execution of the NC program until the
entered condition is fulfilled. These conditions can be comparisons of a PLC
variable with a constant (see "Interrogate PLC operands in the NC program
(FN20: WAIT FOR)" on page 1740).
With FN17: SYSWRITE ID420 NR0 IDX0 = 0, all coordinate transformations (e.g.
cycles 7, 8, 10, 11, 19) performed in the tool-change program become globally
effective. Without this block, they remain locally effective (only in the tool-
change program). If a coordinate transformation status is to be globalized,
FN17: ID420 must be programmed after the nominal condition has been
established.
With FN18: SYSREAD ID61 NR0 IDX<tool number> you find the corresponding
tool-change sequence. This information is reported to the PLC at the same
time with the pocket and magazine number. You can also find this information
with Module 9035.
To ensure that during a block scan the tool-change program is not run until the
end of the scan, you must enter the instruction NCMACRO = TC in the
MGROUPS.SYS file (also see “Returning to the contour" on page 1244). If no
NC program is specified in the NCMACRO.SYS file, the TOOL CALL is executed
without calling the tool-changing program.
For test purposes, the tool-change program can be called from the TNC
partition. In this case, the program call is handled as PGM CALL, i.e. defined
values such as Q parameters and feed rate remain globally effective.
If the tool-change program is called from the PLC partition, the tool-change
program is handled as a cycle call, i.e. defined values remain only locally
effective.
Note
In contrast to the TNC 426/TNC 430, the iTNC 530 handles the tool number
and tool index as two separate parameters. Therefore, with the iTNC 530,
the tool number must be read with FN18: SYSREAD Q1 = ID60 NR1 and the
tool index with FN18: SYSREAD Q7 = ID60 NR8. Both values are then
transferred in TOOL CALL Q1 .Q7.

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals