Using reference/feedback, Example ladder logic program – Rockwell Automation 22-COMM-E EtherNet/IP Adapter User Manual

Page 47

Advertising
background image

Using I/O Messaging

5-3

When enabled, Reference/Feedback begins at word 1 in the I/O image.
The Reference (16 bits) is produced by the controller and consumed by
the adapter. The Feedback (16 bits) is produced by the adapter and
consumed by the controller.

The example ladder logic program works with a ControlLogix controller
and a PowerFlex 40 drive.

Function of the Example Program

This example program enables you to:

• Obtain status information from the drive.
• Use the Logic Command to control the drive (for example, start, stop).
• Send a Reference to the drive and receive Feedback from the drive.

Adapter Setting for the Example Program

• Adapter IP address 10. 91. 97. 74 is set using parameters.

• The adapter is configured for Single mode (Operating Mode Switch is

set to “Single”).

RSLogix 5000 Configuration

Controller Tags

When you add the adapter and drive to the I/O configuration (see

Chapter 4

), RSLogix 5000 automatically creates controller tags for them.

In this example program, the following controller tags are used.

Using Reference/Feedback

Size

Valid Values

(1)

(1)

The Reference for a PowerFlex 4 or 40 is set in Hz. and not in engineering
units like other PowerFlex drives. For example, “300” equates to 30.0 Hz
(the decimal point is always implied).

In I/O Image

Example

16-bit

0.0 to 240.0 Hz (PowerFlex 4) or
0.0 to 400.0 Hz (PowerFlex 40)

Word 1

Figure 5.1

Example Ladder Logic Program

Advertising