Commuters have been warned to prepare for delays amid a bitter dispute between the rail union and the NSW government.