PT630 Programming Reference Guide
Page 67 of 59
------------------------------------------------------------------------------------------------------------------
Format:
⇒
STX ESC ‘H’ CS1 CS2 ADDR
⇐
ACK or NAK
Description: The command clears all PT630 RAM memory content. It performs tests on all
major hardware devices. Programs or data that have previously accumulated in the
PT630 or previously been downloaded by the host will be purged from the memory.
Default system parameters are restored from the EPROM.
2.4.12
Get the Name of Current Running Program (ESC I)
Format:
⇒
STX ESC ‘I’ CS1 CS2 ADDR
⇐
STX ESC ‘I’ <prg-name> CS1 CS2 ETX
;
if
RAM
program
is
running
or
⇐
STX ESC ‘I’ <prg-name/ROM> CS1 CS2 ETX
;
if
FLASH
program
is
running
or
⇐
STX ESC ‘I’ <retcode> CS1 CS2 ETX
; if no program is running <retcode> = 01H
⇒
ACK or NAK
2.4.13
Check whether File/Program Exists (ESC J)
Format:
⇒
STX ESC ‘J’ <filename> CS1 CS2 ADDR
⇐
STX ESC ‘J’ <retcode><length> CS1 CS2 ETX
;<retcode>=0 file in RAM
;
1 no file
;
2 file in FLASH
;
<length>
:
string
if
<retcode>=0
or
2.
⇒
ACK or NAK
2.4.14
Enter Kermit Server Mode (ESC k)
Format:
⇒
STX ESC ‘k’ CS1 CS2 ADDR
⇐
ACK or NAK
Description: PT630 will enter Kermit Server Mode if the command is received. The
MULTIPOINT protocol will be disabled until BYE or EXIT command is issued in
Kermit Server Mode.