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

DURApulse GS20(X) VFD: PLC Quick Start Part 3 - Drive Control Example from AutomationDirect


Related Products

GS21-10P2
GS21-10P2 Thumbnail
GS21-10P5
GS21-10P5 Thumbnail
GS21-11P0
GS21-11P0 Thumbnail
GS21-20P2
GS21-20P2 Thumbnail
GS21-20P5
GS21-20P5 Thumbnail
GS21-21P0
GS21-21P0 Thumbnail
GS21-22P0
GS21-22P0 Thumbnail
GS21-23P0
GS21-23P0 Thumbnail
GS23-20P2
GS23-20P2 Thumbnail
GS23-20P5
GS23-20P5 Thumbnail
GS23-21P0
GS23-21P0 Thumbnail
GS23-22P0
GS23-22P0 Thumbnail
GS23-23P0
GS23-23P0 Thumbnail
GS23-25P0
GS23-25P0 Thumbnail
GS23-27P5
GS23-27P5 Thumbnail
GS23-2010
GS23-2010 Thumbnail
GS23-2015
GS23-2015 Thumbnail
GS23-2020
GS23-2020 Thumbnail
GS23-40P5
GS23-40P5 Thumbnail
GS23-41P0
GS23-41P0 Thumbnail
GS23-42P0
GS23-42P0 Thumbnail
GS23-43P0
GS23-43P0 Thumbnail
GS23-45P0
GS23-45P0 Thumbnail
GS23-47P5
GS23-47P5 Thumbnail
GS23-4010
GS23-4010 Thumbnail
GS23-4015
GS23-4015 Thumbnail
GS23-4020
GS23-4020 Thumbnail
GS23-4025
GS23-4025 Thumbnail
GS23-4030
GS23-4030 Thumbnail
GS23-51P0
GS23-51P0 Thumbnail
GS23-52P0
GS23-52P0 Thumbnail
GS23-53P0
GS23-53P0 Thumbnail
GS23-55P0
GS23-55P0 Thumbnail
GS23-57P5
GS23-57P5 Thumbnail
GS23-5010
GS23-5010 Thumbnail
GS21X-20P5
GS21X-20P5 Thumbnail
GS21X-21P0
GS21X-21P0 Thumbnail
GS21X-22P0
GS21X-22P0 Thumbnail
GS21X-23P0
GS21X-23P0 Thumbnail
GS23X-20P5
GS23X-20P5 Thumbnail
GS23X-21P0
GS23X-21P0 Thumbnail
GS23X-22P0
GS23X-22P0 Thumbnail
GS23X-23P0
GS23X-23P0 Thumbnail
GS23X-25P0
GS23X-25P0 Thumbnail
GS23X-27P5
GS23X-27P5 Thumbnail
GS23X-40P5
GS23X-40P5 Thumbnail
GS23X-41P0
GS23X-41P0 Thumbnail
GS23X-42P0
GS23X-42P0 Thumbnail
GS23X-43P0
GS23X-43P0 Thumbnail
GS23X-45P0
GS23X-45P0 Thumbnail
GS23X-47P5
GS23X-47P5 Thumbnail
GS23X-4010
GS23X-4010 Thumbnail
GS20A-KPD
GS20A-KPD Thumbnail
GS20A-BPS
GS20A-BPS Thumbnail
GS20A-N1A1
GS20A-N1A1 Thumbnail
GS20A-N1A3
GS20A-N1A3 Thumbnail
GS20A-N1B
GS20A-N1B Thumbnail
GS20A-N1C
GS20A-N1C Thumbnail
GS20A-N1D
GS20A-N1D Thumbnail
GS20A-N1E
GS20A-N1E Thumbnail
GS20A-N1F
GS20A-N1F Thumbnail
GS20A-FAN-A
GS20A-FAN-A Thumbnail
GS20A-FAN-B
GS20A-FAN-B Thumbnail
GS20A-FAN-C
GS20A-FAN-C Thumbnail
GS20A-FAN-D
GS20A-FAN-D Thumbnail
GS20A-FAN-E
GS20A-FAN-E Thumbnail
GS20A-FAN-F
GS20A-FAN-F Thumbnail
GS20A-ESP-A
GS20A-ESP-A Thumbnail
GS20A-ESP-B
GS20A-ESP-B Thumbnail
GS20A-ESP-C
GS20A-ESP-C Thumbnail
GS20A-ESP-D
GS20A-ESP-D Thumbnail
GS20A-ESP-E
GS20A-ESP-E Thumbnail
GS20A-ESP-F
GS20A-ESP-F Thumbnail
GS20A-DR-AB
GS20A-DR-AB Thumbnail
GS20A-DR-C
GS20A-DR-C Thumbnail
GS20A-MP-AB
GS20A-MP-AB Thumbnail
GS20A-MP-C
GS20A-MP-C Thumbnail
GS20A-CAPF
GS20A-CAPF Thumbnail
GS20XA-DSA
GS20XA-DSA Thumbnail
GS20XA-DSB
GS20XA-DSB Thumbnail
GS20XA-DSC
GS20XA-DSC Thumbnail
EMF10AM23A
EMF10AM23A Thumbnail
EMF11AM21A
EMF11AM21A Thumbnail
EMF12AM43B
EMF12AM43B Thumbnail
EMF23AM43B
EMF23AM43B Thumbnail
EMF24AM23B
EMF24AM23B Thumbnail
EMF27AM21B
EMF27AM21B Thumbnail
EMF33AM23B
EMF33AM23B Thumbnail
EMF6A0M43A
EMF6A0M43A Thumbnail
EMF6A0M63B
EMF6A0M63B Thumbnail
EMF16AM63B
EMF16AM63B Thumbnail
GS20XA-EPA
GS20XA-EPA Thumbnail
GS20XA-EPB
GS20XA-EPB Thumbnail
GS20XA-EPC
GS20XA-EPC Thumbnail
GS20XA-FAN-B
GS20XA-FAN-B Thumbnail
GS20XA-FAN-C
GS20XA-FAN-C Thumbnail
GS20A-CM-ENETIP
GS20A-CM-ENETIP Thumbnail
GSOFT2
GSOFT2 Thumbnail
GSLOGIC
GSLOGIC Thumbnail


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

