11 - 104 11 - 104
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
KEY
Instruction
KEY
• Defines a character string to a function key of the console.
KEY <key number> , <character string>
key number
• • • •
Specify a function key to define the character string.
Syntax
character string
• • • •
Specify the character string to be defined.
Examples
KEY 1, “MITSUBISHI”
• • • •
Defines the character string “MITSUBISHI” to the
function key ( F1 ) of function key number 1 of the
console.
Description
• The KEY instruction defines a character string or a control character to a function key of
the console.
• Specify <key number> which corresponds to the function key number on the keyboard.
• The range of the function key number is from 1 to 10.
• In <character string>, specify a character string of up to 15 characters to assign to the
specified function key. (A control character is also counted as one character.)
The first 15 characters are valid if 16 or more characters are specified.
Specify control characters using the CHR$ function.
• After the assignment is finished, pressing the function key is equivalent to entering the
character string assigned to the key from the keyboard.
• The defined character string can be displayed on the screen by the KEY LIST instruction.
• The following character string is defined to each function key:
F1
• • • •
load”
F6
• • • •
save”
F2
• • • •
auto
F7
• • • •
key
F3
• • • •
goto
F8
• • • •
F4
• • • •
list
F9
• • • •
list.+0D
H
+1E
H
+1E
H
F5
• • • •
run+0D
H
F10
• • • •
cont+0D
H
REMARK
See the KEYLIST 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...