Device Configuration And Monitoring; Control Interfaces; Command Protocol; Command Protocol On Rs-232 / Rs-422 / Rs-485 - DekTec DTM-3200 User Manual

Oem ts-over-ip converter
Table of Contents

Advertisement

DTM-3200 – OEM Ethernet TSoIP Converter
User Manual

4. Device Configuration and Monitoring

4.1 Control interfaces

The DTM-3200 can be configured and monitored using I
switch #3 selects between RS-232 and RS-422 or RS-485. It is not required to select between I
and RS-XXX: The DTM-3200 will automatically use the interface on which it detects activity.
All control interfaces use the same command and response protocol that is described below.

4.2 Command protocol

Commands and responses are wrapped into a frame structure that contains address, cate
setting, read/write, index (optional) and data (optional). The DTM-3200 accepts uppercase
lowercase characters, but will always respond in uppercase.

4.2.1 Command protocol on RS-232 / RS-422 / RS-485

Field
Format
Start
ASCII character
STX (0x02)
Address
2 hex digits
Category
2 hex digits
Setting
2 hex digits
Read/Write ASCII character
'R' or 'W'
Index
4 hex digits
Data
n hex digits / n
ASCII
characters
Checksum
2 hex digits
End
ASCII character
ETX (0x03)
2
Hex digits are the ASCII characters 0...9 and A...F, concatenated to form a single hexadecimal value.
3
The DTM-3200 supports a single channel only, so index is used as a channel number, it's always 0.
4
Since firmware version 1.4 the firmware update setting uses ASCII characters 128 to 255 for sending the firmware da
5
Invert all bits and add one.
ASCII "start of text" character
2
8-bit address, with the 6 MSBs fixed to 0x40 and the 2 LSBs
configurable using DIP switches 1 and 2
Selects a "category" of settings
Selects a setting within the selected category
'R' for read and 'W' for write
(Optional) Provides an extra index parameter, e.g. to
indicate the channel number
The data written or read. The data length is variable for
each setting. In case of a write operation, the data is a
4
(negative) acknowledgement
This is the least significant byte of the two's complement
sum of all characters in the message, excluding the STX and
ETX characters and the checksum itself
19
2
C, RS-232 (DCE), RS-485 or RS-422. DIP
Description
3
2
C
5

Advertisement

Table of Contents
loading

Related Products for DekTec DTM-3200

Table of Contents