Instructions

UM-0085-B09 DT80 Range User Manual Page 199
RG
If required, these settings can be changed using individual PROFILE commands. See Profile Settings (P264)) for details
on the possible values for these settings.
For example, the following commands would configure the serial sensor port for the control of serial sensor devices on
an RS485 network, running at 38400 baud
PROFILE SERSEN_PORT BPS=38400
PROFILE SERSEN_PORT MODE=RS485
Note: Do not use software flow control (SWFC) if the port is using a binary (non-ASCII) protocol, such as Modbus or PPP or some serial
sensor protocols. This is because flow control characters (XON/ XOFF) may legitimately appear in binary data, and if they do then they
will be stripped out. This will cause data errors.
Port Function
The possible settings for the serial sensor port FUNCTION parameter are:
SERIAL (default) the port is controlled by the current job, using the 1SERIAL channel.
COMMAND – the port accepts DT80 commands sent directly over the serial interface. The port will automatically
switch to PPP mode if an incoming PPP connection is detected. When the PPP connection is closed the port
will go back to accepting direct commands.
PPPthe port accepts PPP connections only.
MODBUSthe port receives and processes incoming serial Modbus requests.
MODBUS_MASTERthe port is used for polling Modbus sensor devices, as specified in the current job using
the
1MODBUS channel.
DISABLEthe port is disabled. This setting reduces power consumption.
Temporary Settings
The serial sensor port communications parameters can also be temporarily set by the command
PS=mode,baud,parity,databits,stopbits,flow-control
where:
Parameter
Settings
Default
mode
specifies the signal standard: RS232, RS422 or RS485
RS232
baud
is the baud rate. Use 50, 75, 110, 150, 300, 600, 1200, 2400, 4800, 9600,
19200, 38400 or 57600.
1200
parity
can be N (none), O (odd) or E (even)
N
databits
can be 7 or 8
8
stopbits
can be 1 or 2
1
flow-control
NOFC (no flow control)
SWFC (software flow control RS232/RS422 only)
HWFC (hardware flow control RS232 only)
NOFC
These parameters may be specified in any order and all are optional. Note that the port function cannot be set using this
command.
For example, the command
PS=RS485,9600
sets the port to RS485 mode, 9600 baud.
These settings will be reset to their defaults by a hard reset (e.g. HRESET).
You can also check the DT80's current serial sensor port parameters using the PS command, e.g.:
PS
RS232,1200,N,8,1,NOFC
Finally, the command
PS=
will return the all serial sensor port settings to the values specified in the
PROFILE.