PT630 Programming Reference Guide
Page 4 of 59
------------------------------------------------------------------------------------------------------------------
1.7
B
EEPER
C
ONTROL
F
UNCTION
( INT 31H )
..................................................................................................51
1.8
RS232 C
ONTROL
F
UNCTIONS
( INT 33H )
..................................................................................................52
2.4.1
Set Communication Parameters................................................................................................................52
2.4.2
Get Character from RS232 Port................................................................................................................53
2.4.3
Send Character to RS232 Port ..................................................................................................................54
2.4.4
Enable RS-232 Port...................................................................................................................................54
2.4.5
Disable RS-232 Port..................................................................................................................................54
2.4.6
Set RTS/DTR Signal of RS232 Port...........................................................................................................55
2.4.7
Get CTS Signal Status of RS232 Port........................................................................................................55
CHAPTER 2.
MULTIPOINT COMMUNICATION...............................................................................................59
2.1
MULTIPOINT C
OMMUNICATION
P
ROTOCOL
............................................................................................59
2.4.1
Symbols in Transmission Packet ...............................................................................................................59
2.4.2
Host Transmission Packet .........................................................................................................................59
2.4.3
PT630 Transmissions Packet.....................................................................................................................60
2.4.4
Data Conversion Rules in Packet..............................................................................................................60
2.4.5
Data Checksum Calculation in Packet......................................................................................................60
2.4.6
Example packet of command to send the file named A.EXE to PT630 with address ‘A’...........................60
2.2
D
ATA
C
OMMUNICATION IN
MULTIPOINT P
ROTOCOL
..............................................................................62
2.2.1
Host Send Data to PT630 (ESC 0)
...........................................................................................................62
2.2.2
Host Requests Data from the PT630 ( Polling )
......................................................................................62
2.3
F
ILE
C
OMMUNICATION IN
MULTIPOINT P
ROTOCOL
...............................................................................62
2.3.1
Host Send File to PT630 ( Download )
....................................................................................................62
2.3.2
Cancel Current Downloading File Command (ESC z)
...........................................................................63
2.3.3
Host Requests File from the PT630 ( Upload )
........................................................................................63
2.3.4
Cancel Current Uploading File Command (ESC y)
................................................................................63
2.4
H
OST
C
OMMANDS
..........................................................................................................................................64
2.4.1
Set MULTIPOINT Address ( ESC 5) ......................................................................................................59
2.4.2
Warm Start ( ESC A )..............................................................................................................................64
2.4.3
Enable/Disable Barcode Symbologies ( ESC B ) ...................................................................................64
2.4.4
Communication Configuration ( ESC C ) ..............................................................................................65
2.4.5
Get File Directory in RAM Disk ( ESC D ) .........................................................................................65
2.4.6
Get Program Name in FLASH Memory (ESC D/ROM)............................................................................66
2.4.7
Erase File ( ESC E )..................................................................................................................................66
2.4.8
Change EXEC Area Size (ESC F) .............................................................................................................66
2.4.9
Get RAM Memory Configuration (ESC G) ...............................................................................................66
2.4.10
Get FLASH Memory Configuration (ESC G/ROM) .............................................................................66
2.4.11
Cold Start ( ESC H ) ..........................................................................................................................66
2.4.12
Get the Name of Current Running Program (ESC I)............................................................................67
2.4.13
Check whether File/Program Exists (ESC J)........................................................................................67
2.4.14
Enter Kermit Server Mode (ESC k) ......................................................................................................67
2.4.15
Set Date/Time ( ESC M ) ................................................................................................................68
2.4.16
Set Buzzer Volume (ESC N) ..................................................................................................................68
2.4.17
Change Password ( ESC P ) ...........................................................................................................68
2.4.18
Get Terminal ID (ESC R)......................................................................................................................68
2.4.19
Terminal Mode Configuration ( ESC T ) ..............................................................................................69
2.4.20
Device Configuration ( ESC V ) ........................................................................................................69
2.4.21
Get Portable Model Number and BIOS Version Number (ESC v)........................................................70
2.4.22
Run Program in RAM or FLASH memory ( ESC X ).........................................................................70
2.4.23
Run Program in FLASH memory (ESC X/ROM)..................................................................................70