AutomationDirect
Search
Login | Register
Accounts & Orders
Cart
0
$0.00

Recent Orders

View and Manage | Request Cancellation

Your Account

Account Home

Checkout   $0.00


  • My Orders
  • Product Returns (RMAs)
  • Pay Proforma Invoices
  • Pay Freights
  • Invoices / Invoice Reprint
  • Quotes / Favs / BOMs
  • Packing List Reprint
  • My Product Docs
  • Credit Application
  • Tax Exemption
| Direct Sales in US and Canada | 1-800-633-0405 | About Us | Contact Us | Line Card
Products | Support
| Compare
  
Ordering Tools  
warning Cookies are not enabled on your browser.
Cookies are required for our site. Please enable cookies in your browser preferences to continue.
+
Navigation
+
Shopping Categories
  • Barcode / RFID / Vision
  • Bulk Wire & Cable
  • Cables (Terminated)
  • Circuit Protection / Fuses / Disconnects
  • Communications
  • Drives & Soft Starters
  • Enclosure Thermal Management & Lights
  • Enclosures & Racks
  • Field I/O
  • HMI (Human Machine Interface)
  • Hydraulic Components
  • Motion Control
  • Motor Controls
  • Motors
  • Pneumatic Components
  • Power Products (Electrical)
  • Power Transmission (Mechanical)
  • Process Control & Measurement
  • Programmable Controllers
  • Pushbuttons / Switches / Indicators
  • Relays / Timers
  • Safety
  • Sensors / Encoders
  • Stacklights
  • Structural Frames / Rails
  • Tools & Test Equipment
  • Valves
  • Water (Potable) Components
  • Wiring Solutions
  • Retired Products
+
Learn More
  • Brand Line Card
  • What's New
  • E-newsletter
  • Online PDF Catalog
  • Video Tutorials
  • Company Reviews
  • Learning Library
  • Affordable Training
  • Free Online PLC training
  • Cybersecurity
+
In Depth Product Sites
  • Programmable Logic Controllers
  • Productivity1000 PLCs
  • Productivity2000 PLCs
  • Productivity3000 PLCs
  • ProductivityCODESYS
  • LS Electric XGB Series PLCs
  • ProductivityOpen
  • CLICK PLCs
  • Do-more H2 PLCs or
    Do-more T1H Series
  • Do-more BRX PLCs
  • C-more Touch Panels
  • AC & DC Drives
  • Motion Control Components
  • Servos
  • StrideLinx
  • Pneumatics
+
Product Selectors &
Configuration Utilities
  • PLC Family Selector
  • P1000 PLC Systems
  • P2000 PLC Systems
  • P3000 PLC Systems
  • ProductivityCODESYS
  • CLICK PLC Systems
  • Do-more® BRX PLC Systems
  • LS-Electric® XGB PLC Systems
  • Productivity®Open Systems
  • AC Motors
  • Datalogic® Safety Light Curtains
  • LS-Electric® Servo Systems
  • Nitra® Pneumatic Grippers
  • Object Detection (Sensors)
  • PAL Controller Configurator
  • Precision Gearbox Selector
  • Protos X® Field I/O
  • Quadritalia® Modular Enclosures
  • Stellar® Soft Starters
  • Stepper System Selector
  • SureFrame T-slot Extrusion
  • SureMotion® XYZ Gantry
  • SureServo2® System Selector
  • SureStep® Linear Actuators
  • Timing Belts & Pulleys
  • Werma® Stacklights
  • ZIPLinks

IronHorse ACN NEMA 4X VFD Communications via Modbus RTU Part I - from AutomationDirect


Related Products

