(1)Every subordinate officer shall when on duty, except when ordered by a superior officer to go elsewhere or when going to or returning from duty confine himself to the limits of his beat or place of duty and remain thereat. Idleness and lounging about the jail promises are at all times prohibited.