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

Recent Orders

View and Manage | Request Cancellation
Loading Order History
Loading...Loading...

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.
ADC will be closed Friday, July 4th, to celebrate Independence Day. Orders placed after cut-off times on Thursday will be processed and shipped on Monday, July 7th.
+
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
  • 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 GS4 VFD Built-in PLC & Analog from AutomationDirect


Related Products

GS4-21P0
GS4-21P0 Thumbnail
GS4-22P0
GS4-22P0 Thumbnail
GS4-23P0
GS4-23P0 Thumbnail
GS4-25P0
GS4-25P0 Thumbnail
GS4-27P5
GS4-27P5 Thumbnail
GS4-2010
GS4-2010 Thumbnail
GS4-2015
GS4-2015 Thumbnail
GS4-2020
GS4-2020 Thumbnail
GS4-2025
GS4-2025 Thumbnail
GS4-2030
GS4-2030 Thumbnail
GS4-2040
GS4-2040 Thumbnail
GS4-2050
GS4-2050 Thumbnail
GS4-2060
GS4-2060 Thumbnail
GS4-2075
GS4-2075 Thumbnail
GS4-2100
GS4-2100 Thumbnail
GS4-41P0
GS4-41P0 Thumbnail
GS4-42P0
GS4-42P0 Thumbnail
GS4-43P0
GS4-43P0 Thumbnail
GS4-45P0
GS4-45P0 Thumbnail
GS4-47P5
GS4-47P5 Thumbnail
GS4-4010
GS4-4010 Thumbnail
GS4-4015
GS4-4015 Thumbnail
GS4-4020
GS4-4020 Thumbnail
GS4-4025
GS4-4025 Thumbnail
GS4-4030
GS4-4030 Thumbnail
GS4-4040
GS4-4040 Thumbnail
GS4-4050
GS4-4050 Thumbnail
GS4-4060
GS4-4060 Thumbnail
GS4-4075
GS4-4075 Thumbnail
GS4-4100
GS4-4100 Thumbnail
GS4-4125
GS4-4125 Thumbnail
GS4-4150
GS4-4150 Thumbnail
GS4-4175
GS4-4175 Thumbnail
GS4-4200
GS4-4200 Thumbnail
GS4-4250
GS4-4250 Thumbnail
GS4-4300
GS4-4300 Thumbnail


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

(VID-DR-0040)

This demo covers using Analog Input #1 to control the drive via the built-in PLC.

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

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


Hide Transcript
View Transcript

Other videos show us how to use an analog input to control the drive’s frequency using the drives parameters. But what if we want to take the analog input and scale it in a specific way or otherwise manipulate it before it controls the drives frequency? Well, that’s where having an on-board PLC can come in handy. Let’s go to the examples folder which is usually under documents, AutomationDirect, GSLogic. There’s two folders – one for examples on how to use all of the instructions and another with application examples. We want this Analog Input 1 for frequency control example. This video assumes you are familiar with setting up the GS4 Drive for PLC programming. If you are not familiar with the GS4 PLC, then the quick start videos will get you up to speed quickly. Looks like this example uses the drives forward input as an enable, the reverse input as a RUN command, Digital input 1 as the direction and digital input 2 as a fault reset. How did I know which drive inputs those were? Easy – this button takes you right to the help topic that maps the Drives digital inputs to the PLC’s X inputs and the drives outputs to the PLC’s Y outputs. I love that. When the enable is active, we read the analog input, convert it to a floating-point number and put that in register D46 How did I know this was Analog input 1? Again, this button takes me to that same chart and down here we see that analog input 1 can be read directly from special function register D1028. We can also see the analog output mappings. Could we have requested this information directly from the drive’s parameters? Sure, but that requires extra work on our part. These dedicated special function registers really make things easy. Next, we take the floating-point version of the analog input - which goes from 0 to 100 – and multiply it by .6 to scale it to 0 to 60 Hz. We then convert that back to an integer, and use that to set the new frequency value. These two are the acceleration and deceleration which we would have to be set before using this instruction of course. So instead of doing that, let’s highlight the instruction, then double click on it to just put a constant 2 seconds in for acceleration and a constant 2 seconds in for deceleration. K means it is a decimal constant and both of these have two implied decimal places so a 2 becomes a 200. By the way, you can see all the memory data types in HELP under Contents, Basics, Data types. Or just go directly to help topic GSL100. That’s all there is to it. Read the analog input, scale it, and use it to control the frequency. These inputs just control special function bits which directly control the RUN/STOP, Direction and fault reset of the drive. And don’t forget – since the PLC is using this input, the drive won’t see it as a forward command – or whatever else you may have configured it for in the drive. The PLC always gets control of the I/O IF the PLC is not disabled – that is, it’s in RUN or STOP mode – AND the PLC is using that I/O in its ladder code. That’s really important to remember – the PLC always gets control of any I/O it’s using regardless of how it was configured in the drive. Well, let’s try it. Write the program to the PLC. Yes, we want to compile it. I was running the PLC prior to this demo so it’s asking if I really want to stop it - I do. And yes, I want to go back to run mode. If your drive isn’t in run mode, just click this button right here. Let’s enable monitoring to see all the values right on the ladder diagram. You could also bring up a separate monitor window with this button if you want to. I have some switches connected to the drives inputs, If I flip the enable switch we see that turn green and if I turn on the RUN contact, sure enough the motor starts spinning. If I change the analog potentiometer that I have connected to analog input 1, the motor reacts accordingly and we see the raw analog input value here and the scaled value here and we even see all the intermediate results too which makes debugging a snap. In this example, we have a switch connected to one of the drive’s inputs controlling direction by writing to special function register 1026. If I flip the switch, the drive decelerates over 2 seconds, reverse direction and accelerates back up over 2 seconds. Exactly what we expect. What if we wanted to control the direction automatically from the potentiometer? That is, have 0 to 5 volts control the reverse direction and 5 to 10 volts control the forward direction. Can we do that from the PLC? Sure! Let’s delete that rung that controls motor direction from a switch. Up here we converted the 0 to 10-volt input to 0 to 60 Hz. Let’s subtract 30 Hz. Now we have minus 30 to plus 30. Multiply that by 2 and we have -60 to +60Hz. Done, right? Well, no not yet. Because the Drive doesn’t understand negative frequency numbers from the PLC. To fix that we’ll compare that number with zero and put the result in M0, which tells us if the frequency is less than zero. If the frequency is positive, then go ahead and issue frequency command. If the Frequency is negative, then change the direction by writing to register M1026, multiply by a minus 1 to get a positive frequency value and use that in the frequency command. Let’s zoom out a little bit so we can see all the new rungs. Great! Let’s write that to the drive. Yes, compile it. Yes, I know the drive is in run mode. Yes, please return to run mode. Turn on monitoring. Now the top half of the potentiometer goes from 0 to 60 Hz and the bottom half reverses direction for 0 to 60 Hz. Perfect. Well, that should give you a pretty good idea of the kinds of things you can do with the GS4 drives built in PLC. You are no longer limited by what the Drive Parameters allow you to do. Click here to learn more about the GS4 Drive. Click here to learn about AutomationDirect’s free support options and click here to subscribe to AutomationDirect’s You Tube Channel so you will be notified when we publish new videos.



No data returned!
An error has occurred! Please contact support
Videos Home > DURApulse GS4 VFD Built-in PLC & Analog 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