ACN-20P5
ACN-20P5 Thumbnail
ACN-21P0
ACN-21P0 Thumbnail
ACN-22P0
ACN-22P0 Thumbnail
ACN-23P0
ACN-23P0 Thumbnail
ACN-25P0
ACN-25P0 Thumbnail
ACN-27P5
ACN-27P5 Thumbnail
ACN-2010
ACN-2010 Thumbnail
ACN-2015
ACN-2015 Thumbnail
ACN-2020
ACN-2020 Thumbnail
ACN-40P5
ACN-40P5 Thumbnail
ACN-41P0
ACN-41P0 Thumbnail
ACN-42P0
ACN-42P0 Thumbnail
ACN-43P0
ACN-43P0 Thumbnail
ACN-45P0
ACN-45P0 Thumbnail
ACN-47P5
ACN-47P5 Thumbnail
ACN-4010
ACN-4010 Thumbnail
ACN-4015
ACN-4015 Thumbnail
ACN-4020
ACN-4020 Thumbnail
ACN-4025
ACN-4025 Thumbnail
ACN-4030
ACN-4030 Thumbnail
ACNND-20P5
ACNND-20P5 Thumbnail
ACNND-21P0
ACNND-21P0 Thumbnail
ACNND-22P0
ACNND-22P0 Thumbnail
ACNND-23P0
ACNND-23P0 Thumbnail
ACNND-25P0
ACNND-25P0 Thumbnail
ACNND-27P5
ACNND-27P5 Thumbnail
ACNND-2010
ACNND-2010 Thumbnail
ACNND-2015
ACNND-2015 Thumbnail
ACNND-2020
ACNND-2020 Thumbnail
ACNND-40P5
ACNND-40P5 Thumbnail
ACNND-41P0
ACNND-41P0 Thumbnail
ACNND-42P0
ACNND-42P0 Thumbnail
ACNND-43P0
ACNND-43P0 Thumbnail
ACNND-45P0
ACNND-45P0 Thumbnail
ACNND-47P5
ACNND-47P5 Thumbnail
ACNND-4010
ACNND-4010 Thumbnail
ACNND-4015
ACNND-4015 Thumbnail
ACNND-4020
ACNND-4020 Thumbnail
ACNND-4025
ACNND-4025 Thumbnail
ACNND-4030
ACNND-4030 Thumbnail
ACN-ETH
ACN-ETH Thumbnail
ACN-EIO
ACN-EIO Thumbnail
ACN-232C
ACN-232C Thumbnail
ACN-3MRC
ACN-3MRC Thumbnail
ACN-LCD
ACN-LCD Thumbnail
ACN-LCDKM
ACN-LCDKM Thumbnail
ACN-VFDS
ACN-VFDS Thumbnail


To learn more: https://www.AutomationDirect.com/drives?utm_source=WnUOm21lYrk&utm_medium=VideoTeamDescription

(VID-DR-0359)

This tutorial walks you through setting up and using Modbus RTU to communicate with an ACN Variable Frequency Drive. In this video we will learn how to read and write via Modbus to change the drives frequency, control the drive and monitor drive parameters.

Online Support Page: https://community.automationdirect.com/s/?utm_source=WnUOm21lYrk&utm_medium=VideoTeamDescription

**Please check our website for our most up-to-date product pricing and availability.


Hide Transcript
View Transcript

