Controlling PowerFlex 4-Class Drives on RS-485 Modbus RTU using MicroLogix Controllers

Similar documents
Serial Converter Module

20-COMM-H RS-485 HVAC Adapter

Configuring Allen-Brandly ControlLogix PLC with Moxa MGate 5105-MB-EIP. 1 Application Description Objective Goals...

Using Logix5000 Controllers as Masters or Slaves on Modbus

1 Application Description Objective Goals... 3

Universal Serial Bus (USB) to DH-485 Interface Converter

Introduction: Implementation of the MVI56-MCM module for modbus communications:

USB to RS-422/485 Serial Adapter

Modbus Communications for PanelView Terminals

Table of Contents. Creating a VC1000 Network... 3

Configuring SMC-Flex for Communications over Remote I/O Network using 20-COMM-R Card This document is intended to be used for reference purposes only.

L5354 ControlNet Communications Interface

EtherNet/IP Adapter. 22-COMM-E FRN 1.xxx. User Manual

Omron I/O Driver (Series 2) Programmable Serial Interface Card

How To Connect A Directsofl To A Powerpoint With An Acd With An Ctel With An Dm-Tel Modem On A Pc Or Ipad Or Ipa (Powerpoint) With A Powerline 2 (Powerline

WinPFT File Transfer Utility (Catalog No ND7)

Module 1 Overview ControlLogix5000

Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000

DeviceNet Motor Control

SLC 5/05 Processors Firmware/Operating System ControlFLASH Upgrade

Using Ladder Logic Instructions to Communicate with an Ethernet IP Nexus Unit

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

Modbus and ION Technology

PM1122 INT DIGITAL INTERFACE REMOTE

MS830 / MS833 Barcode Reader v1.0 9-December-2014

User Manual. DeviceNet Network Configuration

SDN INSTRUCTIONS 07/10, Ver 1.2. Somfy Digital Network (SDN) Installation and Programming

NOTE: PLEASE DO NOT ATTEMPT TO INSTALL THE SOFTWARE BEFORE READING THIS DOCUMENT.

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

User Manual. AS-Interface Programmer

IP Link Device Interface Communication Sheet

7.7 Ethernet Communication (AFPX-COM5)

CompactLogix 5370 L1 Controllers

To perform Ethernet setup and communication verification, first perform RS232 setup and communication verification:

Install the DeviceNet Module using the following procedure:

Master-Touch and ValuMass. Modbus Communications. INSTRUCTION MANUAL (Rev. 2.1)

Technical Note A007 Modbus Gateway Vantage Pro2 25/09/2009 Rev. A 1 de 7

User Manual. PowerFlex 525 Embedded EtherNet/IP Adapter

Quick Installation. A Series of Intelligent Bar Code Reader with NeuroFuzzy Decoding. Quick Installation

Chapter. PLC Communications

IP Link Device Interface Communication Sheet

EZ-View Network Communications Guide

For support on the Beijer HMI please contact:

PowerFlex 20-HIM-A3/-A5/-C3S/-C5S Series C HIM Firmware 6.001

20-COMM-M Modbus/TCP Adapter Firmware 1.xxx

Allen-Bradley/Rockwell

Keep it Simple Timing

RcWare SoftPLC Modbus server mapping editor User manual

DeviceNet Communications handbook

Allen-Bradley. ControlLogix Gateway System (Cat. No series) User Manual

MVI56-PDPMV1 ControlLogix Platform PROFIBUS DPV1 Master

Application about Communication

The Answer to the 14 Most Frequently Asked Modbus Questions

1769 CompactLogix Packaged Controllers

Micro800 Programmable Controllers: Getting Started with CIP Client Messaging

ATS Communication Overview

SCADA System. Application Guide

PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL

Technical Note. Setting ACS drive IP address automatically with Rockwell BOOTP/DHCP Server. Contents

ControlNet PLC-5 Hot Backup System

Chapter. Getting Started. In This Chapter...

How To Set Up A Modbus Cda On A Pc Or Maca (Powerline) With A Powerline (Powergen) And A Powergen (Powerbee) (Powernet) (Operating System) (Control Microsci

ENET-710. ENET Ethernet Module ENET-710 JAN / 06 FOUNDATION

NC-12 Modbus Application

DeviceNet Bus Software Help for Programming an Allen Bradley Control System

Allen-Bradley/Rockwell

How to read this guide

EVAL-UFDC-1/UFDC-1M-16

SEC 4100 SYSTEM MONITOR Programmable Serial Interface Card Series 2

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

TRP-C31M MODBUS TCP to RTU/ASCII Gateway

MicroLogix 1100 Embedded Web Server

1769-SDN DeviceNet Scanner Module. Catalog Numbers 1769-SDN User Manual

ControlLogix Remote I/O Communication Module

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

EtherNet/IP Web Server Module

Fanuc 0 M/T Model C Serial (RS232) Connection Guide

Logix5000 Controllers Nonvolatile Memory Card

DriveTools SP v5.04 Software Patch

Quick Start Guide for High Voltage Solar Inverter DC-AC Board EVM. Version 1.3

One Port Serial Server Users Manual Model ESP901, ESP901E

PanelView Standard Operator Terminals

Configure Inverter output for two utility settings, (1)120V/60Hz, (2)220V/50Hz

Connecting the Console Port to a PC

Paragon Explorer Lite Communication Software

PLC Master / Slave Example

BECKHOFF. Application Notes. BC9000: Getting Started Guide. For additional documentation, please visit.

IP SERIAL DEVICE SERVER

1-Port R422/485 Serial PCIe Card

How to setup a serial Bluetooth adapter Master Guide

CompactLogix 5370 L3 Controllers

Board also Supports MicroBridge

Profinet to EDV111 Series LED Signs Siemens Function Block Software Manual

OPT SERIAL TO FIBER OPTIC CONVERTER

Modbus and ION Technology

Using a Laptop Computer with a USB or Serial Port Adapter to Communicate With the Eagle System

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

About This Guide SolarEdge Configuration Tool Software Guide. About This Guide

MVI56E-MNET / MNETXT. ControlLogix Platform Modbus TCP/IP Communication Module SETUP GUIDE

Logix5000 Controllers

Transcription:

pplication Solution Controlling PowerFlex 4-Class Drives on RS-485 Modbus RTU using MicroLogix Controllers Related Products and Documentation This document will guide you through the basic steps needed to install, start up, and program PowerFlex 4-class drives for RS-485 Modbus RTU communications. The information provided does not replace the user manual, and is intended for qualified personnel only. ll documentation can be found on the Internet at www.theautomationbookstore.com using either the public or private link. Catalog Number Document Title Publication Number 22 Series PowerFlex 4 djustable Frequency C Drive User Manual 22-UM001C (1) --E 22 Series PowerFlex 40 djustable Frequency C Drive 22-UM001 (1) --E User Manual 1761-NET-IC MicroLogix IC+ dvanced Interface Converter 1761-6.4 User Manual 1764-L Series MicroLogix 1500 Programmable Logic Controllers 1764-UM001 (1) --P User Manual (1) The letter represents document revision, and is subject to change. Hardware That You Will Need Many of the devices listed below may be or should be supplied with your system, however these devices have been listed to help in the understanding of the overall system application. You may not need all of the hardware listed. For more information regarding firmware and revision levels, refer to the table in Step 2 entitled Connecting the Hardware. Product Name Catalog Number Description PowerFlex 4-Class Drive 22-, or 22- Device used to control the speed of a motor. MicroLogix IC+ dvanced Interface Converter 1761-NET-IC Device used to interface a MicroLogix controller with an RS-485 network. MicroLogix 1500 LRP Series C, Revision C, Firmware Version 9.0 Controller (2) 1764-LRP Device also known as a Programmable Logic Controller. MicroLogix Programming Cable 1761-CL-PM02 Device used to program a MicroLogix controller. elden 9841 Cable None; user-supplied Device used to connect a 1761-NET-IC converter to a PowerFlex 4-Class drive. (2) It is recommended that you use this controller type since it offers an additional programming port.

2 Controlling PowerFlex 4-Class Drives on RS-485 Modbus RTU using MicroLogix Controllers What You Need To Do Step 1: Configure the hardware Step 2: Connect the hardware Step 3: Enter the Logic Status logic Step 4: Enter the Speed Feedback logic Step 5: Enter the Logic Command logic Step 6: Enter the Speed Reference logic Supported Modbus Function Codes Modbus Function Code Command Description 03 Read Holding Registers 06 Preset (Write) Single Registers Modbus devices can either be 0-based (registers are numbered starting at 0), or 1-based (registers are numbered starting at 1). Since MicroLogix controllers use 1-base technology, you will need to offset register addresses by +1. For example, the Logic Command word may be register address 8192 for some master devices (e.g. ProSoft MVI56-MCM ControlLogix Modbus scanner) and 8193 for others (e.g. MicroLogix and PanelViews). Important MicroLogix Controller Information Even though you may configure Channel 0 and Channel 1 for Modbus RTU Master functionality, it is recommended that you dedicate Channel 0 for RSLogix 500 software programming and ControlFLSH firmware upgrading (based on customer statistics). Channel 1 will not: allow you to flash upgrade controller firmware supply power to external devices (i.e. 1761-NET-IC+) While system setup is entirely up to the customer, using an external 24 VDC power supply isolates the controller from the 1761-NET-IC+ converter for better noise immunity. Therefore, in this application example, Channel 1 has been dedicated as the Modbus RTU Master for drive control.

Controlling PowerFlex 4-Class Drives on RS-485 Modbus RTU using MicroLogix Controllers 3 Important RS-485 Wiring Information Standard RS-485 wiring practices apply. Termination resistors need to be installed at each end of the network cable to eliminate EMI noise induction and to strengthen data signal. lso, RS-485 repeaters may need to be used for long cable runs, or if greater than 32 nodes are needed on the network. Step 1: Configuring the Hardware This section will guide you through configuring a PowerFlex 4-class drive, 1761-NET-IC converter, and MicroLogix 1500 LRP controller. Device Steps PowerFlex 4 and 40 Drives 1. Set Parameters: P036 [Start Source] to 5 Comm Port P038 [Speed Reference] to 5 Comm Port 103 [Comm Data Rate] to 4 19.2K 104 [Comm Node ddr] to 1, or a unique node address 107 [Comm Format] to 0 RTU 8-N-1 To Configure: You may use the LCD HIM, DriveExplorer software version 3.01 or greater, or DriveExecutive software version 2.01 or greater. MicroLogix IC+ dvanced Interface Converter, 1761-NET-IC MicroLogix 1500 LRP Series C, Revision C, Firmware Version 9.0 Controller 1. Set rotary switch to UTO position. 1. Run RSLogix 500 programming software. 2. Create a project, or open an existing project. 3. In the left-hand project window, double-click the Channel Configuration folder. 4. Click the Channel 1 tab and set: Driver to Modbus RTU Master aud to 19.2K Parity to NONE Control Line to No Handshaking InterChar. Timeout (x1 ms) to 0 Pre Transmit Delay (x1 ms) to 0 5. Leave all other settings at default. To Configure: You may only use RSLogix 500 software version 6.10.00 or greater. To verify software revision level, click Help then bout RSLogix 500 from the top menu bar.

4 Controlling PowerFlex 4-Class Drives on RS-485 Modbus RTU using MicroLogix Controllers Step 2: Connecting the Hardware ➑ ➒ 1761-NET-IC TM COM SHIELD GND Drive Node 1 Drive Node 247 Terminal 16 if PowerFlex 4 Terminal 19 if PowerFlex 40 Install 120 ohm termination resistor if last drive. NOTE: You may substitute a PowerFlex 4-class drive for a PowerFlex 7-class using a 20-COMM-H RS-485 HVC adapter. Wiring will be identical to the 1761-NET-IC diagram above. Only jumper terminals TM and on the adapters at the end of the RS-485 network, and only jumper terminals SHIELD and GND at a single point (one device) on the network. No. ➑ ➒ Description MicroLogix 1500 LRP Series C, Revision C, Firmware Version 9.0 Controller PowerFlex 4-Class Drive Frn 1.xxx and greater elden #3105 or equivalent cable 1761-CL-PM02 MicroLogix Programming Cable. If this cable is not available, you may use a 1761-C2-C00 cable instead. Channel 1 9-pin Female Serial Connector on MicroLogix 1500 LRP Controller (left side) K-U0-RJ45-T2P Terminal lock Connector 1761-NET-IC MicroLogix IC+ dvanced Interface Converter Frn 1.xxx. You will need to supply converter with external 24 VDC power. RS-485 Network Wiring Diagram Second 1761-CL-PM02 MicroLogix Programming Cable (for uploading/downloading programs to controller)

Controlling PowerFlex 4-Class Drives on RS-485 Modbus RTU using MicroLogix Controllers 5 Step 3: Entering the Logic Status Logic Task Description Double-click the LD 2 [MIN] program folder and insert a ladder rung. Double-click on the rung, and then copy-and-paste the following logic into the address bar: MSG MG10:0 3 LOCL 1 1 N11:0 8449 1 2 132 SLOT:0 C In a separate rung, double-click on the rung, and then copy-and-paste the following logic into the address bar: ST XIC MG10:0/ NX XIC MG10:0/ ND OTU MG10:0/ D Click on Setup Screen to launch the message configuration window. E Configure the General tab by entering the information shown in the table below. MSG Read/Write Message MSG File MG10:0 Setup Screen C MG10:0 MG10:0 D MG10:0 U E No. Field ction Recommended Setting Channel: Select communication port 1 Modbus Command: Select message function 03 Read Holding Registers (4xxxx) Data Table ddress: Select an unused data file N11:0 (user defined) Size in Elements: Element size = INT 1 Message Timeout: Select control timeout in seconds 2 M Data ddress (1-65536): Select data register in drive 8449 (drive defined) Slave Node ddress (dec): Select node address of drive 1

6 Controlling PowerFlex 4-Class Drives on RS-485 Modbus RTU using MicroLogix Controllers Step 4: Entering the Speed Feedback Logic Task Description Double-click the LD 2 [MIN] program folder and insert a ladder rung. Double-click on the rung, and then copy-and-paste the following logic into the address bar: MSG MG10:1 3 LOCL 1 1 N11:1 8452 1 2 128 SLOT:0 C In a separate rung, double-click on the rung, and then copy-and-paste the following logic into the address bar: ST XIC MG10:1/ NX XIC MG10:1/ ND OTU MG10:1/ D Click on Setup Screen to launch the message configuration window. E Configure the General tab by entering the information shown in the table below. MSG Read/Write Message MSG File MG10:1 Setup Screen C MG10:1 MG10:1 D MG10:1 U E No. Field ction Recommended Setting Channel: Select communication port 1 Modbus Command: Select message function 03 Read Holding Registers (4xxxx) Data Table ddress: Select an unused data file N11:1 (user defined) Size in Elements: Element size = INT 1 Message Timeout: Select control timeout in seconds 2 M Data ddress (1-65536): Select data register in drive 8452 (drive defined) Slave Node ddress (dec): Select node address of drive 1

Controlling PowerFlex 4-Class Drives on RS-485 Modbus RTU using MicroLogix Controllers 7 Step 5: Entering the Logic Command Logic Task Description Double-click the LD 2 [MIN] program folder and insert a ladder rung. Double-click on the rung, and then copy-and-paste the following logic into the address bar: MSG MG10:2 6 LOCL 1 1 N11:2 8193 1 2 128 SLOT:0 C In a separate rung, double-click on the rung, and then copy-and-paste the following logic into the address bar: ST XIC MG10:2/ NX XIC MG10:2/ ND OTU MG10:2/ D Click on Setup Screen to launch the message configuration window. E Configure the General tab by entering the information shown in the table below. MSG Read/Write Message MSG File MG10:2 Setup Screen C MG10:2 MG10:2 D MG10:2 U E No. Field ction Recommended Setting Channel: Select communication port 1 Modbus Command: Select message function 06 Write Single Registers (4xxxx) Data Table ddress: Select an unused data file N11:2 (user defined) Size in Elements: Element size = INT 1 Message Timeout: Select control timeout in seconds 2 M Data ddress (1-65536): Select data register in drive 8193 (drive defined) Slave Node ddress (dec): Select node address of drive 1

8 Controlling PowerFlex 4-Class Drives on RS-485 Modbus RTU using MicroLogix Controllers Step 6: Entering the Speed Reference Logic Task Description Double-click the LD 2 [MIN] program folder and insert a ladder rung. Double-click on the rung, and then copy-and-paste the following logic into the address bar: MSG MG10:3 6 LOCL 1 1 N11:3 8194 1 2 0 SLOT:0 C In a separate rung, double-click on the rung, and then copy-and-paste the following logic into the address bar: ST XIC MG10:3/ NX XIC MG10:3/ ND OTU MG10:3/ D Click on Setup Screen to launch the message configuration window. E Configure the General tab by entering the information shown in the table below. MSG Read/Write Message MSG File MG10:3 Setup Screen C MG10:3 MG10:3 D MG10:3 U E No. Field ction Recommended Setting Channel: Select communication port 1 Modbus Command: Select message function 06 Write Single Registers (4xxxx) Data Table ddress: Select an unused data file N11:3 (user defined) Size in Elements: Element size = INT 1 Message Timeout: Select control timeout in seconds 2 M Data ddress (1-65536): Select data register in drive 8194 (drive defined) Slave Node ddress (dec): Select node address of drive 1

Controlling PowerFlex 4-Class Drives on RS-485 Modbus RTU using MicroLogix Controllers 9 Understanding the I/O The following table identifies drive I/O. In RSLogix 500 software, you will need to know the data table address(es), and logic bit definiton(s) in order to effectively control your drive. They are: Data Table ddress Description N11:0 Logic Status Word; for bit definitons, please refer to ppendix C-4 of the drive s user manual. N11:1 Speed Feedback; for bit definitons, please refer to ppendix C-4 of the drive s user manual. N11:2 Logic Command Word; for bit definitons, please refer to ppendix C-3 of the drive s user manual. N11:3 Speed Reference Word; for bit definitons, please refer to ppendix C-3 of the drive s user manual. Other Supported Controllers llen-radley offers additional MicroLogix controllers with Modbus RTU Master capabilities. They are: Controller Type Catalog Number MicroLogix 1200 Series C, Revision C, Firmware Version 8.0 1762-L24, -L40 MicroLogix 1500 LSP Series C, Revision C, Firmware Version 9.0 1764-LSP Rockwell utomation Support efore you contact Rockwell utomation for technical assistance, we suggest that you please review the troubleshooting information contained in the supporting product publications. If the problem persists, call your local llen-radley distributor or contact Rockwell utomation in one of the following ways: Phone United States / Canada 1.262.512.8176 (7 M - 6 PM CST) 1.440.646.5800 (24 hour support) Outside United States / Canada You can access the phone number for your country via the Internet: 1. Go to http://www.ab.com 2. Click on Support (http:// support.rockwellautomation.com) 3. Under Contact Customer Support, click on Phone Support Internet Go to http://www.ab.com/support/abdrives Email support@drives.ra.rockwell.com This document was written for Rockwell utomation by David M. Wisniewski, Sr. Technical Support Engineer. ll rights reserved.