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

Page 77

Advertising
background image

Hex Example:

Where:

Hex Example:

Where:

Serial Port Communications

6–9

Publication 2706-6.1

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

Triggering messages with embedded variables is a 2 step process.
Send

[

CTRL]

[

T

]

followed by

[

CTRL

][

V

]

.

To enter variable data in

[CTRL][V]

callouts, use the following

format:

Data

Acceptable Values

Variable Data

1 to 5 ASCII digits with an optional leading plus or minus sign
( + or – ). Data is for the latest message sent to the specified
DL40 Plus.

Variable Position

1 or 2 ASCII digits that specify the position of the variable within
the message (1 through 10)

DL40 Plus Address

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

[CTRL][V]

Variable

Data

Backslash

( \ )

Variable

Position

Backslash

( \ )

DL40 Plus

Address

Return

(CR)[

]

\16

\39

(Hex 39 = 9)

\5C

(Hex 5C = \)

\32

(Hex 32 = 2)

\5C

(Hex 5C = \)

\31

(Hex 31 = 1)

\0D

(Hex 0D = CR)

If no DL40 Plus address is sent, the second backslash (\) is optional.
If the two backslashes are together, the variable position is assumed
to be 1.

If no address is sent when using the RS–485/RS–232 link, the
variable data will be ignored.

[CTRL][V]

Variable

Data

Backslash

( \ )

Backslash

( \ )

DL40 Plus

Address

Return

(CR)[

]

\16

\31

(Hex 31 = 1)

\5C

(Hex 5C = \)

\5C

(Hex 5C = \)

\31

(Hex 31 = 1)

\0D

(Hex 0D = CR)

Variable position = 1

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.

Sending Binary/BCD
Variables using Open
Protocol

Advertising