beautypg.com

4 display bar chart (module 9083) 7-155 – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 616

background image


01.98

TNC 407/TNC 415/TNC 425

4 PLC Modules

7-155

Possible errors:
- The module was not called from a SUBMIT Job.
- A line less than 0 or greater than 1 was specified.
- A column less than 0 or greater than 37 was specified.
- The number of the string is outside the permitted range (0..3).
- No end of string was found.
- The last character(s) in the string cannot be displayed in the screen window.

The string is not displayed on screen in any of these error modes.

Call:

PS

K/B/W/D

Line number (0...1)

PS

K/B/W/D

Column number (0...37)

PS

K/B/W/D

Color number (0...15)

PS

K/B/W/D

String number (0...3)

CM

9082

Error status after call: M3171 =

0: String displayed (when screen window for
PLC status is displayed)

1: No display, error condition see above

4.6.4 Display Bar Chart (Module 9083)

Displays a bar chart in the screen window for the PLC status display on the specified line, with the
specified lengths and in the specified colors.

A bar chart can be displayed in the left half of each line in the PLC status window. In this mode the
ASCII text only appears in the right half of every line (19 characters max.).

Line 0
Line 1

Column

0

150

0

19

The operator must specify the line, maximum length (0...150), current length (<= maximum length)
and the colors of the bars or the margin and scale graduation (0...15). If the maximum length
exceeds 150 it is limited to 150. If current length exceeds maximum length then it is limited to the
maximum length.

The chart comprises a rectangular grid with the maximum length and height of the ASCII characters.
A scale graduation is shown at the top after every 10 units. The bar starts from the left hand edge of
the grid. The unused part of the grid is filled in with the background color.

Constraints:
- The height of the bar chart varies according to the size of the screen window, i.e. the current

operating mode, and cannot be modified.