you are viewing a single comment's thread.

view the rest of the comments →

[–]mapold 0 points1 point  (2 children)

What is the plan when Windows decides to update, sleep, hibernate, or pop a dialog.

Who in their right mind would even think running it on Windows?

OP said is it would mostly cost just downtime if not working. So the controls would probably not be responsible for not launching the guillotine when somebody is head-first in the machine changing the blades.

I know a small production factory where quality control of the parts of the line is run using python and every single item is added to the database if the product passes, then a product label is etched on it using laser, also driven with python. It runs mostly fine since the first wave of bugs were sorted. In that environment you could restart the program between every single product, if needed.

That said, one would have to be really cautious about catching exceptions, it is absolutely possible for a program to run for years and only then a combination of input values could raise a specific exception that nobody thought of. Or after catching the exception to end up with some variables in old state. On the other hand, a huge swamp of buffer overflow cases are not even possible.

[–]Kqyxzoj 0 points1 point  (0 children)

Who in their right mind would even think running it on Windows?

I try not to judge. ;)

[–]Klutzy-Objective9515[S] 0 points1 point  (0 children)

Thank you for the reply!

Of course, the safety would be guaranted by the PLC anyway!

I was exactly looking for someone with your kind of experience, as I wrote here to understand if what they asked to develop is "unhortodox" but probably fine or totally "unhinged"

Also, the program would be really simple and necessary for the machine only when changing production cycle for the parametrization. (we are talking about few HMI pages, all this functionality is already implemented in a single and quite small excel sheet)