Protocol Command

This command changes the communication protocol of a given port. If you enter a protocol that blocks communication with the unit or is otherwise undesirable, and you have not used KEEP, you may restore the previous format by powering the unit down and back up. Protocol codes differ for serial and parallel models. In the parallel models only port 0 has a changeable protocol. In the serial models any port may be changed. For command syntax see TABLE 3 for serial models and TABLE 4 for parallel models. Keep in mind that protocol changes are made when you exit the configuration mode.

Table 3. Serial Protocol Command Syntax

Command Syntax: !@Fpabcd

 

 

 

where p = Port number

 

 

 

a= Parity

b = Flow control

c = Data format

d = Baud rate

0

= none

0=DTR/DSR

0

= 1 stop,8 bits

0 = reserved

2

= odd

8=X-on/X-off

2

=1 Stop,7 bits

1= 50

6

= even

 

4

= 1 stop,6 bits

2= 75

A = mark

 

6

= 1 stop,5 bits

3= 110

E = space

 

8

= 2 stop,8 bits

4= 134.5

 

 

 

A = 2 stop,7 bits

5= 150

 

 

 

C = 2 stop,6 bits

6= 300

 

 

 

E = 1.5 stop,5 bits

7= 600

 

 

 

 

 

8= 1200

9= 1800 A= 2400 B= 3600 C=4800 D=7200 E= 9600 F= 19200

Examples:

To set port 3 to 4800 baud, 1 stop. 7 data bits, even parity, X-on/X-off the command is !@ F3682C

To set port 5 to 1200 baud, 1 stop, 8 data bits, no parity, DTR/DSR the command is !@F50008

Table 4. Parallel Protocol Command Syntax

In a parallel unit only port 0 can have its protocol changed. This protocol command is used to support printers that do not have an acknowledge or busy signal.

Command syntax: !@F00x00

where x = 0 to use busy and acknowledge (Standard parallel interface) 1 to use busy, ignore acknowledge

2 to use acknowledge, ignore busy

3 to ignore busy and acknowledge Example: To ignore busy the command would be:!@F00200

14

CARETAKER PLUS INSTALLATION AND OPERATIONS MANUAL

Page 18
Image 18
Rose electronic Automatic Switch manual Protocol Command, =Dtr/Dsr