fixed problems in Eoc dynamic + exception in reading port alarms