Optimizing Speed Control Logic for Filling Machine: Omron CJ2M CPU34 Instruction Assistance

Question:

Hello everyone, I am currently working on modifying the speed control logic for a filling machine using an OMRON CJ2M CPU34 processor. The speed adjustments are based on air pressure, cylinder speed, and index wheel speed. I have identified where the production rate is calculated and have determined the necessary modifications. I am attempting to utilize a one-shot rising command to activate the speed reduction function, but I am unable to locate the specific one-shot command. Upon further investigation, I have come across an instruction within a KEEP(011) instruction that appears to be a latch instruction with a reset feature. This instruction seems to trigger on the rising edge of the keep output and remains active until the instruction is reset. If this indeed functions as a one-shot rising instruction, I am wondering if I can use multiple instances of this instruction as shown in the provided picture. How can I incorporate this command into the logic to ensure it can be used in other programs? I have experimented with several approaches already, but I am open to any guidance or suggestions. Thank you in advance for any assistance. Is it possible to directly input the instruction instead of using copy and paste? I am keen on learning how to locate and integrate the command within the software without resorting to copy and paste methods.

Top Replies

To enhance your programming, right-click on the contact and select "Differentiate > Up." Repeat this step as needed. Another option is the UP(521) instruction, which can be inserted directly after the contact to immediately impact the following output or other logic. The traditional DIFU(13) instructions are still effective. Simply program it as an output instruction and utilize the output address as a contact in your desired locations.

I appreciate your help in finding the UP(521) instruction. I want to maintain the program's current format, so if I apply this instruction to an output, will it create a one shot rising with that output? Your guidance is greatly appreciated. - James

James Mcquade inquired whether using an output to create a one shot rising signal is a valid option. The answer is yes, it is indeed a valid method.

To obtain an output, utilize the DIFU function (Differentiate up) in your analysis.

When it comes to the output, these three rungs are essentially the same. Your decision on which method to use will be influenced by whether you are dealing with series or parallel conditions. If I have queries regarding the functioning of one-shots in a complex circuit, I usually develop a small program and test it using a simulator (offline from the actual PLC). This allows me to easily monitor the outputs step by step. The simulator in CX Programmer is user-friendly and efficient.

From the sound of it, you're definitely on the right track! I believe the instruction you found within the KEEP(011) clause can indeed serve as a one-shot rising function. As long as the reset function is engaged properly, this instruction should be able to serve your purpose and provide the functionality you desire. The beauty of these PLC systems is their flexibility to accept multiple instances of a wide variety of commands including the latch instruction with a reset feature you've identified. As for reusing your logic in other programs, your integration approach will vary depending on the specifics of those programs. Directly inputting the instruction instead of copying and pasting will definitely give you a more in-depth understanding of the system and will probably make future troubleshooting and modifications easier, though it may be more time-consuming initially. Keep exploring and testing, and best of luck with your project!

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. What is the purpose of the one-shot rising command in the speed control logic for the filling machine?

Answer: - The one-shot rising command is used to activate the speed reduction function based on specific triggers like air pressure, cylinder speed, and index wheel speed.

FAQ: 2. How does the KEEP(011) instruction function in the OMRON CJ2M CPU34 processor?

Answer: - The KEEP(011) instruction acts as a latch instruction with a reset feature, triggering on the rising edge of the keep output and remaining active until reset.

FAQ: 3. Can multiple instances of the KEEP(011) instruction be used in the speed control logic?

Answer: - Yes, multiple instances of the KEEP(011) instruction can be utilized in the logic to handle different conditions or triggers for speed adjustments.

FAQ: 4. How can the KEEP(011) instruction be incorporated into the logic to ensure it can be used in other programs?

Answer: - The instruction can be integrated into the logic by properly structuring the program and ensuring it can be called or accessed by other parts of the software.

FAQ: 5. Is it possible to directly input the KEEP(011) instruction instead of using copy and paste methods?

Answer: - Yes, it is possible to input the KEEP(011) instruction directly by locating and integrating it within the software without relying on copy and paste techniques.

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