beautypg.com

Rose Electronics Porter User Manual

Page 28

background image

24

PORTER INSTALLATION AND OPERATIONS MANUAL

Set Initial destination command
This command is used to set the initial destination the Porter selects when it is powered

up. The syntax of this command is prefix + Dx, where x is the port number (1-8), 9 for

null destination, or B for broadcast.
Go command
The Go command reverses the action of the Wait command. (See “Wait Command”,

below.) The port’s DTR is set to high, and if the port is configured for X-on/X-off operation

a X-on character is sent. Also, transmission suspended by a Wait command is resumed.

The syntax of this command is prefix + G + port number.
Initialize command (Parallel units only)
The initialize command causes a parallel port INIT signal to be pulsed low. This initializes

a printer if one is connected. The command is ignored on serial units. The syntax of this

command is prefix + I + port number.
Keep command
This command allows the current setup parameter to be saved in non-volatile memory

and to become the default configuration. The parameters saved are the prefix characters,

initial destination, timeout, and format control. You should ensure that the unit is working

properly before using this command. Also make a written record of the configuration for

your future reference. The format of this command is prefix + K.
Enable/Disable front panel switches command
This command allows you to disable (lock) or enable (unlock) the front panel switches.

The syntax of this command is prefix + Lx, where x = 0 to unlock, or 1 to lock. Locking

the switches does not prevent use of the diagnostic mode at power up.
Set broadcast mask command
This command lets you change which ports are enabled for data transmission when the

broadcast mode is used. The factory setting is to have all available ports except port 0

enabled for broadcast. The syntax of this command is prefix + M + xy, where xy are two

hex digits. X controls ports 8-5, and y controls ports 4-1. The most significant bit controls

port 8, the next bit port 7, and so on with the least significant bit controlling port 1.

Setting a bit to 1 enables the corresponding port for broadcast; setting a bit to 0 disables

the port for broadcast.
Set prefix command
This command alters the prefix used at the beginning of all commands. The new prefix

will take place immediately after receipt. It is recommended that the prefix be chosen

once and used consistently. Altering the prefix is useful for separating Porter’s select

codes from other device codes which may be used for other functions. It is also useful

for chaining multiple Porters together, described further in the section on chaining.
The syntax for this command is the old prefix + P + the new prefix + null. The null (byte

= 0, Ctrl-@ on a PC keyboard) is used to terminate the prefix code and is required to

determine the amount of characters in the prefix. Null may not occur as part of the prefix

code. The factory default for the prefix is ascii 27,64 representing the two characters

ESC@. The high (8

th

) bit is always set to 0 when entering a new prefix, as the 8

th

bit is

ignored when the unit checks for an incoming prefix on port 0.