3 status and coordinates 7-141, 1 read status information (module 9035) 7-141 – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 602

Advertising
background image


01.98

TNC 407/TNC 415/TNC 425

4 PLC Modules

7-141

Possible errors:
- The module was not called from a SUBMIT Job.
- The specified string does not conform to the above conventions.
- There is no file with the specified name.
- The file to be selected is faulty.
- The module was called after the NC program started without a strobe marker being active.
- An incorrect string number was specified (out of range 0..3)

Call:

PS

B/W/D/K

<String Number>

CM

9033

Warning: Program execution ends here if a new
file is selected

PL

B/W/D

<Error Code>
0: No error, file was already selected
1: String contains no valid file name
2: File not found
3: File is faulty
4: Wrong string number specified (0..3)
5: Call was not from a SUBMIT Job
6: Call once PGM started without strobe

Error status after call: M3171 =

0: File was already selected
1: Error condition see above

4.3 Status and Coordinates

4.3.1 Read Status Information (Module 9035)

Status information can be read with module 9035. A number is specified that identifies the desired
information.

The following status information is available:

Specified number:

Values read:

0

Main mode Editor

0 - Edit
1 - Test run

1

Main mode
Machine

0 - Approach reference points
1 - Manual mode
2 - Electronic handwheel
3 - Positioning with manual input
4 - Program run/single block
5 - Program run/full sequence

Advertising