beautypg.com

HEIDENHAIN TNC 370D User Manual

Page 53

background image

4–50

TNC 370 D

Machine Parameters

July 02

Overwrite Machine Parameter (Module 9031)
With Module 9031 you can overwrite the value of the given machine parameter with a new value.
The input value must be a natural number including all possible decimal places.
Example:

MP910.0 = 100.12 [mm]

Decimal places:

1001200 (4 decimal places)

It is always the value in the process memory that is overwritten, the value in the editable machine
parameter list does not change. This means that the old value is valid again after editing and exiting
from the machine parameter list.
Zero must be given as the index for non-indexed machine parameters. If a RESET MP is
overwritten, an error code is sent.

Once the NC program has started the module operates only during the output of M/S/T/Q strobes.
The reply of the strobe must not occur until the end of the Submit-Job!

Depending on the type of machine parameter, the NC is re-initialized.
Call only from a Submit job:
PS B/W/D/K

number>

PS B/W/D/K

index>

PS B/W/D

value>

CM 9031

PL B/W/D

code>

0:

No error

1:

MP does not exist/not modifiable/not modifiable once the program has
started

2:

MP value out of range

3:

Error when saving (fatal error), contains RESET parameter

4:

Call was not from a Submit job

5:

Call during running program without strobe



Read Machine Parameter (Module 9032)
With Module 9032 you can read the value of a machine parameter. The value is transferred as a
natural number including all possible decimal places.

It is always the value from the editable machine parameter list that is read, not any value in

the process memory modified by PLC Module 9031. Zero must be given as the index for non-
indexed machine parameters.

Call only from a Submit job:
PS B/W/D/K

number>

PS B/W/D/K

index>

CM 9032

PL

B/W/D

/

1:

MP number does not exist

2:

No separator „:„

3:

MP value out of range

4:

MP not in file

5:

No MP file found

6:

Call was not from a Submit job