apparently, the good style when programming PLC’s or even microcontrollers, is to not write to the ports directly from different functions, but set flags, then have only one function, which looks at the flags and sets ports.
i’ve seen the schneider’s development environment, and apparently you cannot copy the code, let’s say to compare (diff) it in the third party tool. you do everything in one, sluggish, big, slow IDE, not only the code development, but also you write to the device, you read from the device, you configure connection settings, everything.
just the opposite of unix philosophy - do everything, and do it bad.
i guess that’s because most of the developers who use schneider products are electrical engineers, otherwise if they would be programmers, then by being acquainted with the cool development tools and culture, they would not tolerate such a product.
#schneider #plc #programming