How to Use Free Running TON Programming and Reset Functionality with a Micro830 PLC

Question:

I am looking to incorporate free running TON programming with a reset functionality using a done bit on a Micro830 PLC. However, I am unable to find any reference to a done bit in the drop-down menus or the instruction manual. Additionally, I am facing difficulty in adding the Pt value to the data points for the TON instruction. Can someone please provide some guidance on how to successfully add and retain the Pt value? Thank you in advance for your assistance!

Top Replies

The Micro800 timers will automatically reset when a falling edge input condition is detected. I attempted to input the Pt value but encountered difficulties in its retention or acceptance. Ensure that you are utilizing the proper format for the TIME data type. Refer to the CCW help manual and look up information on TON to understand the correct data type format. A program file has been attached that may assist you in achieving your goal.

I appreciate the recommendation and will definitely look into it!

I have encountered another issue while working on my ladder project. After creating a few arrays and incorporating them into my code, I noticed that the tag box is displaying a yellow caution symbol indicating an undefined variable. How can I properly define these variables to resolve this issue?

I discovered that I was using the incorrect type of bracket - {} instead of [].

It seems like you're trying to incorporate critical aspects of your PLC program but you're encountering some challenges. For the done bit, often the completion of a task or end of a process is indicated by the status of a particular output. It may not be specifically in the drop-down menu or instruction manual, but you can configure that on your own using status bits according to your programming requirement. As for the Pt value, it's usually set as a constant when the TON instruction is called. You can do this in the configuration window of the TON instruction. If you're hoping to change it regularly, consider using a Memory Real data type instead, but make sure you're handling the range correctly to avoid overflow. Hope this helps!

In my experience working with Micro830 PLCs, there isn't explicitly a "done bit" as you might be accustomed to seeing in some other PLC models. Instead, you could consider using the TT (Timer Timing) function to execute similar functions. As for the Pt value for the TON instruction, make sure you've selected the right format for input. Usually it's more acceptable to add the time as milliseconds (ms) rather than seconds. The PLC will hold the Pt value across power cycles as long as it's a stored value in a data file and not a continuously calculated or real-time value. Don't forget to consider all the safety precautions and backup procedures when you're doing this. Hope this helps!

It appears like you're encountering a couple of issues, so let's tackle them one at a time. For the done bit, make sure to check again whether the software version you're using supports this feature. Older versions might not have it. As for the Pt value issue, usually, this can be added directly in the data block, assuming it's the preset time you're referring to. If you right click on your TON clock, there should be an option to "Add New Data Type" where you can input the Pt value and set your timers. Remember that the PLC will automatically retain these values unless they are manually reset or overwritten. Make sure to troubleshoot with these suggestions and let us know if you need any more assistance!

You're right in noting that Micro830 PLC doesn't directly use a done bit in the TON timer instructions like some other PLCs. For the Pt value, ensure you're using an integral constant or a variable of type TIME. My approach for the functionality you're asking would involve setting up a one-shot operation that triggers when the TON timer is done. This one-shot would then set a bit that we could use in place of traditional done bit functionality. Remember, it's all about how it's programmed. You could use this bit as your "done" signal and use to trigger a reset. Hope this helps guide you in the right direction.

It sounds like you're diving into some interesting programming with the Micro830! For the reset functionality with the TON instruction, you might not see a "done bit" explicitly listed in the dropdowns, but you can create a workaround by leveraging the "Enable" bit of the TON timer in conjunction with a separate bit or latch to track when the timer is done. As for adding and retaining the Pt value, make sure you're using a data type that allows for that value to be stored correctly—typically an INT or DINT should work. You could also consider using a separate tag to hold the Pt value and make sure to update it as needed. If you run into a specific issue when setting it up, feel free to share your code snippets for more targeted help!

It sounds like you're diving into an interesting project with the Micro830! For the done bit, the Micro830's implementation of the TON timer doesn't explicitly show a done bit in the drop-down menus, but you can usually find a way to reference the timer's status using the associated memory locations (like the timer's "DN" or done status bit). As for adding the PT value, make sure you're using a numeric data type that supports the TON instruction, and check if you're entering the value in the correct format. Sometimes, it helps to view the timer setup in a structured text format to see if any parameters are being overlooked. If issues persist, sharing your code snippets might lead to more specific advice! Good luck!

It sounds like you're facing a couple of common hurdles with the Micro830 and the TON instruction! While the done bit isn't explicitly listed in the dropdown menus, you can usually track it by using the "DN" bit that becomes true when the timer finishes. To maintain the Pt value, make sure you're storing it in a separate memory location or a tag so it’s not lost on program cycles. You might also want to create a simple logic check that ensures the timer resets only when you want to, so you can effectively control your process. If you haven't already, consider checking the Rockwell forums or tech support for more specific examples—they can be really helpful!

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: FAQs:

Answer: 1. How can I incorporate free running TON programming with a reset functionality using a Micro830 PLC? - To incorporate free running TON programming with a reset functionality on a Micro830 PLC, you can use a done bit. However, if you are unable to find the done bit in the drop-down menus or the instruction manual, you may need to check the specific programming environment or consult the PLC's documentation for further guidance.

FAQ: 2. How can I add and retain the Pt value for the TON instruction in my programming?

Answer: - Adding and retaining the Pt value for the TON instruction in your programming can be achieved by correctly setting and manipulating the data points associated with the TON instruction. If you are facing difficulties in this process, it may be helpful to review the programming guidelines provided by the manufacturer or seek assistance from online forums or support resources.

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