7 - 7 7 - 7
MELSEC-Q
7 COMMUNICATION WITH EXTERNAL DEVICES
(2) To enter data from the keyboard of the console
Always 0 when the console is specified.
1) Switch the input source to the console using the ZIDV instruction.
ZIDV 0
2) Use the following instructions to enter data from the console's keyboard. Note, however,
that some instructions (functions) cannot handle certain character codes.
INPUT
Character codes 0 through 1F
H
(control codes), 2C
H
(comma),
7F
H
( Delete ), 80
H
, and FD
H
through FF
H
cannot be handled as data.
LINE INPUT
Character codes 0 through 1F
H
(control codes), 7F
H
( Delete ), 80
H
,
and FD
H
through FF
H
cannot be handled as data.
INKEY$
INPUT$
(numerical expression)
Character codes 0
H
, 03
H
, 13
H
, 80
H
, and FD
H
through
FF
H
(control codes) cannot be handled as data.
Please be careful not
to enter codes that
cannot be handled.