background image

15

16

4.1.2  Connecting RS-485 Terminal Equipment

The diagrams below show pin connections between the Model

2003's RS-485 half-duplex serial interface and a typical RS-485 serial
interfaces. You may use these diagrams to construct your own cables,
or you may purchase pre-made cables from Patton Electronics.

Point-To-Point Connection

RS-485 Transmitter/Receiver

Model  2003

(Your Computer)

Pin No.

TX+/RX+ ---------------------------------- 14 
TX-/RX- ----------------------------------- 16
Ground ---------------------------------------7

4.2  CONNECTING THE COMPUTER/KEYBOARD PORTS

To connect the computer and keyboard’s ports, follow these steps:

1.

Connect the keyboard’s 6-Pin Mini-DIN connector to the key-
board port on the Model 2003.

2.

Connect the enclosed 6-Pin Mini-DIN cable between the port
labeled “Computer” on the Model 2003 to the Target PC’s
Keyboard DIN port.

5.0  OPERATION

5.1  COMMAND/DATA ENTRY

The Model 2003’s main job is to accept data from the RS-232 or

RS-485 port and send it through to another computer's keyboard port.
However you may also enter configuration commands to the Model
2003. You may send data or commands in the following forms:

1. ASCII;
2. ASCII control codes;
3. DOS scan codes;
4. Keyboard scan codes;
5. ASCII Hexadecimal.

Commands are instructions to the Model 2003 to do something

other than just pass data through to the computer. All commands
begin with a ~ (tilde, hex 7E) character followed by a command charac-
ter and in some cases, some data.

~C<ENTER>

{Sets Model 2003 to Character Mode} 

DIR^M<ENTER>

{Sends DOS a directory command}

5.1.1  Command Entry Rules

Commands have some restrictions based upon the Model 2003

operating Model (See Section 5.2 for Operating Modes). These rules
are listed below:

Rule #1. You  may string commands together in one command
line, and separate commands with spaces. This will occur before
you press <ENTER/CR>.

Rule #2. Each command line must end with an <ENTER/CR>.
The Model 2003 will not begin command execution until it receives
a carriage-return character.

Rule #3. If you turn on line turn around (~L Command) or set an
address on the Model 2003 if the Model 2003 is addressed, a line
can have a maximum length of 46 characters and should end with
an <ENTER> (CR, hex 0D).

Rule #4. In the case when immediate turn around is set, data and
commands are interpreted as received, and buffered up to 30
characters.

Rule #5. If you get more than 30 characters ahead of the comput-
er,  the additional characters will be tossed.

Multi-Point Connection

RS-485 Transmitter/Receiver

First Model 2003

(Your Computer)

Pin No.

TX+/RX+ ---------------------------------- 14 
TX-/RX ------------------------------------ 16
Ground ---------------------------------------7

Additional 

Model 2003s 

Pin No.

--------------------14 

----------------16

--------------7

Summary of Contents for 2003

Page 1: ...MODEL 2003 RS 232 RS 485 Keyboard Adapter SALES OFFICE 301 975 1000 TECHNICAL SUPPORT 301 975 1007 http www patton com Part 07M2003 D Doc 077271UD Revised 06 09 99 C E R T I F I E D An ISO 9001 Certif...

Page 2: ...rovide reasonable protection from such interference in a commer cial installation However there is no guarantee that interference will not occur in a particular installation If the Model 2003 does cau...

Page 3: ...board port with RS 232 or RS 485 while retain ing use of the existing keyboard Both RS 232 and RS 485 interfaces included in the same unit Multidrop up to 54 addressable Model 2003 adapters in RS 485...

Page 4: ...ent reliability The following instructions will help you to properly configure the Model 2003 3 1 CONFIGURATION SWITCHES The Model 2003 has eight DIP switches that you may use to set the port address...

Page 5: ...d Closed Closed Open Table 1 Model 2003 Address Settings continued ADDRESS SWITCH SETTINGS 1 2 3 4 5 6 30 Open Closed Closed Closed Closed Open 31 Closed Closed Closed Closed Closed Open 32 Open Open...

Page 6: ...etween devices in parallel In order to configure these straps you must open the Model 2003 case NOTE Before opening the case determine whether the default settings are correct for your application see...

Page 7: ...ly operat ing voltage to pin 9 on the DB 25 connector if you don t connect the computer s Mini DIN keyboard interface However most computers already supply voltage on pin 9 DO NOT connect this jumper...

Page 8: ...t from 2003 4 Request to Send RS 232 Input to 2003 5 Clear to Send RS 232 Output to 2003 6 Data Set Ready RS 232 Output to 2003 7 Signal Ground common return 8 Carrier Detect RS 232 Output from 2003 9...

Page 9: ...re instructions to the Model 2003 to do something other than just pass data through to the computer All commands begin with a tilde hex 7E character followed by a command charac ter and in some cases...

Page 10: ...each pair of ASCII encoded characters is interpreted as a DOS scan code For a binary transfer each 8 bit character is inter preted as a DOS scan code DOS assigns each key a DOS scan code Note that al...

Page 11: ...any buffer received The address must be the first byte of the transmission and the high bit set Address 1 is hex 81 Address 2 is hex 82 etc If you send a command to address 80 all Model 2003s will re...

Page 12: ...50 C Dimensions 1 58 H x 4 16 W x 3 75 D 10 6 x 4 1 x 8 8 cm APPENDIX B PATTON ELECTRONICS MODEL 2003 SCAN CODES AT SCAN 2003 KEYBOARD CODE SC CODE KEY SCAN CODES 01 01 ESC 76 F0 76 02 02 1 16 F0 1E 0...

Page 13: ...0A AT SCAN 2003 KEYBOARD CODE SC CODE KEY SCAN CODES 67 67 F9 01 F0 01 68 68 F10 09 F0 09 69 69 NUM LOCK 77 F0 77 70 70 SCROLL LOCK 7E F0 7E 71 71 HOME E0 6C E0 F0 6C 71 A6 Keypad Home 7 C6 F0 6C 72...

Page 14: ...22 F0 22 F0 14 SUB Y 19 14 35 F0 35 F0 14 SUB Z 1A 14 1A F0 1A F0 14 ESC 1B 76 F0 76 FS 1C 14 5D F0 5D F0 14 GS 1D 14 5B F0 5B F0 14 RS 1E 14 12 36 F0 36 F0 12 F0 14 US _ 1F 14 12 4E F0 4E F0 12 F0 1...

Page 15: ...F0 12 V 56 12 2A F0 2A F0 12 W 57 12 1D F0 1D F0 12 X 58 12 22 F0 22 F0 12 Y 59 12 35 F0 35 F0 12 Z 5A 12 1A F0 1A 0 12 5B 54 F0 54 5C 5D F0 5D 5D 5B F0 5B 5E 12 36 F0 36 F0 12 _ 5F 12 4E F0 4E F0 12...

Reviews: