CS1
= high nibble of CS + 40H = 08H + 40H =
48H
CS2
= low nibble of CS + 40H = 00H + 40H =
40H
Example
Packet in Hex Format:
STX ESC CMD <parameters> CS1 CS2 ADDR
02H 1BH 4CH 41H 2EH 45H 58H 45H 48H 40H C1H
2.2
Data Communication in MULTIPOINT Protocol
1. Host Send Data to PT600 (ESC 0)
Format :
?
STX ESC ‘0’ <data> CS1 CS2 ADDR
?
ACK or NAK
Description: PT600 will put the received data in the buffer. The application on
PT600 can:
1) Use system call INT 21H/AH=5CH to get data.
2) Use system call INT 21H/AH=5EH to check the buffer status.
2. Host Requests Data from the PT600 ( Polling )
Format
?
STX ADDR
; polling
?
EOT
; if PT600 has no
data to send
Or
?
STX <data> CS1 CS2 ETX
; if there is data in PT600
buffer
Description: The application on PT600 uses system call INT 21H/AH= 5DH to
put data in buffer. Once polled by host computer, PT600 system
will send data out.
2.3
File Communication in MULTIPOINT Protocol
1. Host Send File to PT600 ( Download )
Format :
Содержание 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...