How to Convert Files into Function Blocks: Function Block Studio 5000 Assistance Needed!

Question:

If you could provide guidance on converting the attached file into Function Block form, I would greatly appreciate it. I am struggling with this aspect and any assistance would be valuable. Thank you in advance for your help!

Top Replies

While I am not a FBD expert, I conducted a test on a 1769-L33ER PLC unit running software version 34.11 and the program executed successfully. Initially, I developed a prototype on a 5069-L320ER PLC (also at v34.11) but noticed variations in the instructions. Personally, I find the newer version more favorable. In the 5069 program, I adjusted the timer PREsets by selecting the "..." buttons. This process worked effectively in my testing.

Thank you so much for your valuable feedback! It has really helped me navigate through my confusion and will guide me in the right direction in the future. I am grateful for your input.

Hey @joseph_e2, I would appreciate your feedback on the attachment. I have a framework in place, but I am encountering issues with implementing it effectively in the Function Block Diagram. Additionally, I am having trouble locating the RESETS. Any insights you can offer would be greatly appreciated. Thanks!

Are you familiar with Function Block Diagram (FBD) programming in Logix5k? As a newcomer to this feature, I am currently exploring its functionalities. In ladder logic (LAD), resetting a Timer On Delay (TON) can be done using a RESET instruction or by deactivating the rung-in condition. On the other hand, a Timer Off Delay (TOF) requires a RESET instruction for its Reset Timer On (RTO) operation. To customize the sequence of lights turning on and off, you can manipulate the LAD code. For instance, removing a specific light from a rung and implementing a Virtual Relay to control the timing sequence. If you wish for the timers to reset automatically, consider tweaking the logic by incorporating a certain instruction. In FBD programming, further experimentation is necessary. A potential approach involves pairing each light with a LES instruction to compare its timer's values. Additionally, incorporating the signal from a specific timer and modifying it using a conditional statement.

joseph_e2 asked about accessing FBD in Logix5k, as it was a new experience for him. In ladder logic, resetting a TON can be done in two ways: through a RESET instruction or by deactivating the rung-in condition. Either method will stop the timing of a TON, while a TOF operates differently. An RTO can only be reset with a RES instruction, although manually manipulating the ACC and DN bits is also possible. In the original LAD code, the lights sequence and remain on until the Stop_Button is pressed. To have only one light on at a time, try removing REDLT from rung 1 and using Virtual_Relay to control RedTime. Use RedTime.TT to activate REDLT in rung 0, and so on for GreenTime and AMBERLT. For self-resetting timers, add "XIO WhiteTime.DN" alongside "XIO Stop_Button" to drop out Virtual_Relay and reset the timers when needed. In FBD, consider using LES instructions to compare timers' ACC to PRE values and incorporating WhiteTime's DN signal with a NOT to BAND_01. @joseph_e2 The provided code in the attachment uses only Green and Red lights. Limited to FBD in 5K during break times, the previously suggested structure worked well. Looking forward to your approach for the new code. Thanks!

Sure, I'd be happy to help! The process can be a bit tricky if you're not familiar with it, but once you understand the basics, it's quite straightforward. As a starting point, you should break down each step in the code, then encapsulate each of these into separate function blocks. These function blocks can then interact with each other to replicate the original functionality. Remember, each function block should have a single, well-defined purpose. It would be helpful if you could share a specific section you're finding difficult, so I can provide more targeted advice. Hang in there, you're doing great!

Certainly, I'd be glad to help you out with that! Function Block diagrams simplify the process by breaking it down into manageable steps. You start from the inputs to the system, then systematically define the process through a series of intermediate operations until you arrive at the end result or output. But without seeing your attached file, it's hard to provide more specific guidance; try uploading it again. It maybe also useful to clarify which programming language or platform you're using, as some have their unique nuances when it comes to Function Block conversion.

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 convert a file into Function Blocks using Function Block Studio 5000?

Answer: To convert a file into Function Blocks using Function Block Studio 5000, you can start by opening the file in the software and then following the steps outlined in the user manual or tutorials provided by Rockwell Automation.

FAQ: 2. What should I do if I am facing difficulties converting a file into Function Blocks?

Answer: If you are struggling with converting a file into Function Blocks, you can seek assistance from online forums, Rockwell Automation support, or consult with experienced professionals in the field for guidance.

FAQ: 3. Are there any specific tips or best practices to keep in mind when converting files into Function Blocks?

Answer: When converting files into Function Blocks, it is recommended to carefully review the input and output requirements, design the blocks for reusability, and document the process for future reference. Additionally, testing the functionality thoroughly is crucial to ensure proper operation.

FAQ: 4. How can I ensure the successful conversion of files into Function Blocks?

Answer: To ensure the successful conversion of files into Function Blocks, it is important to understand the requirements, follow the software's guidelines accurately, test the functionality after conversion, and seek assistance from resources available if needed.

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  â†’