Program commmunication between remote I-O and controller via remote connection program object