You are on page 1of 11

(/app/answers/detail/a_id/718642/page/3#)

Controlling a PowerFlex 523 Drive over Modbus RTU using a


Micrologix 1100
Menu
718642 | Date Created: 06/10/2015 | Last Updated:
Email this page Subscribe to
03/30/2016 Updates
Access Level: Everyone

Question
How can I control a PowerFlex 523 Drive over Modbus RTU using a MicroLogix 1100?

Answer
Because of the variety of uses for this information, the user of and those responsible for applying
this information must satisfy themselves as to the acceptability of each application and use of the
program. In no event will Rockwell Automation be responsible or liable for indirect or consequential
damages resulting from the use or application of this information.

The illustrations, charts and examples shown in this application note are intended solely to illustrate
the principles of programmable controllers and some of the methods used to apply them.
Particularly because of the many variables and requirements associated with any particular
installation, Rockwell Automation cannot assume responsibility or liability for actual use based upon
the illustrations used and applications.

Rockwell Automation assumes no patent liability with respect to use of information, circuits,
equipment, or software described in this text.

Reproductions of the contents of this application note, in whole or in part, without the express
written consent of Rockwell Automation are prohibited.

Software and Firmware Used


The example shown was developed using RSLogix 500 v8.4
Document Purpose
This document is not a manual or training material, but an Application Note, which could be useful
in helping a Rockwell Automation customer with configuring and programming communications via
ModBus to a PowerFlex 523 drive.

Intended Audience
This document is to be used by Rockwell Automation employees and customers supporting and
selling the MicroLogix 1100, PowerFlex 523.

Users are expected to have a thorough understanding and programming experience with RSLogix
500. This document is not intended for beginning programmers, many assumptions of knowledge
and how to program are made within this document.

System Layout

Programming the MicroLogix 1100


Note: The RSLogix 500 v8.4 project can be downloaded from the Rockwell Automation Knowledge
database and used as is or edited to fit your exact application needs.

1. Create a new RSLogix 500 application for a MicroLogix 1100.

2. Configure Channel 0 communications for ModBus as shown below.


IMPORTANT!
The Baud rate and parity of the MicroLogix 1100 must match the Modbus device.

Use of the 1763-CBL-NC01 device on Channel 0 of the MicroLogix 1100 automatically


converts from RS-232 to RS-485.

When making your Protocol Control selection under Control Line,when using the 1761-CBL-
NC01 you must be sure to properly select NO Handshaking (485 Network), otherwise you
may encounter issues such as MSG instructions generating error codes of 37H

3. Enter the following rungs for Program File : LAD 2 - Main_Prog:


Create the following subroutine LAD files

LAD 4 MODBUS
LAD 5 PF4_CNTRL

4. Enter the following ladder logic for LAD 4 MODBUS. This subroutine will perform the
ModBus messaging to and from the PowerFlex drive

5. Configure each of the MSG instructions as shown below. Remember for PowerFlex 523
drives, you must add a value of " 1 " to the ModBus register (MB Data Address) that is listed
in the PowerFlex manual.
MSG Command Word
MSG Speed Reference

MSG Logic Status Word

MSG Output Frequency


MSG Drive Faults
MSG Command Frequency

6. Enter the following ladder logic for LAD 5 PF4_CNTRL. This ladder the manual bits (b3:0/x)
for control the PowerFlex drive
You can download the project, ULOGIX1100_MODBUS_PF523_APPNOTE.RSS, in the bottom of
this technote.

Attachments
ULOGIX1100_MODBUS_PF523_APPNOTE.RSS
(/ci/fattach/get/1086571/0/filename/ULOGIX1100_MODBUS_PF523_APPNOTE.RSS)
(33.5 KB)

DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular
subject or subjects and is not an exhaustive treatment of such subjects. Accordingly, the information
in this web site is not intended to constitute application, design, software or other professional
engineering advice or services. Before making any decision or taking any action, which might affect
your equipment, you should consult a qualified professional advisor.

ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR


ACCURACY OF ANY OF THE DATA CONTAINED IN THIS WEB SITE AND MAY MAKE
CHANGES THERETO AT ANY TIME IN ITS SOLE DISCRETION WITHOUT NOTICE. FURTHER,
ALL INFORMATION CONVEYED HEREBY IS PROVIDED TO USERS "AS IS." IN NO EVENT
SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT,
INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN IF
ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE POSSIBILITY OF SUCH DAMAGES.

ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR


IMPLIED IN RESPECT OF THE INFORMATION (INCLUDING SOFTWARE) PROVIDED HEREBY,
INCLUDING THE IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABILITY, AND NON-INFRINGEMENT. Note that certain jurisdictions do not
countenance the exclusion of implied warranties; thus, this disclaimer may not apply to you.

This page is best viewed in Internet Explorer 10, Firefox 31, Chrome 37, Safari 6 or newer.
New Site Feedback
Give Feedback

(http://www.rockwellautomation.com/global/blog/overview.page)
(https://www.facebook.com/ROKAutomation)
(https://plus.google.com/+RockwellautomationInc)
(https://www.linkedin.com/company/rockwell-
(http://www.slideshare.net/RockwellAutomation)
(http://twitter.com/ROKAutomation)
(http://www.youtube.com/rokautomation)
automation)

You might also like