Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 888 -
(9) "ESC (4" Standard character set for 80 columns x 25 lines 9 inch CRT
+----+------+------+------+------+------+------+------+------+------+------+
| | 2x | 3x | 4x | 5x | 6x | 7x | Ax | Bx | Cx | Dx |
|----+------+------+------+------+------+------+------+------+------+------|
| x0 | 0060 | 0070 | 0080 | 0090 | | 0090 | 00E0 | 00F0 | 0000 | 0010 |
| x1 | 0061 | 0071 | 0081 | 0091 | 0081 | 0091 | 00E1 | 00F1 | 0001 | 0011 |
| x2 | 0062 | 0072 | 0082 | 0092 | 0082 | 0092 | 00E2 | 00F2 | 0002 | 0012 |
| x3 | 0063 | 0073 | 0083 | 0093 | 0083 | 0093 | 00E3 | 00F3 | 0003 | 0013 |
| x4 | 0064 | 0074 | 0084 | 0094 | 0084 | 0094 | 00E4 | 00F4 | 0004 | 0014 |
| x5 | 0065 | 0075 | 0085 | 0095 | 0085 | 0095 | 00E5 | 00F5 | 0005 | 0015 |
| x6 | 0066 | 0076 | 0086 | 0096 | 0086 | 0096 | 00E6 | 00F6 | 0006 | 0016 |
| x7 | 0067 | 0077 | 0087 | 0097 | 0087 | 0097 | 00E7 | 00F7 | 0007 | 0017 |
| x8 | 0068 | 0078 | 0088 | 0098 | 0088 | 0098 | 00E8 | 00F8 | 0008 | 0018 |
| x9 | 0069 | 0079 | 0089 | 0099 | 0089 | 0099 | 00E9 | 00F9 | 0009 | 0019 |
| xA | 006A | 007A | 008A | 009A | 008A | 009A | 00EA | 00FA | 000A | 001A |
| xB | 006B | 007B | 008B | 009B | 008B | | 00EB | 00FB | 000B | 001B |
| xC | 006C | 007C | 008C | 009C | 008C | | 00EC | 00FC | 000C | 001C |
| xD | 006D | 007D | 008D | 009D | 008D | | 00ED | 00FD | 000D | 001D |
| xE | 006E | 007E | 008E | 009E | 008E | | 00EE | 00FE | 000E | 001E |
| xF | 006F | 007F | 008F | 009F | 008F | | 00EF | 00FF | 000F | 001F |
+----+------+------+------+------+------+------+------+------+------+------+
4.2.4 Kanji character code
Following two types of codes are used in the application program.
Shift-JIS code selected by "ESC (B" (default)
Shift-FANUC code selected by "ESC (C"
In the "ESC (B" mode, application programs can specify Shift-JIS code Kanji
characters in character strings, similar to the MS-DOS applications.
Shift-JIS code is converted to the FANUC code internally by the library.
In the "ESC (C" mode, specified Kanji character code is converted to the FANUC
code according to the following rule. Hangul characters or graphic characters
can be displayed in this mode.
code_high -= 0x6B ;
if ( code_low >= 0x80 )
code_low -= 0x60 ;
else
code_low -= 0x40 ;
code_low <<= 1 ;
For example, by specifying the code 0x8140, the Hangul character of the FANUC
code 0x1600 is displayed on the screen.
[ End of 42char.man ]