Returning ascii data from the rs-232/rs-485 port – Rockwell Automation 2706-LV2P_LV2R_LV4P_LV4R DL40 PLUS USER MANUAL User Manual

Page 80

Advertising
background image

\41\6C\6C\65\6E\2D\42\72\61\64\6C\65\79

A l l e n – B r a d l e y

Where:

Hex Example:

Serial Port Communications

6–12

Publication 2706-6.1

This section shows how ASCII data entered in a triggered message is
returned through the RS-485 or RS-232 port.

After the message is displayed or run, the ASCII data is returned
using the following format:

Data

Acceptable Values

ASCII Data

1 to 20 ASCII characters. Data is for the latest message sent to
the specified DL40 Plus.

Message Number

1 to 4 ASCII digits (1 to 9999).
Number of the message which received [CTRL][X] (ASCII Input)
data.

DL40 Plus Address

1 to 3 digits (0 to 127)
127 = all DL40 Plus on RS–485/RS–232 link.

Return Packet Format

[CTRL][B]

ASCII Data

Backslash

( \ )

Msg.

Number

Backslash

( \ )

DL40 Plus

Address

Return

(CR)[

]

\02

\5C

(Hex 5C = \)

\31\32\37

(Hex 31 = 1)
(Hex 32 = 2)
(Hex 37 = 7)

\5C

(Hex 5C = \)

\32

(Hex 32 = 2)

\0D

(Hex 0D = CR)

For the Hex examples refer to Appendix D, ASCII Character Sets.

Keyboard entries are performed with standard characters. The above
listed Hex examples refer to non–keyboard entries.

Returning ASCII Data
from the RS-232/RS-485 Port

Advertising