Drivers must not enter a level crossing if a train is on or entering the crossing, can be seen from the crossing or is sounding a warning and there would be danger of a collision with the train if the driver entered the crossing.
Drivers and pedestrian must not enter a crossing if warning lights (i.e. twin red lights) are flashing, or warning bells are ringing, or if the gate, boom or barrier is closed, closing or opening. This means you cannot enter a crossing after the boom gates have opened if the lights are still flashing or bells are ringing.
At level crossings where no gates, booms, bells or warning lights are installed, drivers must obey any other signs or line markings that are present. If there is a Stop sign then the driver is required to stop at the Stop line (or at the Stop sign if no line is present) and give way to any trains or trams on, approaching or entering the crossing.
If there is a Give Way sign or line, the driver is not required to stop, but still must give way.
Pedestrians should not cross at a level crossing if a pedestrian facility (i.e. footpath, bridge or other structure designed for the use of pedestrians) is available at or within 20 metres of the crossing.
Drivers must not enter the level crossing if they cannot drive through the crossing because the road beyond is blocked, and drivers must leave the crossing as soon as they can do so safely.
Drivers should also note that in Victoria, a bus at a passive sign controlled level crossing (i.e. without gates, booms, barriers or lights) must stop at a crossing, and where safe proceed across in a manner that avoids changing gear, until clear of the crossing.
For more information see the Victorian Road Safety Road Rules 2009 rules 120 to 124A.