Precisely Calculating Box Heights for Efficient Unloading Process

Question:

I am currently engaged in a project revolving around the precise calculation of boxes based on their height. The system operates by utilizing a sensor positioned at the beginning of the transportation process to assess the height of each box as it enters the array. Subsequently, a gear-mounted Sensor detects movement and adds a 2 cm increment to the box's path. Upon reaching the ejection point, the box is then expelled. The code, which I have successfully constructed in the Siemens S7 1500 SCL language, effectively manages this process. Now, I am seeking to enhance the code to include a feature that verifies the height of the box awaiting ejection. If the box meets the necessary height requirements for ejection, ejection 1 is triggered. For those interested, the SCL code can be accessed here: https://file.io/bwFVMPRjjq4H

Top Replies

If the "Weight for discharge 1" equals the "Weight data to sensor output," then the discharge weight is set to 90. If the "Weight for discharge 2" equals the "Weight data to sensor output," then the discharge weight is set to 150. If the "Weight for discharge 3" equals the "Weight data to sensor output," then the discharge weight is set to 190. When the auxiliary bit [3], automation, and not Interput [1] are true, the "Discharge Position" and "Box Weight" are updated, and Interput [1] is set to TRUE. If the auxiliary bit [3] is false, then Interput [1] is set to FALSE. When the "Encoder signal A" is true, the actual position is updated by 2 for each box with a non-zero discharge position. If the actual position is greater than or equal to the discharge position and the box weight matches the predefined weights, the corresponding discharge flag is set to TRUE, and the box details are reset.

Can anyone provide a solution to this problem?

One strategy to optimize production efficiency is to latch the ejection mechanism and then unlatch it when the next box is ready. Currently, a timer may be used to keep the ejection open for a predetermined period. However, implementing a latch-and-unlatch system may involve inspecting a specific spot before releasing based on timing, a method I have successfully used in previous projects. This process can help streamline operations and enhance overall productivity.

For those unfamiliar with Slovenian language, here is a code snippet that involves weight sensors for triggering ejection mechanisms in a production line. If the weight sensed by "Weight data to sensor output" matches preset values for different ejection weights, the thrower's position is set accordingly. Additionally, if certain conditions are met, such as auxiliary bits being active and automation in place, the ejection position and box weight data are updated. Furthermore, the encoder signal is used to iterate through box data and adjust the actual positions based on the ejection positions. If a box meets the criteria for ejection based on weight and position, the corresponding ejection flag is set, and the box data is reset. This code snippet demonstrates the logic behind automated ejection processes in manufacturing lines, optimizing efficiency and accuracy in product handling.

Zinko inquired if anyone knows how to troubleshoot a specific issue. It appears that the code provided is missing the logic that assigns a value of FALSE to the Ejection stations (#Izmet 1/2/3). This logic likely involves a timer or a counter. Can anyone confirm if this assumption is accurate?

Interesting project you're working on! Verifying the box's height before it reaches the ejection point would indeed add another layer of accuracy to your system. I'd suggest incorporating an additional sensor at the ejection point to facilitate this. If the box's height falls within the desired range, the system triggers the ejection. If the box does not meet the height requirements, the box could be rerouted or simply remain in the array until further checked. I'll definitely take a look at your code, thanks for sharing the link!

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.

You must be a registered user to add a comment. If you've already registered,
sign in. Otherwise, register and sign in.

Frequently Asked Questions (FAQ)

FAQ: 1. How does the system calculate the height of each box entering the transportation array?

Answer: - The system uses a sensor positioned at the beginning of the process to assess the height of each box as it enters the array.

FAQ: 2. How does the gear-mounted Sensor contribute to the box's path increment?

Answer: - The gear-mounted Sensor detects movement and adds a 2 cm increment to the box's path as it progresses through the system.

FAQ: 3. How can I access the SCL code for managing the box ejection process?

Answer: - The SCL code for effectively managing the box ejection process can be accessed at this link: https://file.io/bwFVMPRjjq4H

FAQ: 4. What feature is the system seeking to enhance in the code related to box ejection?

Answer: - The system aims to include a feature that verifies the height of the box awaiting ejection and triggers ejection 1 if the box meets the necessary height requirements.

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  →