UM-0085-B09
DT80 Range User Manual
Page 264
RG
Profile Settings
The
DT80
profile
is a group of named settings which control aspects of the logger's operation. Unlike parameters and
switches, profile settings are "permanent", in that they are not cleared by a soft or hard reset (
INIT
and
HRESET
)
Structure
The
DT80
's profile settings are divided into a number of
sections
, each of which deals with a particular area, e.g. host
port, modem, Modbus server, etc. Each section is identified by name, e.g. "
HOST_PORT
".
Each section then contains a number of
keys
(settings). Each key has a name (e.g. "
BPS
") and a value (e.g. "
57600
").
Depending on the key, the value may be a numeric, boolean (yes/ no) or string value.
The value of any of the defined keys can be viewed of changed using the
PROFILE
command.
The PROFILE Command
The
PROFILE
command syntax is as follows:
Command
Description
PROFILE
return current settings for all profile keys
PROFILE
section
return current settings for all profile keys in
section
PROFILE
section
key
return current value of specified profile key
PROFILE
section
key
=
set specified profile key to default value
PROFILE
section
=
set all keys in section to default value
PROFILE
section
key
=
keystring
set specified profile key to
keystring
. Enclose in quotes, i.e.
"
keystring
"
if the
string contains spaces or control characters
Displaying Profile Settings
The following command will display all profile values in the
HOST_PORT
section:
PROFILE HOST_PORT
[HOST_PORT]
BPS = 57600
DATA_BITS = 8
STOP_BITS = 1
PARITY = NONE
*FLOW = HARDWARE
FUNCTION = COMMAND
When profile values are returned, an asterisk (
*
) before a key name indicates that the key has been changed from its
factory default value. In the above example, to return the
FLOW
key to its default setting you would use:
PROFILE HOST_PORT FLOW=
Setting Profile Keys
The following command will change the default host baud rate to 115200 bps:
PROFILE HOST_PORT BPS=115200
Profile setting changes generally take effect immediately. So in this case, if the active command port was the host RS232
port then all subsequent commands would need to be sent at 115200 bps.
The
DT80
supports the following profile keys:
Section Name
Key Name
Legal Values
Factory Default
Comment
USER
SITE
string
Site name to display on LCD instead of
job name
HOST_PORT
(not present on
DT8xM models)
BPS
300
,
600
,
1200
,
2400
,
4800
,
9600
,
19200
,
38400
,
57600
,
115200
57600
Serial parameters for Host RS-232 port
See
DATA_BITS
7
,
8
8
STOP_BITS
1
,
2
1
PARITY
NONE
,
EVEN
,
ODD
NONE
FLOW
HARDWARE
,
SOFTWARE
,
NONE
SOFTWARE
FUNCTION
COMMAND
,
PPP
,
SERIAL
,
MODBUS
,
MODBUS_MASTER
,
DISABLE
COMMAND
Host port function: command/PPP
interface, PPP interface, serial channel
or Modbus