beautypg.com

Message/variable/slave run mode – Rockwell Automation 2706-LV2P_LV2R_LV4P_LV4R DL40 PLUS USER MANUAL User Manual

Page 87

background image

Parallel Port Communications

7–7

Publication 2706-6.1

This section shows the type of triggering operations you can perform
in Message/Variable/Slave Run mode.

Trigger Messages

You can trigger messages using the:

Parallel port

Keyboard port

RS-485 port

Send Variables to be included in a Message

Your controller can include variables with the message trigger. Up to
10 full word variables can be sent with the message trigger. Variable
types include:

16 bit binary (1 variable per word)

8 bit ASCII (2 per word)

4 digit signed Binary Coded Decimal (BCD) (1 per word)

1 digit (4 bit) unsigned BCD (4 per word)

You can send variables over an RS-232/RS-485 link or using the
Keyboard port of the DL40 Plus. See Chapter 6, Serial Port
Communications
, for details.

Insert ASCII Data in a Message

Use the DL40 Plus Keyboard port to input ASCII data for display.

Insert ASCII data in a message by inserting

[CTRL][X]

.

Up to 20 ASCII characters can be requested for each message
triggered using the Parallel, RS–485, or RS–232 port.

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

[

]

.

See Chapter 6, Serial Port Communications, for details.

Return ASCII Data to a PLC

A maximum of 20 ASCII characters are returned via the RS-485 port
or the RS–232 port.

Put Messages on Historical Events Stack

Triggered messages and variable data can be put on the 16 Kbyte
Historical Events Stack. The contents of the stack can be viewed on
the DL40 Plus display or printed:

in chronological order

by number of occurrences

Message/Variable/Slave
Run Mode