Sending ascii / bcd variables using open protocol – Rockwell Automation 2706-LV2P_LV2R_LV4P_LV4R DL40 PLUS USER MANUAL User Manual

Page 78

Advertising
background image

Where:

Hex Example:

Serial Port Communications

6–10

Publication 2706-6.1

This section shows how to send ASCII/BCD variables in
Message/Variable/Slave or Message/Variable Run mode using Open
protocol.

Set

the [CTRL][W]

format to ASCII.

To enter data for

[CTRL][W]

callouts via the keyboard or

RS-485/RS–232 link, use this format:

Data

Acceptable Values

ASCII Data

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

DL40 Plus Address

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

[CTRL][A]

ASCII Data

Backslash

( \ )

DL40 Plus

Address

Return

(CR)[

]

\01

R O C K W E L L

\5C

(Hex 5C = \)

\31

(Hex 31 = 1)

\0D

(Hex 0D = CR)

Note: For the Hex examples refer to Appendix D, ASCII and
Extended ASCII Character Sets
.

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

The DL40 Plus address is not required for

[CTRL][W]

data (ASCII

Variable Data) entered via the keyboard. If no DL40 Plus address is
sent, the backslash ( \ ) is optional. If no address is sent when using
the RS-485/RS–232 link, the ASCII data will be ignored.

Sending ASCII / BCD
Variables using Open
Protocol

Advertising