- ページ 15
コントロールユニット Beckmann Egle MT 20x2のPDF マニュアルをオンラインで閲覧またはダウンロードできます。Beckmann Egle MT 20x2 20 ページ。
MT 20x2/40x2
Interface
ESC & A address
ESC & A Z
Address
= 0...15
Example:
Print #1, CHR$(27); "&A";CHR$(1)
Print #1, CHR$(27); "&AZ";
ESC & Bn
This setting is permanently stored in EEPROM
n =
0 (9600), 1 (4800), 2 (2400), 3 (1200)
Example:
PRINT #1,CHR$(27);"&B";CHR$(2);
.
Font
ESC & L CG Character 8x pattern
CG
Character addresses 1-8 used.
8 addresses are available for user-defined characters.
Character
The character to be redefined. Any character in the font can be entered.
8x Pattern
Enter the bit design for the new character. A character comprises a 5x7 matrix. Only
Bit0 - Bit4 of the 7 bytes to be entered are relevant.
th
The 8
byte is always CHR$(0).
Example program (QBasic) :
´Define interface
OPEN "COM1:9600,N,8,2,cs0,ds0,cd0,rs" AS 1
'Character Pattern
pattern$ = CHR$(4)+CHR$(14)+CHR$(31)+CHR$(4)+CHR$(4)+CHR$(14)+CHR$(17)+CHR$(0)
INPUT "Character to redefine:"; zch$
INPUT "CG RAM Address to be used (1-8) :"; CGAdr%
'ESC sequence for redefinition of character
PRINT #1, CHR$(27) + "&L";
PRINT #1, CHR$(CGAdr% - 1);
ctrl$ = zch$ + pattern$
l = LEN(ctrl$)
IF l <> 0 THEN
FOR n = 1 TO l
PRINT #1, MID$(ctrl$, n, 1);
R$ = INPUT$(1, #1)
IF R$ <> MID$(ctrl$, n, 1) THEN
PRINT "Error while saving": BEEP
EXIT FOR
END IF
NEXT n
END IF
Deleting redefined characters:
Enter a value between CHR$(10) - CHR$(18) (not displayable) for the character to be redefined
(zch$) and the CG RAM address (CGAdr%) to be deleted.
Copyright BECKMANN+EGLE GmbH, all rights reserved.
Assign address
Select all (default value)
only MiniTerminal assigned with Address 1
evaluates data
all connected MiniTerminals evaluate data
(default)
Set baud rate
sets baud rate to 2400 bits per second
Redefine existing characters
7 6 5 4 3 2 1 0
Example
Page 15
Bit
=CHR$(4)
=CHR$(14)
=CHR$(31)
=CHR$(4)
=CHR$(4)
=CHR$(14)
=CHR$(17)
=CHR$(0)
Internet: www.bue.de