?
STX ESC ‘I’ <prg-name/ROM> CS1 CS2 ETX
; if FLASH
program is running
?
STX ESC ‘I’ <retcode> CS1 CS2 ETX
; if no program is
running
;<retcode> = 01H
13.
Check whether File/Program Exists (ESC J)
Format:
?
STX ESC ‘J’ <filename> CS1 CS2 ADDR
?
STX ESC ‘J’ <retcode> CS1 CS2 ETX ;<retcode>=0 file in
RAM
;
1 no file
;
2
file in FLASH
14.
Enter Kermit Server Mode (ESC k)
Format:
?
STX ESC ‘k’ CS1 CS2 ADDR
?
ACK or NAK
Description: PT600 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.
15. Set Date/Time ( ESC M )
Format:
?
STX ESC ‘M’<datetime> CS1 CS2 ADDR
;<datetime>=ASCII string
; in “yyyymmddhhmmss”
?
STX ESC’ M’ <retcode> CS1 CS2 ETX
;<retcode>=
00H success
;
01H error
Description:
This command allows the host system to set PT600 real time
clock. The parameter <datetime> is an ASCII character string. The
first four characters represent the year. The next two characters
represent the month. The fields after the month field represent the day
of the month, hour (24-hour format), minute, and second,
Содержание PT600
Страница 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Страница 7: ......
Страница 16: ......
Страница 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Страница 57: ......
Страница 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...