The new communication control table takes effect immediately after the
command has been successfully received. The PT600 will reinitialize the
corresponding communication port with its new parameters. For
Example
, if
the command instructs the RS-232 port to change the baud rate from 9600 to
1200 the PT600 will switch to 1200 right after the command has been received.
The next host communication will use 1200 baud rate.
5. Get File Directory in RAM Disk ( ESC D )
Format:
?
STX ESC ‘D’ CS1 CS2 ADDR
?
STX ESC ‘D’ <filename,filename…> CS1 CS2 ETX
Description: PT600 will send its file directory to the host.
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
Description: PT600 will send program names in FLASH memory to the host.
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
Description: Used to erase file in PT600.
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
Summary of Contents for PT600
Page 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Page 7: ......
Page 16: ......
Page 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Page 57: ......
Page 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...