PT630 Programming Reference Guide
Page 66 of 59
------------------------------------------------------------------------------------------------------------------
2.4.6
Get Program Name in FLASH Memory (ESC D/ROM)
Format:
⇒
STX ESC ‘D/ROM’ CS1 CS2 ADDR
⇐
STX ESC ‘D’ <program-name,program-name…> CS1 CS2 ETX
⇒
ACK or NAK
Description: PT630 will send program names in FLASH memory to the host.
2.4.7
Erase File ( ESC E )
Format:
⇒
STX ESC ‘E’ <filename> CS1 CS2 ADDR
⇐
STX ESC ‘E’ <retcode> CS1 CS2 ETX ;<retcode>=00H successful
; 01H error
⇒
ACK or NAK
Description: Used to erase file in PT630.
2.4.8
Change EXEC Area Size (ESC F)
Format:
⇒
STX ESC ‘F’ <nnn> CS1 CS2 ADDR
; <nnn>: 3 digits in ASCII
⇐
STX ESC ‘F’ <retcode> CS1 CS2 ETX
; <retcode>= 00H successful
;
01H can’t change
;
02H invalid value
⇒
ACK or NAK
Description: If PT630 RAM disk has files, its size can’t be changed (<retcode>=01H).
2.4.9
Get RAM Memory Configuration (ESC G)
Format:
⇒
STX ESC ‘G’ CS1 CS2 ADDR
⇐
STX ESC ‘G’ <s1><s2><s3> CS1 CS2 ETX
; <s1> total RAM memory size in 4 ASCII digits
; <s2> EXEC memory size in 4 ASCII digits
; <s3> free memory size in 4 ASCII digits
⇒
ACK or NAK
2.4.10
Get FLASH Memory Configuration (ESC G/ROM)
Format:
⇒
STX ESC ‘G/ROM’ CS1 CS2 ADDR
⇐
STX ESC ‘G’ <s1><s2>CS1 CS2 ETX
; <s1> total FLASH memory size in 4 ASCII digits
; <s2> free FLASH memory size in 4 ASCII digits
⇒
ACK or NAK
2.4.11
Cold Start ( ESC H )