Communicating with an ACN drive via Modbus RTU is pretty easy, but there are a few things you need to be aware of. We’ll use this CLICK PLC as the Modbus Master. The drive defaults to these com port settings, so we’ll just make the PLC match those. To set up the CLICK PLC’s com port, we go to Setup, Com port. We’ll be using the RS-485 port on the CLICK PLC so we click on this button. We’re using Modbus protocol, and because this PLC is the master, this needs to be a 1. I’ll change the baud rate to match the drives baud rate and the drive is 8 data bits, no parity, one stop bit. This stuff is fine, so I’ll hit OK. Great, the PLC and Drive’s comports are both using the same settings now. The PLC is wired to the drive like this. The ground wire IS important – we’ll explain why in part 2. On the rising edge .. of C1 … Let’s do a receive. We want to use that port 3 we just setup. If you forgot to set it up, you can do it here too. You would put whatever your drives address is here. The drive defaults to a 1 and we haven’t changed it, so this is good. We are going to read multiple registers, starting at what Modbus address? We’ll, we just go to the Serial Communications Chapter of the user manual and we see this chart that gives us an overview of the drives memory map. We could go to the drive parameters and read each one individually, but that’s a waste of communications bandwidth. Instead, look at this. The ACN drives have this drive monitoring area set aside where all the parameters you would normally want to monitor are gathered together in a read only block of memory. If I scroll to that section, we see there’s tons and tons of read only parameters all grouped for easy reading via Modbus. We’re going to start here at Modbus address offset 784 where we’ll read these eight consecutive registers. We just need the offset from this 40,000 number, because back here in the CLICK software, we see it uses a 400,000 base address. Which means we want to start reading the slave at address 400,784. Let’s put the read values into memory locations starting at DS101. And we are reading 8 total registers. We could read up to 125 consecutive registers if we wanted to. I’ll create some status so we can keep an eye on things. And add the required END instruction. I’ve already connected to the PLC. So I’ll write the program to it. I created a dataview with the read trigger bit and the 8 read values. Enable monitoring. The PLC is running, so let’s toggle the Modbus read and see what happens. The motors not running so everything comes back as zero except the bus voltage. Exactly what we expect. Let’s change the frequency to 10 Hz. Enter to select, Enter to accept. The drive doesn’t default to keypad control so let’s go to the drive command source and change it to a zero which tells the drive to use the keypad for run stop control. Enter to select, enter to accept. Escape to the top-level frequency display. Now if I hit RUN on the keypad, we see the drive ramps up to speed. And if I toggle the C1 bit, we see our current is 2.1 amps, the output frequency is 10 hertz, etc … OK, we can read any single parameter or group of parameters we want from the drive simply by looking up the Modbus address in the user manual. And we also know that all the parameters we might want to monitor are grouped in this convenient parameter monitoring address space which makes our Modbus communications much more efficient. I’ll press the stop button on the keypad to stop the motor. Ok, instead of using the keypad to control the drive and set the command frequency, let’s use Modbus. First, we need to tell the drive to accept commands via coms and not the keypad. Go to the drive command source and set it to a 3 to tell the drive to accept run/stop commands from coms. Now I can’t run the drive from the keypad. And let’s go to the frequency source and set it to a 6 to tell it to accept frequency commands from coms. Notice that the command frequency isn’t 10 hertz any more. That’s because the drive is now using the coms frequency source memory location. We’ll write a frequency value to that via Modus in just a minute. Over in the CLICK software, let’s have the rising edge .. of C10 .. send .. on port 3 .. a Modbus write. And again, we already setup that port so we don’t need to do it again. We want to write to our drive at slave address 1, a single register. Let’s have this guy write the command frequency. In the user manual … we see that is at Modbus address offset 896, so in the CLICK software … we add that to the 400,000-base and put it here. Let’s put the command frequency value in register DS110. And I’ll setup the status for this Modbus write. Add an end and send it to the PLC. I added the frequency write trigger and frequency value to the data view. Let’s change the frequency to something we’ll recognize. There’s two implied decimal points so that’s twelve point three four hertz. The PLC is running, so I’ll toggle the Modbus write and we see it was successfully sent and the new frequency appears on the display. Perfect. Ok, now let’s control the drive from the PLC. On the rising edge … of C11 .. we’ll send … on port 3 a Modbus message. Again, we already setup that com port. We want to talk to the drive at slave address 1. We’ll write a single register, to what address? Back in the user manual we see Modbus offset 898 controls the forward and reverse and can be used to reset trips and also can set the drive to free spin to a stop. So we put 400898 here and we’ll put the drive control word in location DS200. And I’ll add some status. And add the required END. I’ll send that to the PLC and update the data view. Ok, the PLC is running so to tell it to run in the forward direction looks like we need to set the first two bits, which means we need our drive control word to be a 3. Toggle the drive control write bit. The command was successful, and we see the motor ramp up to speed. Perfect. To stop the motor, I’ll change the drive control word to zero and re-toggle that command. And the motor ramps to zero. That should be enough to get you started with reading and writing to the drive via Modbus-RTU. But, there are some things you need to know before getting too deep into it, so check out part 2 where we’ll cover some tips and tricks and fill in a few holes. Meanwhile, click here to learn more about the ACN family of drives. Click here to learn about AutomationDirect's free award-winning support options and click here to subscribe to our YouTube channel so you will be notified when we publish more automation tutorial videos.



No data returned!
An error has occurred! Please contact support
Videos Home > IronHorse ACN NEMA 4X VFD Communications via Modbus RTU Part I - from AutomationDirect
Contact, Connect & More
Sign Up
to receive:
FREE e-Newsletter
sign up today!
Connect With Us
Social Media Channels:
linkedin    facebook    x    instagram    youtube
Company Information
About Us
Brand Line Card
System Integrator Program
International Sales
Panel Builder Program
Site Help
Company Reviews
Download Price List
Contact Us
Contact Options
1-800-633-0405
Monday - Friday
9 a.m. - 6 p.m. ET
excluding holidays
Career Opportunities
Voted #1 mid-sized employer in Atlanta
We're a great place to work!
Check out our job openings

Need Training?
Affordable Training by Interconnecting Automation
Free Online PLC Training
FREE Video Tutorials
Information & News
What's New / In The News
FREE e-Newsletter
Automation Notebook
Product Literature
White Papers
News, Product and Training Bulletins
E-Books
Shop with confidence
Checked   Safe & Secure
payment methods


We accept VISA, MasterCard, Discover, American Express, PayPal or company purchase orders.
AutomationDirect

BBB Accredited

Voted #1 mid-sized employer in Atlanta
Check out our job openings

Copyright © 1999-2025 AutomationDirect.  ALL RIGHTS RESERVED.
Site Map     Send Us your Feedback     Unsubscribe     Email Preferences     Legal & Business Policies     YouTube Terms of Service
Clear login credentials



Back to Top


spinner Updating...
Info
„