Rockwell Automation 2706-LV2P_LV2R_LV4P_LV4R DL40 PLUS USER MANUAL User Manual

Page 119

Advertising
background image

Remote I/O Communications

8–27

Publication 2706-6.1

Sending Messages to Slave Address Selected as a Message
Attribute

To send any message to a slave, set the Port Use of the RS-485 or
RS-232 Port to DL Slaves. See Chapter 6, Serial Port
Communications
, for more information.

Note: If the message’s Print attribute is set, the message is printed
once each time it is displayed or redisplayed. The RS-232 port must
be set to Printer.

Inserting ASCII Input Data in a Message

Use the Keyboard Port to input ASCII data intended for display.

A request for ASCII Input data can be placed in a message by
inserting a

[CTRL][X]

.

A maximum of l20 ASCII characters can be requested for each
message triggered using Discrete I/O or Block Transfer Write.

Requests for ASCII data can be strung together to form inputs
with a maximum of 20 ASCII characters.

While a message is running, enter the ASCII character or string
of ASCII characters followed by a

[

]

.

Returning ASCII Input Data to a PLC

A maximum of 20 ASCII characters (depending on rack size) are
returned via Discrete I/O. A maximum of 20 ASCII characters are
returned via Block Transfer Read. See pages 8–29 and 8–30.

When all required ASCII data is entered, the message times out and
the Enter Bit in the Input Image Table is set. It is only after this bit is
set that the data is considered valid.

Returning the Displayed Message Number to a PLC

This is automatically done in the Remote I/O scan. For details, see
pages 8–29 and 8–30.

Advertising