HEIDENHAIN TNC 426 B User Manual page 284

Table of Contents

Advertisement

FN19: PLC
Transferring values to the PLC
The function FN19: PLC transfers up to two numerical values or Q
parameters to the PLC. Increments and units: 0.1 µm or 0.0001°
Example: Transfer the numerical value 10 (which means 1 µm or
0.001°) to the PLC
56 FN
9: PLC=+ 0/+Q3
FN20:WAIT FOR
NC and PLC synchronization
This function may only be used with the permission of
your machine tool builder.
With function FN20: WAIT FOR you can synchronize the NC and
PLC with each other during a program run. The NC stops machining
until the condition that you have programmed in the FN20 block is
fulfilled. With FN10 the TNC can check the following operands:
PLC Operand Abbreviation
Marker
M
Input
I
Output
O
Counter
C
Timer
T
Byte
B
Word
W
Double word
D
The following conditions are permitted in the FN 20 block:
Condition
Equals
Less than
Greater than
Less than or equal
Greater than or equal
Example: Stop program run until the PLC sets marker 4095 to 1
32 FN20: WAIT FOR M4095==
HEIDENHAIN TNC 426 B, TNC 430
www.EngineeringBooksPdf.com
Address range
0 to 4999
0 to 31, 128 to 152
64 to 126 (first PL 401 B)
192 to 254 (second PL 401 B)
0 to 30
32 to 62 (first PL 401 B)
64 to 94 (second PL 401 B)
48 to 79
0 to 95
0 to 4095
0 to 2047
2048 to 4095
Abbreviation
==
<
>
<=
>=
FN25: PRESET
Setting a new datum
This function can only be programmed if
you have entered the code number
555343 (see „12.3 Entering Code
Number").
With the function FN 25: PRESET, it is possible to
set a new datum in an axis of choice during program
run.
To select the Q parameter function, press the Q
key (at the right, in the keypad for numerical
input). The Q parameter functions are displayed in
a soft-key row.
Select the miscellaneous functions: press the
DIVERSE FUNCTION soft key.
Select FN25: Switch the soft-key row to the
second level, press the FN25 DATUM SET soft
key
Axis?: Enter the axis where you wish to set the
new datum and confirm with ENT
Value to be calculated?: Enter the coordinate for
the new datum point in the active coordinate
system
New datum?: Enter the value that the new datum
point will have in the new coordinate system
Example: Set a new datum at the current coordinate
X+100
56 FN 25: PRESET = X / + 00 / +0
Example: The current coordinate Z+50 will have the
value -20 in the new coordinate system
56 FN 25: PRESET = Z / +50 / -20
269

Advertisement

Table of Contents
loading

Table of Contents