beautypg.com

HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 621

background image


7-160

TNC 407/TNC 415/TNC 425

4 PLC Modules

01.98

Call:
PS

B/W/D/K

PS

B/W/D/K

PS

B/W/D/K

CM

9093

PL

B/W/D

PL

B/W/D

Error status after call: M3171 =

0: Element was read
1: Error condition see above

Entry value as with Module 9092.

Error numbers:

0: No error, element was read
1: Call was not from SUBMIT Job
2: No such file type
3: No file of specified type with M status found
4: Line number not in file
5: Wrong element number

Module 9094: Write data to a Tool and Datum Table

With Module 9094 the contents of a line can be overwritten in a table (with M status set) selected
for execution. The module must be told the identifier of the desired table, the line number (= tool
number for .T, vector number for .D or pocket number for .TCH), the number of the element to be
written and the new value. Running the module 9094 results in a new initialization of the geometry.

Constraints:
- The module can only run within a SUBMIT Job.
- The values must be entered as integers shifted by the number of definable places after the

decimal point.

Possible errors:
- The module was not called from a SUBMIT Job.
- There is no file of the specified type that has M status.
- The specified line number is not in the file.
- The specified file type does not exist.
- The specified element does not exist.
- The specified value is outside the permitted range.

Call:

PS

B/W/D/K

PS

B/W/D/K

PS

B/W/D/K

PS

B/W/D/K

CM

9094

PL

B/W/D

Error status after call: M3171 =

0: Element was written
1: Error condition see above

Entry values as for Module 9092