The text of a manual · part 6 of 7
PT-805 User's Manual, pages 51 to 60
Pages 51 to 60 of 70
The original document is the PDF (2.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Unitech PT815
Page 51
#1 Min Length lL --> 1 - 255
#1 Max Length 16 --> 1 - 255
The length check needs the minimum and maximum lengths.. Width of Data outside the range will be rejected and ensure that the length of data entered is correct.
This constitutes the available parameters for each field. After the field length is entered the ROP will continue on to the next field. By way of practice, you can finish the above example by entering the following values:
Field# Prompt Picture Min Length Max Length 1 ITEM: ZZZZZZZZZZ_ 5 10
2 QUANTITY:, ppppp 1 5
3 CUSTOMER: aaaaaaa 1 7 ROP Echo
After all the fields are defined the ROP Echo attribute will be requested:
ROP Echo:off --> on,off
Press the [(NO)] key to toggle the options on and off. The ROP Echo on will cause the data entered to be transmitted to the host right away via serial port during INPUT function. This is used to send data directly to the computer. For field collection the ROP Echo should be off.
Delay after Data Ent Because the PT-805 will clear the display at the beginning of each record, a delay after data entry will allow the user to verify the data collection. Generally, a delay of 2000 ms (2 second) will be sufficient:
Delay(ms):0 --> 0 - 32767 ms
-A7-
Page 52
Field Delimiter
The Field delimiter character is used to separate fields in a record. Figure 4-2 Composition of a record and Figure 4-4 Data structure of a sample form give an idea about the structure of a record. The user has the following options for field delimiter: [,], [;], [SPACE], and none. Normally, the [,] or none are chosen for this attribute but can depend upon the destination of the data. The screen for setting field delimiter is:
Fld Delim:, --> (,],(+], (SP) and. none
Use the [(NO)] key to toggle option for the field delimiter.
Record Delimiter
The record delimiter character is used to separate records in a form. Figure 4-4 Data structure of a sample form shows the idea of using a record delimiter in a record. The available options for record delimiters are CR, LF, CRLF, and none, where CR is ASCII code 13, and LF is 10. The screen for setting field delimiter is:
Red Delim:CRLF ~7> CR,LF,CRLF, none
Again, use the [(NO)] key to choose the option.
Time Stamping Function The user can append date and time information to each record. If the option is set to ON, then one of following will be added after every record:
MMDDYYhhmnuss (Long Format), or
MMDDhhmm ( default )
where ‘ MM - Month hh - Hour DD - Day mm - Minute YY - Year ss - Second
The time added is from the Real-Time Clock of the PT-805. For example, if the current time is July 6, 1994 and 10:15:20, then the stamping time will be:
- 48-
Page 53
070694101520 or 07061015 (depending on whether Long Format is chosen or not).
Time Stamp : off|--> on,off
Use the [CNO)] key to set the option.
Long Format of Time Stamping When Time Stamp is set to on, choose MMDDYYhhmmss or MMDDhhmm time stamping format toggle the Long Format option.
Long Format:off |--> on,off
Use the [(NO)] key to set the option.
4.9.6 Beeper Volume Setting
Press [(YES)] key when the PT-805 prompts as follow:
Set Beep Volume? (Y/N)
The PT-805 supports beeper volume options LOUDEST, MEDIUM, QUIETEST and NONE. Use the [(NO)] key to sequence through the options, then the [(YES)] key to confirm.
Volume: LOUDEST ~--> LOUDEST,MEDIUM, QUIETEST, NONE
In general, an audible beep will be generated after a key-pressing or a successful bar code reading. The four level volume settings are available for defining the audible indicator of key-pressing or successful bar code reading.
- 49 -
Page 54
4.10 PURGE Function
Purge is used to erase all collected data in the ROP or Job Generator Program. To enter the “Supervisor Mode”, press [SHIFT] and [P] simultaneously in ready mode. Select the “2-Purge” option, the display will show (if there is no Job Generator Program in the PT-805):
* Purge data * ROP (Y/N)
Press [(YES)] key to delete all data from the ROP, or [(NO)] for not delete. If Job Generator Program exists, press the [(NO)] key to select and the [CYES)]key to confirm.
CAUTION The data deleted cannot recovered. Be careful before you purge your data.
User cannot delete the Job Generator Program, only the data, by using the PT-805 keypad. There are two methods to delete the Job Generator Program.
Method 1: Re-download the new Job Generator program. Method 2: Using the PT-805 "SYSTEM RESET".
CAUTION Data will be lost after SYSTEM RESET and some of the data and programs in the RAM memory may not be recovered.
-50-
Page 55
Chapter 5 Interfacing And Communications
5.1. _ - _ Interface Requirements
The RS-232 DB-9 Pin Connector
The 9-pin connector is used to connect the PT-805 to a computer, a terminal, a modem, or a wedge terminal. It is located on the bottom of PT-805. The RS-232C interface for the PT-805 includes the following signals:
PIN # SIGNAL
+9 VDC Battery Charger Voltage Input RXD
TXD
DTR
GND
( not used)
RTS
CTS
RI
OMANADMN EWN =
The PT-805 is wired as Data Terminating Equipment (DTE).
RS-232C
RS-232C is designed for short distances and is generally not used for long data lines. However, the RS-232C can be used successfully over longer distances if there is a "clean" electrical environment in the building. Because RS-232C is not a differential interface, the presence of significant electrical noise over longer cable runs could interfere with communications.
Connecting the PT-805 to a Computer To connect the PT-805 to a computer, such as an IBM PC/AT, use the following cable configuration. See Figure 5-1 for the cable pin-outs and Figure 5-2 shows the connection of PT-805 to the computer. In general, an AT DB-9 to DB-9 cable can be used to connect the PT-805 directly to a PC.
-51-
Page 56
Charge Input} 1 TxD | 3 2| RxD RxD | 2 , 3| TXD cts | 8 [_ 7| RTS RTs | 7 | cTSs DTR | 4 1 6] DSR wc) | 6 4| DTR GND | 5 s| GND PT-805 PC/AT (DTE) (DTE)
Figure 5-1 Cable for PT-805 and Computer
COMPUTER SYSTEM
RS-232 PORT Figure 5-2 Connecting the PT-805 to a Computer
-52-
Page 57
Connecting the PT-805 to DCE Devices To connect the PT-805 to a modem (see Figure 5-3) or other ASCII device
(wired as DCE) to the terminal, use the cable depicted in the following figure. There are many commercially available RS-232 compatible modems that are suitable for use with the PT-805. Refer to the manual supplied with the modem for proper attachment guide lines.
DB-9 DB-25 Charge Input} 1 TXD | 3 2 |RXD RXD | 2 3 |TXD CTS | 8 $s |RTS RTS | 7 4 |cTS DTR | 4 20 | DSR (N.C) | 6 6 |WNC) GND | 5 7 |GND RI | 9 : 22 | RI PT-805 MODEM (DTE) (DCE)
Figure 5-3 Cable for PT-805 and MODEM
Ka NN J’ PORT
Figure 5-4 Connecting the PT-805 to a Modem
- 53 -
Page 58
5.2 Communication Software
A general communication program, PTCOMM or PTCOMM Plus, that can be used to communicate between the PT-805 and a PC. The program runs on a PC XT/AT. Instructions for this program can be found on the communication program disk. The program provides following facilities:
Upload data to PC
Download Job generated by Job Generator
Dial and hang-up using a modem connected to a telephone. Purge data from PC.
Contact your local representative for the communication program for the PT- 805 if necessary.
Software Handshaking (XON/XOFF) The PT-805 provides a software standard handshaking scheme, XON/XOFF
(i.e. CTRL-Q and CTRL-S).
5.3 Communication Data Format and Protocol
The basic data structure of a form is shown in Figure 4-4. The communication data format varies in different communication protocols. The PT-805 supports a special protocol based on ACK/NAK scheme and a none protocol. Both formats are different. To set the protocol option, refer to
Section 4.9.3 Communication Parameters Setting.
Protocol Off Figure 5-8 shows the data format transmitted in protocol off.
Header(20 bytes) Data in Form EOF(1 byte)
Figure 5-8 Data Format with protocol off Where the header includes: @ Formname In the ROP, the only form is "ROP". When using Job Generator there may be several forms with different form names. The width of a form name is fixed at 8 bytes.
-54-
Page 59
@ Time Contains current time information with format MMDDY Yhhmumss. .
The EOF ( 1A hex ) will be attached at end of data file, if Send EOF is set to on.
Note that the header can be set to off eliminating these 20 bytes of information. In general, the header is used as recognition of start of form, while the EOF is recognized as end of form.
Protocol On If the protocol is set to ON, the following data format will be sent to the PC:
SOH Header STX Data in form ETX BCC
Figure 5-9 Data Format In Communication with protocol on. Where
SOH Start Of Header, 1 byte, the value is 01 HEX. Header same as stated above. STX Start Of text, 1 byte, the value is 02 HEX. ETX End Of text, 1 byte, the value is 03 HEX. BCC Block Check Character which is equal to the numerical sum of all bytes from SOH to ETX; i.e. ETX BCC =z ©) SOH
Where (c) = the content of DATA.
Receiving programs can use this byte to check the accuracy of data received.
The following shows the communication protocol sequences:
-55-
Page 60
Step Computer
PT-805
<---- ENQ (05 HEX)
ACK ( O6HEX) ---->
<---- SOH Header STX Data Form #1 ETX BCC
ACK/NAK
(06/15HEX) ----
<K<---- SOH Header STX Data Form #2 ETX BCC
ACK/NAK
(06/15HEX) ---->
<---- SOH Header STX Data Form #n ETX BCC
ACK/NAK
(06/15HEX) ---->, EOT (04 HEX)
1) The PT-805 sends an ENQ (05 Hex) code to indicate a "ready to send” request to the computer.
2) The computer program responds with an ACK (06 Hex) code within 5 seconds. Otherwise, a time-out error will occur. The message "Time out error" or "Protocol error" will be displayed on screen. The user should try again or check to see if any error was made.
3) The PT-805 will start sending blocks of data files to the computer in the format shown previously.
4) Upon receiving the data block, the computer should respond with an ACK code for successful reception. Otherwise, a NAK
" code (15 Hex) is sent. If a NAK is received, the PT-805 will re-send the same block. If it still fails after three attempts have been made, the message "Data Error" will be displayed on the screen. The hardware should be checked at this point. Contact a service engineer if the problem can not be corrected.
5) When transmission is finished, the PT-805 will send an END
Of Transmission (EOT) code (04 Hex) to the computer.
-56-