Parameter set – 3M Systems EX II 3700SP User Manual

Page 25

Advertising
background image

3M™ MicroTouch™ Controller SX112 Reference Guide

25

3M Touch Systems, Inc. Proprietary Information

Parameter Set

Syntax:

<SOH>Ppds[b]<CR>

where:

p =

Parity

type

N = No parity
O = Odd parity
E = Even parity

d

= Number of data bits (7 or 8).

s

= Number of stop bits (1 or 2)

b

= Communication rate

1 = 19200

baud

4 = 2400

baud

2 = 9600

baud

5 = 1200

baud

3 = 4800

baud

Description:

Lets you adjust the communication parameters (parity, data bits, and stop bits) of the
controller. Optionally, you can change the communication rate by appending an
additional character to the command string. Upon execution of the Parameter Set
command, the controller automatically stores the new settings, the current operating
mode, and the current data format in NOVRAM.

The communication parameters of the host system must match the present settings of the
controller when the command is given for it to be accepted and the changes implemented.

The process of changing the parameters takes three steps:

The host system must first communicate with the controller using a matched set of
parameters.

The Parameter Set command is issued with the new parameters to the controller. The
new settings take effect immediately.

The host system must be changed to the new parameters in order to communicate
with the controller again.

Examples:

<SOH>PN813<CR>

Sets the serial line to no parity, eight data bits, one stop bit,

and 4800 baud.
<SOH>PN81<CR>

Sets the parity, data bits, and stop bits; leaves the baud at its
previous value.

Caution:

The settings are immediately written to NOVRAM, and all future

communication must occur at the new values. It is possible to set the parameters to values
that prevent future communication with the controller.

Response:

<SOH>0<CR> Positive response.

Advertising