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