Beckmann Egle MT 40x2 Посібник - Сторінка 16
Переглянути онлайн або завантажити pdf Посібник для Блок управління Beckmann Egle MT 40x2. Beckmann Egle MT 40x2 20 сторінок.
MT 20x2/40x2
Fixed texts
•
•
•
ESC
W
The MiniTerminal outputs all stored fixed texts in sequence via the serial interface. Each fixed text is
terminated by 'CHR$(0)'. Transfer is terminated by entering 'CHR$(0)' twice (See Memory Format
under 'Load Fixed Text').
Example:
PRINT #1,CHR$(27);"W";
ESC
R
The MiniTerminal returns every character after entry. If an error is found during entry (for example,
EEPROM is defect or memory is full), the character is inverted. As it is not possible to transmit and
receive simultaneously, you must wait for the character returned by MiniTerminal to appear before
sending the next one.
Saving the text to memory takes approx. 1 second per 100 characters.
Example:
PRINT #1,CHR$(27);"R";
PRINT #1,"T";
INPUT$(1,#1)
PRINT #1,CHR$(0);
PRINT #1,"K";
INPUT$(1,#1)
PRINT #1,CHR$(0);
PRINT #1,CHR$(0);
Warning: All fixed texts stored in EEPROM are overwritten during transfer.
Recommended methods for changing or extending existing fixed texts:
1.
Read existing fixed texts with 'ESC W' command and save in file (1 fixed text per line)
2.
Edit fixed text with ASCII editor (note format for EEPROM).
3.
Read fixed texts from file with 'ESC R' command and save in EEPROM
-> The MiniTerminal test program featured in the Software chapter contains these functions.
EEPROM storage format:
´FT0´+Chr$(0)+ ´FT1´+Chr$(0)+ ´FT2´+Chr$(0) ........ ´FTn´+Chr$(0)+Chr$(0)
Festtext ausgeben :
Copyright BECKMANN+EGLE GmbH, all rights reserved.
Fixed texts are numbered from 0 to 127.
The display is cleared before fixed text is output.
Fixed texts may contain the special character CR.
....
....
Output fixed texts via serial interface
Save fixed texts in EEPROM
st
1
character ("T") of the 1
wait until the character is returned
st
End of the 1
fixed text
st
1
character ("K") of the 2
wait until the character is returned
th
End of the n
fixed text
End of entry
Page 16
st
fixed text
nd
fixed text
Internet: www.bue.de