LURBY

Micro 800 - Edit / Change an existing UDFB

3 posts in this topic

I am trying to communicate with a Powerflex 525 drive using a Micro 820 PLC over Ethernet.  I have downloaded a UDFB from AB for positioning mode.  This gives me almost everything that I need but there are a few things missing.  The positioning function uses step logic.  Each step defines a movement (distance) and a speed.  You can preset these parameters and then just step thru the steps.  You can also write a new value to the parameter for different distances and speeds.  I have done it before with MicroLogix and MSG instructions. 

Does anyone know how to edit this UDFB to allow me to add a few more "writes" ?  According to AB the UDFB is not "locked" but I have no idea how to change it.  Is there a video or instruction out there somewhere showing how to crack this thing open and add to it?

Thanks in advance...Chuck

Share this post


Link to post
Share on other sites

The UDFB is just Structured Text and you can edit it. Just double click on the UDFB and have fun!

 

Share this post


Link to post
Share on other sites

Once imported, you should be able to see it in the program tree.  You can edit the structured text, add variables.  If you want to add more inputs, create additional "Local Variables" with the direction "VarInput" and then you can add references to that in the structured text.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now