just remember who is going to maintain the machine, maintenance. keep the programming straight forward so that they can understand the logic. ask them what they are used to and how they would do it.
REMEMBER!!!!!
if maintenance can't understand the logic, the machine won't get fixed, production suffers, your boss gets yelled at and you in turn not only get yelled at, but baby sit the machine 24/7 or until you rewrite the code so maintenance can fix the problems. by that time,,,, I think you get the picture.
regards,
james
From a maintenance person - GREAT ADVICE. Last year our department spent $50 000 getting one of our programs completely re-written, because it was such a disaster that even our own engineers couldn't follow it. Nothing worse than trying to fault find an incomprehensible program on a broken machine at 3 in the morning.