Locate ( Specifies The Display Position On The Console Screen ) - Mitsubishi QD51 Programming Manual

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
LOCATE
Instruction
• Specifies the display position on the console screen.
LOCATE
Syntax
horizontal position
vertical position
cursor switch
LOCATE 5,1
Examples
LOCATE 10, 20, 0
• The LOCATE instruction moves the cursor on the console screen specified by the ZODV
Description
instruction.
• <horizontal position> and <vertical position> specify the position to move the cursor.
• <vertical position> is specified within the range of 0 through 31.
However, note that the line range in which display can be performed differs depending on
the display used.
• <horizontal position> is specified within a range between 0 and 79.
• Once the LOCATE instruction is executed, the next display output onto the screen or the
character display input from the keyboard will be displayed in the position specified by the
LOCATE instruction.
• An error will not be generated if the values are out of range of <horizontal position> and
<vertical position> specifications, but the display will be at an undefined location.
• The cursor is displayed when <cursor switch> is set to 1. The cursor is not displayed when
<cursor switch> is set to 0. To display the cursor again, execute the LOCATE instruction.
11 - 133
LOCATE
<horizontal position> , <vertical position> [, <cursor switch> ]
• • • •
• • • •
• • • •
• • • •
• • • •
Specify the screen display position in the horizontal
direction (X-axis).
Specify the screen display position in the vertical
direction (Y-axis).
Specify the enabling or disabling of the cursor
display.
Specifies the screen display position to 5 horizontal
and 1 vertical.
Specifies the screen display location to 10 horizontal,
20 vertical, and without cursor display.
MELSEC-Q
11 - 133

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents