Efficient Methods for PowerFlex525 Control via Ethernet for Drive Reversal

Question:

I am currently developing my initial program for controlling a 525 drive through Ethernet, and I am exploring the most effective approach for handling drive reversal. Our rollers are designed to operate only in the forward direction during production, but we require them to move in reverse for setup purposes. To achieve this, we utilize a forward and reverse push button to nudge the wheels during setup. Is there a more efficient method for specifying the direction other than including the direction bit in the jog command? Our system incorporates a PLC Micro850 2080-50E-24QBB and PowerFlex525 drives utilizing EENET communication.

Top Replies

While I haven't personally worked with the Micro850, I have extensive experience with the PF525 over Ethernet. Check out this informative video tutorial on CCW for PF525 control via PV800, and Micro850 for guidance. The video not only provides an introduction to the software but also walks you through programming a Micro820 to control a Powerflex 525 with a UDFB, making it a valuable resource for anyone looking to get started with these systems.

In my first program to control a 525 drive via ethernet, I am exploring the best way to handle reversing the drive's direction. Our setup involves using a set of rollers that only move forward during production but require backward movement for adjustments. To achieve this, we utilize both forward and reverse push buttons to jog the wheels. Is there a more efficient method for indicating direction than simply toggling the direction bit with the jog command? I am working with a PLC Micro850 2080-50E-24QBB, and the drives are PowerFlex525 using EENET communication protocol. It is essential to set the direction bit correctly, as having duplicate instances of the OTE command is a common mistake. The recommended approach is as follows: first, check for the forward direction command, then the reverse direction command, and finally execute the jog command. Additionally, ensure that there is a 1-scan delay to allow the drive to receive the direction command before initiating the jog. It's crucial to remember that communication with the drive occurs asynchronously to the scan position, so timing is key. If a stop command is active, it should be released one scan before any run command is issued.

In the world of PLC programming, it is crucial to set the direction bit correctly to ensure proper functionality. It is also important to follow the right sequence of commands to avoid any errors. You should aim to issue the direction command before the jog command, allowing for a one scan delay, as the drive's communication is asynchronous to the scan position. To achieve this, follow these steps: first, execute the XIC Fwd Direction Command.4 OR XIC Rev Direction Command.5, followed by the OTE Jog Command.2. Then, proceed with XIC Fwd PB OTE Fwd Direction Command.4 and XIC Rev PB OTE Rev Direction Command.5. This sequence guarantees the necessary delay and proper execution of commands. In your programming logic, make sure to include the necessary conditions for stopping, starting, jogging, fault clearing, and direction control. Remember that the direction command can be issued simultaneously with the run command, but it is advisable to prioritize the direction command for smooth operation. Check out the provided code snippets for a clearer understanding of the logic flow in ladder programming. By following these guidelines, you can optimize your PLC program for efficient and error-free operation.

While it is possible to issue direction commands simultaneously with the run command, it is generally advised against. My main reasoning behind this is the following code logic: - O.Stop is activated when Sts_Active, Sts_ENetLogicCtrl are true and neither Sts_KeypadCtrl, RunFwd, RunRev, JogFwd, nor JogRev are active. - O.Start is triggered when Sts_Ready, StartTimer.DN are true, O.Stop is false, and either RunFwd, RunRev, JogFwd, or JogRev are active. - O.Jog is initiated when Sts_Ready is true, O.Stop, RunFwd, and RunRev are false, and either JogFwd or JogRev are active. - O.ClearFault is executed when PCmd_Reset, OCmd_Reset, MCmd_Reset, or XCmd_Reset are triggered. - O.Forward is enabled when either RunFwd or JogFwd are active. - O.Reverse is activated when either RunRev or JogRev are active. - O.KeypadControl is linked to KeypadCtrl. - O.LogicCommand is modified by masking out irrelevant bits in the O.LogicCommand. It is important to avoid issuing direction commands simultaneously with the run command to prevent potential errors. While these errors may not be immediately apparent, it is a good practice to avoid them. For example, if the Stop and Start assertions are issued concurrently, there is a risk that the drive may fail to start altogether.

Robertmee mentioned a potential issue with running a scan in the wrong direction when issuing commands simultaneously. This may not be visually noticeable, but it is crucial to enforce good habits. Similarly, if the Stop and Start assertion commands are executed in the same manner, there is a risk of the drive not starting at all. It is important to note that these commands are part of the same output bytes sent to the drive, which processes the entire assembly at once.

Consider integrating a limit switch into your system. It could help detect when the roller reaches the end of its forward movement and signal the PLC to reverse the drive. By automating push button functions, you can free up resources and potentially reduce human error. This way, you wouldn't need to change the jog command directly, instead it would depend on the state of the limit switch. Of course, you'd also want to ensure the switch gets properly reset during restarts or idle periods to avoid any mishaps during setup.

There might be a more efficient method you can employ: using the control word within the PowerFlex drive. This option allows you to manipulate various settings, including the drive forward and reverse stances, from the PLC. Furthermore, you could also consider creating an HMI screen that would allow the user to switch between forward and reverse instead of physical pushbuttons. That's just a couple of ideas. Make sure to check the PowerFlex manual for specifics, as it could vary based on your setup.

It sounds like you're on the right track with your current setup! Instead of just using a direction bit in the jog command, you might consider implementing a mode switch in your PLC that toggles between production and setup modes. This way, you can have separate control logic tailored for each mode, allowing you to streamline the process. For instance, when in setup mode, the push buttons could directly control jog functions, enabling smoother reversals while erasing the chance of accidental reversals during production. This could also simplify troubleshooting and make future expansions or adjustments easier. Good luck with your project!

Have you considered implementing a toggle switch or a dedicated control panel for direction selection during setup? This could streamline your process by allowing operators to set the desired direction without modifying the jog command each time. Additionally, you might explore using a macro or function block in your PLC program that toggles the direction based on the push button state, which would make the control logic a bit cleaner and more user-friendly. It might also be worthwhile to revisit the drive configuration settings to see if there's an option that allows for easier direction changes without complicating the control commands.

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: 1. How can I efficiently control drive reversal in a PowerFlex525 drive via Ethernet using a PLC Micro850?

Answer: - You can achieve drive reversal efficiently by utilizing a forward and reverse push button to nudge the wheels during setup. This method involves including the direction bit in the jog command. 2. Is there an alternative method to specify the direction for drive reversal in a PowerFlex525 drive other than using the direction bit in the jog command? - While using the direction bit in the jog command is a common method, you can explore other efficient approaches such as utilizing specific control logic or programming within your PLC Micro850 for seamless drive reversal.

FAQ: 3. What is the recommended setup for controlling a PowerFlex525 drive through Ethernet with a PLC Micro850 for smooth drive reversal operations?

Answer: - For controlling the PowerFlex525 drive through Ethernet using a PLC Micro850, ensure you have a robust communication setup, clear command structure for drive direction control, and proper integration of forward and reverse push buttons for efficient drive reversal during setup.

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  â†’