beautypg.com

2 interrogate plc window (module 9081) 7-153, 3 display string (module 9082) 7-153 – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 614

background image


01.98

TNC 407/TNC 415/TNC 425

4 PLC Modules

7-153

Call:

CM

9080

Error status after call: M3171 =

0: Screen window was deleted
1: Error condition see above

4.6.2 Interrogate PLC Window (Module 9081)

Interrogates the status of the screen window for the PLC status display.

The status is transferred bit-coded to the stack. Bit #0 is set when a window for PLC status display
is on the selected screen. This is not the case with a full-page graphic display, when a program is
selected or in the MOD operating mode. Bit #1 is set when the screen with the PLC status window
is in the foreground. All other bits are cancelled.

Call:

CM

9081

PL

B/W/D

Marker M3171 is not affected.

4.6.3 Display String (Module 9082)

Displays a string in the screen window for the PLC status display at the specified position and in the
specified color.

The string that is identified by the string number and which ends on the ASCII character is
displayed in the screen window for the PLC status display on line 0 (top line) or 1 (bottom line) and
from column 0 (left margin) to 37 (right margin) in the specified color (1 to 15).

Line 0
Line 1

Column 0

37

References to PLC dialogues or PLC error messages are deleted. If the specified dialogue or error
number is greater than the length of the corresponding file, then ASCII character `@' is displayed
instead . If the text contains a non-displayable character except the string end, then ASCII character
`^' is displayed instead.

Constraints:
- The character set that is used is determined by the size of the screen window, i.e. the current

operating mode, and cannot be modified. The color refers to one of the machine parameters
MP735x or MP732x and can be seen from the following table: