Read Machine Parameter; Select Machine Parameter File - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

4.2.2 Read Machine Parameter (Module 9032)
Reads the value of a machine parameter that is defined by its number and index from the editable
machine parameter list.
Constraints:
- The value of the machine parameter is returned as an integer, with the decimal point being shifted
by the number of possible places after the decimal. Example MP910.0 = 100.12 mm is read as
1001200 (four places after the decimal lead to a multiplication by 10000).
- Only the value from the editable machine parameter list is read, not any value in the run-time
memory modified by PLC Module 9031.
- Zero must be given as the index for non-indexed machine parameters.
Possible errors:
- The machine parameter specified by the MP number and index does not exist.
- The module was not called from a Submit Job.
Call:
PS
B/W/D/K
<MP Number>
PS
B/W/D/K
<MP Index>
CM
9032
PL
B/W/D
<MP value> / <Error Code>
1: No such MP number
2: No separator
3: MP value out of range
4: MP not in file
5: No MP file found
6: Call was not from SUBMIT Job
Error status after call: M3171 =
4.2.3 Select Machine Parameter File (Module 9033)
The machine parameter file with the specified name is selected (M status assigned) and a control
reset is executed if another file was previously selected.
Constraints:
- The module can only be called from a SUBMIT Job.
- The module disregards any safety problems when initiating the control reset (e.g. free run-out of
axes and spindle).
- The module can only be used on files in the RAM.
- The new MP file to be selected is checked, a faulty file is not selected.
- There is no return to the calling PLC program if file selection is successful.
- The file name is specified in a string that must contain the file name with extension. Additional
characters (including blanks) are not allowed.
- If the PLC program is created externally ensure that lower-case letters are not used for the file
name.
- Once the NC program has started the module only operates during the output of M/G/S/T/T2/Q
strobes.
7-140
TNC 407/TNC 415/TNC 425
0: MP was read
1: Error condition see above
4 PLC Modules
01.98

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents