> if the day is greater than or equal to 21, and
> if the month is greater than or equal to 11, and
> if the year is greater than or equal to 2021
> then report a compressor failure.
> if the day is greater than or equal to 21, and
> if the month is greater than or equal to 11, and
> if the year is greater than or equal to 2021
> then report a compressor failure.
(but it's probably just shady business.)
I had a recently "senior" dev give me a SQL query with similar where clause, when asked to query data after Sept 1, 2022 (where moy >= 9 and dom => 1 and year => 2022)
(with apologies to Alan Kay who coined the original saying)
woke: this part will be reported as broken during the last week of november and december, 2022 ONLY.
PLCs are basically environments designed for mere technicians being able to adjust code in very clear concise fashion. It can be way more verbose, but the logic is clear and solid for decades of operation.
It doesn't require reading an api documentation on version X of a library downloaded from NPM 15 years ago nor rebuilding an entire project to the latest dependencies.