HEIDENHAIN TNC 426 B, TNC 430 269
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 19: PLC=+10/+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 Address range
Marker M 0 to 4999
Input I 0 to 31, 128 to 152
64 to 126 (first PL 401 B)
192 to 254 (second PL 401 B)
Output O 0 to 30
32 to 62 (first PL 401 B)
64 to 94 (second PL 401 B)
Counter C 48 to 79
Timer T 0 to 95
Byte B 0 to 4095
Word W 0 to 2047
Double word D 2048 to 4095
The following conditions are permitted in the FN 20 block:
Condition Abbreviation
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==1
10.8 Additional Functions
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 / +100 / +0
Example: The current coordinate Z+50 will have the
value -20 in the new coordinate system
56 FN 25: PRESET = Z / +50 / -20
MKAP10.PM6 30.06.2006, 07:04269
www.EngineeringBooksPdf.com