App - 10 App - 10
MELSEC-Q
APPENDIX
Appendix 4.3 Control Codes for Screen Display when Using the General-Purpose Console
List of control codes for display
Code used (ASCII)
Function
Description
When the VG-620 is set
When the VT-382 is set
BASIC instruction
Line feed
New line operation
CR, LF code
(0D
H
, 0A
H
)
CR, LF code
(0D
H
, 0A
H
)
—
Screen clear
Clears the entire
screen.
ESC + E (45
H
)
ESC + [(5B
H
) + 2 (32
H
)
+ J (9A
H
)]
CLS
XON
Specifies to enable
transfer from an
external device.
DC1 code (11
H
)
DC1 code (11
H
)
—
XOFF
Specifies to disable
transfer from an
external device.
DC3 code (13
H
)
DC3 code (13
H
)
—
Escape
Escape, sequence,
introducer
ESC code (1B
H
)
ESC code (1B
H
)
—
Cursor, backward
BS code (08
H
)
BS code (08
H
)
—
Cursor up
ESC + A (41
H
)
ESC + [(5B
H
) + 1 (31
H
)
+ A (41
H
)]
—
Cursor down
ESC + B (42
H
)
ESC + [(5B
H
) + 1 (31
H
)
+ B (42
H
)]
—
Cursor right
ESC + C (43
H
)
ESC + [(5B
H
) + 1 (31
H
)
+ C (43
H
)]
—
Cursor control
Cursor left
ESC + D (44
H
)
ESC + [(5B
H
) + 1 (31
H
)
+ D (44
H
)]
—
Cursor
addressing
Specifies an absolute
cursor position.
ESC + Y(59
H
) + line
specification code (20
H
to 9F
H
) + column
specification code (20
H
to 9F
H
)
ESC + [(5B
H
) + line
position specifi,
(3B
H
) + column position
specifi H(48
H
)
LOCATE
Audible alarm
Sounds the bell.
BEL code (07
H
)
BEL code (07
H
)
—