Expandable safety controller with 26 input terminals