There is an old gate at the facility that I work for that can only be used if you press the open and close button inside the control box where the motor and controls are housed. I am thinking of trying to write a plc program so that it is more user friendly than it currently is. There is currenty an old board in it that functions somewhat. I mention that because if I put a cpu in its place would it stand up to the elements (it will not be exposed directly to heat etc, but those conditions will surround it)? Any suggestions on writing the program? Thanks in advance. And I know my company wouldn't be interested in replacing it which is why I am thinking of doing this....