Displaying Characters To An Arbitrary Position - Mitsubishi QD51 Programming Manual

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

3 LET'S CREATE AND EXECUTE A PROGRAM

3.10.2 Displaying characters to an arbitrary position

(0,0)
(0,29)
3 - 35
Characters can only be controlled in lateral direction on the screen with separating with
delimiters ";" and "," as well as the TAB and SPC functions. However, there may be a
case where you desire a text to be at any position in vertical direction as well. In such
case, the LOCATE instruction is used. The following shows the console screen
structure:
80 characters
The LOCATE instruction directly specifies the display position using coordinates with
the upper left corner of the screen as (0,0). The display position is displayed first for the
coordinate in horizontal direction, and then the coordinate in the vertical direction.
5th character
0th character
25 lines for
the IBM/AT
compatible
personal
computers
(79,0)
(5,7)
80 characters
79th character
This example is illustrated using an IBM/AT
compatible personal computer as the console.
The maximum coordinate value in the vertical
direction may vary if other consoles are used.
MELSEC-Q
The number of lines
that can be displayed
on the screen will
vary depending
on the console.
0th line
7th line
25 Lines
24th line
(79,29)
3 - 35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents