Bleach plant computer control: design, implementation, and field experience. I: Control system hardware and software