beautypg.com

Compactlogix program tags for drive add-on – Rockwell Automation 25-COMM-E2P PowerFlex 25-COMM-E2P Dual-Port EtherNet/IP Adapter User Manual

Page 68

background image

68

Rockwell Automation Publication 520COM-UM003A-EN-E - June 2013

Chapter 5

Using the I/O

CompactLogix Program Tags for Drive Add-On Profile Ladder Logic Program Example

An example ladder logic program that uses the automatically-created descriptive
Controller tags and passes their data to the user-defined Program tags is shown in

CompactLogix Example Ladder Logic Program Using a Drive Add-On Profile
for Logic Status/Feedback on page 68

and

CompactLogix Example Ladder Logic

Program Using a Drive Add-On Profile for Logic Command/Reference on
page 69

. Note that the prefix for the drive Controller tags is determined by the

name assigned when configuring the I/O (see

Configuring the I/O on page 39

).

CompactLogix Example Ladder Logic Program Using a Drive Add-On Profile for Logic Status/
Feedback

Copy File
Source
Dest
Length

PowerFlex_52X_Drive:I.OutputFreq

Speed_Feedback

1

COP

PowerFlex_52X_Drive:I.DriveStatus_Ready

Status_Ready

PowerFlex_52X_Drive:I.DriveStatus_Active

Status_Active

PowerFlex_52X_Drive:I.DriveStatus_ActualDir

Status_Forward

PowerFlex_52X_Drive:I.DriveStatus_ActualDir

Status_Reverse

PowerFlex_52X_Drive:I.DriveStatus_Faulted

Status_Faulted

PowerFlex_52X_Drive:I.DriveStatus_AtReference

Status_At_Speed