My first big PLC job was to rewrite a program from scratch that didn't perform well. It was a program designed to position about 20 motors on a production line running 24/7/365.
I made a new program making it more efficient than the old version. Then I optimized it even further by checking the execution time of every instruction in microseconds and choosing the absolute fastest way of doing things. In the end the scan time was only 1/5 of the original program and the performance was much improved.
Obviously the customer was very pleased. So pleased that I've kept doing jobs for them and still am today.
That was 27 years ago and the program I wrote is still running.
I made a new program making it more efficient than the old version. Then I optimized it even further by checking the execution time of every instruction in microseconds and choosing the absolute fastest way of doing things. In the end the scan time was only 1/5 of the original program and the performance was much improved.
Obviously the customer was very pleased. So pleased that I've kept doing jobs for them and still am today.
That was 27 years ago and the program I wrote is still running.