Configuring serial line operation - GMP231

GMP231 User Guide

Document code
M211501EN
Revision
E
Language
English
Product
GMP231
Document type
User guide
Table 1. SMODE command
Syntax Description
SMODE [mode]<cr>

Set serial line start-up operating mode.

Available modes:

  • STOP = No automatic output. All commands available. Default mode.
  • RUN = Automatic output of measurement messages. You can stop the output with the S command, and continue again with the R command.
  • POLL = No automatic output. Will respond to addressed SEND command and ?? command. You can use other commands after opening a connection using an addressed OPEN command. Use with RS- 485 buses where multiple probes can share the same line.

Example:

smode poll
Serial mode    :     POLL
Table 2. SERI command
Syntax Description
SERI<cr> Show current serial line settings.
SERI [b p d s]<cr> Set new serial line settings. The new settings are taken into use when the probe is reset or powered up.
  • b = baud rate (9600, 19200, or 19200)
  • p = parity
    • n = none
    • e = even
    • o = odd
  • d = data bits (7 or 8)
  • s = stop bits (1 or 2)

Example (shows default settings):

seri
Com1 Baud rate      : 19200
Com1 Parity         : N
Com1 Data bits      : 8
Com1 Stop bits      : 1

Example (set serial line to 9600 baud, even, 7 data bits, and 1 stop bit):

seri 9600 e 7 1
OK
seri
Com1 Baud rate      : 9600
Com1 Parity         : E
Com1 Data bits      : 7
Com1 Stop bits      : 1
Table 3. ADDR command
Syntax Description
ADDR<cr> Show current device address. Addresses are required for POLL mode.
ADDR [aaa]<cr> Set new device address.
  • aaa = Device address of the probe, range 0 ... 254 (default = 0).

Example (change probe address to 52):

pass 1300
addr 52
    Address             :    52
Table 4. SDELAY command
Syntax Description
SDELAY<cr> Show serial line transmission delay.
SDELAY [delay]<cr> Set a new serial line transmission delay, range 0 … 255 (milliseconds)

Example (set delay to 50 milliseconds):

sdelay 50
Serial delay   :        50
Table 5. ECHO command
Syntax Description
ECHO [on/off]<cr> Enable or disable echoing of characters received by the probe.

Example:

echo
Echo                : OFF