Hello everyone,
I would greatly appreciate any assistance with the FX5 PLCs regarding the issues detailed below. Although I’m not sure how relevant it is, I wanted to provide specifications for my laptop and the software I am currently using:
- **Processor**: Intel i5-4300M
- **RAM**: 8GB
- **Operating System**: Windows 10
- **GX Works3 Version**: 1.032J
The first problem I’m encountering involves the Structured Text (ST) programming feature when utilizing the TON or TOF instructions. Here’s an example:
```plaintext
Consider implementing the fbMyTimer function with the parameters IN:= X001, PT:=t#5ms, Q=>Y000, and ET=>iElapsedTime. The Siemens S7-1200 PLC exhibits some unusual behaviors, as the timers are recalculated every time the Q or ET outputs are accessed. It's possible that the FX5 series PLCs could have similar issues.
Hello! Thank you for your prompt reply. Unfortunately, I didn't have much success with that suggestion. I'm also eager to hear if anyone can recommend additional websites or forums that might provide valuable answers to my questions. Thank you!
Have you experimented with various timer configurations? When you set a timer with a duration of 1 minute and monitor the timer's instance, does the elapsed time (.ET) progress as anticipated, or is it lagging? If I’m interpreting your concern correctly, you're indicating that a timer designed for 5 milliseconds actually takes 5 seconds to complete. Is the output (.Q) not accurate until after the full 5 seconds, or is it the representation of the elapsed time (.ET) that seems to be malfunctioning?
When I input values other than "ms" in the PLC, it triggers an error. However, I can successfully enter intervals like 500ms or 50000ms. These values function similarly to the 5ms mentioned in the original discussion. The timing appears to progress in slow motion, and once the set duration has passed, the output .Q becomes true.
Hey Christoph, it sounds like you're having quite a time with those PLCs! Regarding the timing issue with the TON instruction, it might be helpful to check the configuration of your time units in the GX Works3 settings, as sometimes the context settings can lead to unexpected behavior—especially if the timer expects time values in different formats. For the Modbus communication with the Omron MX2 inverter, I’d recommend starting with some online tutorials or forums dedicated to Modbus; they often provide great examples and can help demystify the initial setup. Also, for Mitsubishi-specific training, I’ve come across some courses offered on platforms like Udemy or even Mitsubishi's own training resources which might be worthwhile. Good luck, and I hope you get everything sorted out soon!
Hi Christoph, I can definitely relate to your frustrations with the timing issues on the FX5 PLC and ST programming! It sounds like a classic resolution problem—sometimes, ST and LD can behave quite differently due to how the execution contexts are handled. A potential workaround could be to check if the timer is being reset elsewhere in your code or if there are any unintended blockages in the scan cycle affecting its operation. Also, regarding the Modbus communication with the Omron MX2 inverter, I'd recommend starting with the basics of Modbus TCP/IP or RTU. The manual you shared is a great resource; pairing that with online platforms like YouTube can give you some hands-on examples. As for Mitsubishi PLC training, I found that there are some online courses via platforms like Udemy or the Mitsubishi Electric website that could really boost your skills. Hope this helps, and good luck!
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.