11 - 133 11 - 133
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
LOCATE
Instruction
LOCATE
• Specifies the display position on the console screen.
LOCATE <horizontal position> , <vertical position> [, <cursor switch> ]
horizontal position
• • • •
Specify the screen display position in the horizontal
direction (X-axis).
vertical position
• • • •
Specify the screen display position in the vertical
direction (Y-axis).
Syntax
cursor switch
• • • •
Specify the enabling or disabling of the cursor
display.
LOCATE 5,1
• • • •
Specifies the screen display position to 5 horizontal
and 1 vertical.
Examples
LOCATE 10, 20, 0
• • • •
Specifies the screen display location to 10 horizontal,
20 vertical, and without cursor display.
Description
• The LOCATE instruction moves the cursor on the console screen specified by the ZODV
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.
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...