https://www.AutomationDirect.com/drives?utm_source=1-x4r_KoV-Q&utm_medium=VideoTeamDescription
(VID-DR-0356)
While the ACN Family of VFDs don't have a built-in PLC, they do have something called "User Sequences" which has a lot of the same functionality as a smart relay. You can control the drive using timers, conditionals, math, etc. We walk you through a couple examples in this video so you can see exactly how you might be able to use this awesome feature to work in your own applications.
Online Support Page: https://community.automationdirect.com/s/?utm_source=1-x4r_KoV-Q&utm_medium=VideoTeamDescription
**Please check our website for our most up-to-date product pricing and availability.
The ACN Family of drives does NOT have a built-in PLC. It does have something called User Sequences. And while it’s not a full-blown PLC, it does give you the ability customize the operation of the drive. Suppose you need the drive to run a motor periodically but you don’t really want the hassle or expense of adding a PLC or another controller? Or suppose you need custom acceleration and deceleration ramps that are a function of motor speed. Or suppose you need to count events and shut the motor down when you get too many. User sequences are ideal for small applications like this. And the best way to learn is to jump right in and do some examples. Here we go … You can do this from the keypad, but that’s REALLY hard … so we’re gonna use the VFD Suite software which you can download for FREE at AutomationDirect.com. Just search for VFD Suite, download it, install it. There’s a whole video that shows you how to get started with the VFD Suite. If you are not familiar with it, please watch that video before doing this one – it’ll get you up to speed quickly. If you aren’t familiar with the drive, then check out the ACN drive quick start videos. I’ll create a new project, give it a name – I skip naming the drive – and hit OK. Connect to the drive. Got my green bar and it says we are online and ready to go. Perfect. Let’s go to the drive parameter group, parameter 93 and use it to reset all parameters to default values so you know exactly where I am starting from. Read all the drive parameters. I‘ll speed up the video so we don’t have to wait for that. Let’s go to the main parameter group and change the ramps to something faster so we don’t have to wait on the motor during the video. The motor I’m using matches the default motor parameters, so we don’t need to change any of those. That’s enough to get us started. Double click on the user sequence. And open up the user sequence parameters. We’ll be using these two at the same time, so I prefer to drag the parameters tab over here to create a side by side view. Your first step should ALWAYS be look to see if the user sequence is currently running. The drive says the user sequence isn’t running so we are good to go. That’s important, because you can’t make any changes if the sequence is running on the drive. These blocks are numbered and are executed in numerical order. I’ll widen this up so we can see all of them. You can also hold down the control key and scroll your mouse button to change the scale of this diagram. When you first start they are all NOP’s – for No Operation. For our first example, let’s use the timer function to ramp up the Commanded frequency in 2 Hz increments once a second to 10 Hz and then repeat. Picture it like this: The timer really just a counter. You specify the value you want it to count to, an enable which is active low, and the mode. The timer can output the timer count or a blip each time the counter overflows back to zero. We want to send the count directly to the command frequency, so we want mode 1. I’ll double click on this guy, change it to a timer, and write it to the drive. If I open the user function parameters, you can see block 1’s function is a timer. I’ll right click on the timer to configure the A input. That can come from any parameter group. We need a constant value so we’ll go to the User Sequencer Parameters – which are just a bunch of empty memory locations - and let’s grab parameter 1. The Void just reminds you it’s generic - has no units or assigned type. Write that to the drive. This early version of the software I have is a little quirky – notice that didn’t appear over here. If I go away and come back – ah – there it is. This is the code you would enter via the keypad if you were doing this manually. That’s drive 1, parameter group D, parameter 1F hex which is 31 decimal. Yeah, now you know why we are using the VFD Suite … doing this by hand is painful. Right click, configure input B. Again, we’ll use the user parameters and use parameter number 2. Write it to the drive. Right click, configure parameter C. Grab user parameter number 3. Write it to the drive. Right click one more time to configure the output. We want to send the timer’s count to the drives group, the command frequency. I’ll refresh the user function screen by going away and coming back and yep, we see we are using a timer, and these are all the codes for the inputs for this block that WE would normally have to enter via the keypad ourselves for these parameters. I sure am glad the VFD Suite is doing that for me. The output parameter is read only – it’s where you can see what the block is sending out. Ok, now we just need to assign values to these inputs. We can always see the current values in the user sequence parameters here . but look at this. If I right click and select value display, I can quickly see what all these parameters are currently set to. Input A is our max count – we want to go to 10 hertz, so that will be a 1000 because there are two implied decimal places. How did I know that? Go back to the drive parameters and we see the command frequency requires 2 decimal places. The Jog decel time for example only has 1 required decimal place. Back to the user parameters. The second parameter is our enable which is active low so we’ll need a zero for that one. And we want mode 1 where the timer outputs the actual count. So I’ll double click on the first parameter and set it to 1000 .. and write it out. Right arrow to the second parameter and enter a zero and write that out. Right arrow to the next parameter and enter a 1 and write that out. If I refresh the display to update the displayed values, yep exactly what we need. Let’s flip that back to display the parameters. Finally, we see the rate these blocks will be executed is every 20 milliseconds. So since the timer output is tied directly to the command frequency, we should see the command frequency ramp up to 10 hz, reset to zero and start over. To run it, we just double click on the sequencer control, set it to run and write it out. And sure enough, the command frequency is incrementing to 10 Hz at a 20-millisecond rate. And if we wait a few seconds .. yep it wrapped back to zero. Perfect. And don’t forget that you can also see that in the Detail Information Section. I’ll select the command frequency, and change the scale. Yep, there it is … And you could also view it on a trend graph – you can learn more about both of those in these videos. Notice that we are controlling the drives commanded frequency REGARDLESS of how the drive is configured. If we go to the Drive Parameters group we see the frequency source in this drive is set to keypad – so why is the drive allowing the user sequencer to change the frequency? Well, in most drives with built-in controllers or PLCs, you will find that in general, whenever there is a conflict, the PLC or controller will always win. The cool thing about the ACN Family of drives is you can tell the drive to only use the sequencer as the frequency source you want. That way, when the sequencer isn’t running the drive’s normal logic can’t take back control. Otherwise, the drive will resume whatever control of the frequency you set it up with when you tell the user sequencer to stop. So that’s really important to remember – when the user sequencer is running it ALWAYS takes over whatever it is controlling. Ok, I did a lot of talking during that example. Let’s do one more without all of that talking so you can see how easy this really is. Let’s take the frequency command and add 2 hertz and then add another 2 Hz to it once a second just so you can see how to connect blocks. Let’s start a new project. Give it a name. Connect to the drive. Read in all the parameters. I’ll fast forward through that. Bring up the user sequence and the sequencer parameters which are again really just empty memory locations for us to put stuff in. And let’s do the side by side thing again. All the workspace stuff is still here. No problem. Double click on the first guy, change him to an add. Hmm. We got an error. Why? We’ll we forgot to do the very first thing you ALWAYS need to do. Make sure the sequencer isn’t running – which ours is still running from the last demo. So, I’ll double click on that, stop it, and write it out. I see the drive got that so we are good to go. Now if I double click on the 1st block, I CAN change it to an ADD. The add sums all three inputs. Right click to change input A to the command frequency which is in the Drive group, the first parameter. We’ll re-use these as is so no need to change ‘em. We do need to change their values. We want to add 2 hertz, so I’ll make user parameter 2 a 200 – again two implied decimal places. Write that out. Arrow to user parameter 3 and change that to a zero. Write that out. We want the output to go to the next block, but we don’t do that here. This output is only used if you need to also send the output someplace else. We’ll do that in a more advanced example in part 2. For now I’ll just zero it out to get rid of the stuff left over from the previous example. In block 2 we want to ADD another 2 Hz. So double click, Add. Write that out. Again, keep an eye on this guy – we see it was written with no error. Perfect. Right click and change input A to get from the user functions parameters block 1’s output. And we see the connection line. We want to add another 2 Hz so let’s use user parameter 10 for that just to be different. Change it to 200 for the two implied decimal places. Write it out. Again, make sure it got written successfully. If it didn’t it’s probably because the sequencer is running. If you leave the 3rd parameter at zero, the block will just add the first two. Let’s switch to value display – yep exactly what we need. 2 hertz is being added to the command frequency. This time we DO want to modify the output because it needs to go someplace different. It needs to go to the drive group, command frequency. We want to add 4 Hz to the frequency command every SECOND, so we go to the user parameters and change the loop time to 1 second. Write it out and double check that it actually got to the drive. Let’s manually change the command frequency to zero to make it easier to see the result. Now we just go to the sequence control parameter, change it to run and write it out. And sure enough, the command frequency is changing 4Hz every second. Perfect. Change the sequence control parameter to STOP to halt the process. That should be enough to give you a feel for how this works. Meanwhile, click here to learn more about the ACN Family of drives. Click here to subscribe to our YouTube channel so you will be notified when we publish more videos like this and click here to learn about AutomationDirect’s free award-winning support options.
Voted #1 mid-sized employer in Atlanta
Check out our
job openings