(VID-DR-0135)

Walk though an example of how to control the GS20(X) drive from the built-in PLC. We'll see how to change the frequency and ramps, output enable, run/stop, forward and reverse and fault reset.

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

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


Hide Transcript
View Transcript

In this video we’ll walk through this ladder code example in the examples folder which set’s the drive’s frequency, acceleration and deceleration times, and enables the drive, issues the run/stop, and forward and reverse commands. It also does a fault reset. I’ve already reset the drive parameters to factory default and the PLC to factory default and power cycled the drive, so you know exactly where I am starting from. I also entered these parameters for my motor, your motor parameters will probably be different. I’m going to move these menu buttons to make more room on the screen and move things around a bit so we can see the ladder code better. All of the example code is written using a GS4 drive which has 10000 memory steps. The GS20 only has 2000 memory steps so this code won’t load into a GS20. The good news is, that’s easy to change. We just go to options, change PLC type. Change the title, select a GS20 drive, verify we have the correct com port and change the filename so we don’t overwrite the original file. Now we have ladder code that is GS20 compatible and has the correct memory configuration. If you don’t see the comments, then make sure the show comments button is on. Rung 0 says when we set the general purpose M1 bit, set the frequency and ramp times. I can never remember which register is which, so let’s right click and edit the register comments. D50 is the frequency with two implied decimal places. D52 is the acceleration with two implied decimal places and D53 is the deceleration also with two implied decimal places. That’s much better. Of course, these D registers will need to be pre-loaded before running this command. We’ll do that with the register monitor when we go online with the drive. That rung used 8 of our 2,000 steps, so the next rung starts at step 8 where digital input X0 is used to enable the drive using this special function register. Let’s change that to M2 so we don’t have to wire up a digital input for this demo. Keep in mind this is not the run/stop command – it just enables the drive’s outputs. Let’s change the next rung to use M3 as the run/stop control via this special function register. Again, just so we don’t have to wire up a digital input. And I’ll change the next row to use M4 to control forward and reverse via this special function register … and change this rung to use M5 to control the fault reset. You can find all of the special function registers in the help file here and for each drive family you can see side by side which registers apply to each. Looks like we are using 17 of the 2000 available steps. I’m going to modify the comments to reflect our changes and remove all the extra words to make them easier to read. And let’s re-label our M bits so they will be easy to see when we run the program. This guy is the output enable. This guy is the run/stop. This guy is the forward/reverse and this guy is the fault reset. This gray background indicates all the stuff that hasn’t been compiled yet, so let’s compile this and see how we did. Compile is complete with no hits, no runs, no errors. Perfect. Go to communication menu to set up the com port. Since the GS20 uses the dedicated USB configuration port you don’t really care about these. We just need to make sure we are using the correct comport – which we know from the previous video is com 11 – and that we are using RTU. To write the program to the PLC, the PLC has to be enabled. So I’ll go to the PLC menu and change it to PLC2 which enables the PLC in stop mode. Great, now we click this guy to write the program to the drive – we want to write to the drive, not read from it – and do it. Under the communications menu, we select on-line so we can monitor what the PLC is doing. Notice that this window is now labeled “Monitor Ladder Program”. That serves as a reminder that we can’t edit the code while monitoring the PLC. We also now see that we are currently in stop mode. Click on this guy to switch to run mode. This reminds us this is temporary while we are using this GSLOGIC utility. How the drive acts on power up is determined by the drive's keypad menu or the digital inputs if you are using those to control the PLC. I’ll open a monitor window and add the M bit control registers starting at M1 and we want 5 total registers. We also need to set the D registers. Let’s start with D50 which is the frequency register. Then right click to change the value. This tells you it is a 16 bit register and these are the formats we can use. We’ll use the signed decimal notation of K and we want 6 hertz – which is a 600 because there are two implied decimal places. Hit OK and close that. Let’s add D52 which is the acceleration and change that to two seconds, and let’s add D53 and change the deceleration to 2 seconds. Great, we are all set up and the PLC is running. Let’s right click on this to toggle M1 to set the frequency and ramp times we just entered. And we see the drive is now set to 6 hertz. Right click this guy to enable the drive output. And right click this guy to switch to run mode. And sure enough, the drive ramps the motor up to speed. Change the forward and reverse bit and the motor ramps down, changes direction and ramps back up. Because M1 is still enabled, if I right click D50 and change the frequency, it changes immediately. If I disable the drive’s output we see the actual output frequency immediately goes to zero with no ramp, and the motor free spins to a stop even though the drive is technically still running. Re-enable the output and the drive ramps back up to speed. Turn this guy off to stop the drive with a controlled ramp. That’s really all there is to it . Click here to learn more about the GS20 drives. Click here to subscribe to AutomationDirect’s YouTube channel so you will be notified when we publish new videos. And click here to learn about AutomationDirect’s free award-winning support options.



No data returned!
An error has occurred! Please contact support
Videos Home > DURApulse GS20(X) VFD: PLC Quick Start Part 3 - Drive Control Example 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
„