Looking to set up a countdown timer display in RSLogix 500 to show remaining time before the timer is finished? It's a breeze - just subtract the ACC value from the Preset. But what about doing the same in Connected Components? I attempted using the MicroLogix to Micro800 Converter, which generates multiple variables. While I think it will do the job, I'm wondering if there's a more straightforward approach available.
What issues are you seeking to simplify? The RA_TON_MICROLOGIX function block serves as a wrapper for the TON block, making it possible to convert constant millisecond presets to DINT from the TIME data types employed by the TON block. This conversion process helps streamline programming and eliminate unnecessary complexity in your PLC code.
I've found that, in the Connected Components environment, you can accomplish displaying a countdown timer by utilizing the TON (Timer On Delay) instruction. This flawlessly keeps track of elapsed time, and by subtracting the .ACC (accumulated) value from the .PRE (preset), you can easily display the remaining time. It's slightly different from RSLogix 500, but once you understand this, it should work pretty smoothly for you. No need to rely heavily on the MicroLogix to Micro800 Converter for this task!
Great question! While the MicroLogix to Micro800 Converter is a solid option for migrating your timer logic, an easier method in Connected Components Workbench would be to simply create a new variable to calculate the remaining time directly. Instead of converting old timer values, you can just take the Preset value of your timer and subtract the current value of the ACC from it using a simple expression in your logic. This way, you can set up your countdown timer display without the extra complexity of multiple variables. Just make sure to update the display periodically for real-time accuracy!
It sounds like you're on the right track with the converter, but if you’re looking for a simpler method in Connected Components Workbench, consider using the "TO" instruction to update a display variable directly from your timer’s ACC and PRE value. This can help you dynamically calculate the remaining time without diving into multiple variables. Just make sure your display updates at an appropriate interval to reflect the countdown accurately!
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Answer: - In Connected Components, you can achieve a countdown timer display by subtracting the Accumulator (ACC) value from the Preset value. This will show the remaining time before the timer is finished.
Answer: - The recommended method is to use the MicroLogix to Micro800 Converter, which generates multiple variables. By utilizing this converter, you can simplify the process of creating a countdown timer display.
Answer: - While using the MicroLogix to Micro800 Converter is effective, you can explore other options to potentially find a more straightforward approach. Consider experimenting with different configurations or consulting the Connected Components documentation for additional insights.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.