The invention relates to a loading and unloading switching valve for a lorry-mounted crane. The loading and unloading switching valve for the lorry-mounted crane comprises a first overflowing valve, an electromagnetic switching valve, a second overflowing valve, an electric proportional flow valve, a pressure compensator and a throttling hole; the first overflowing valve is arranged between a quantifying
pump pressure port pipeline and an
oil tank pipeline; the quantifying
pump pressure port pipeline is connected with the electromagnetic switching valve through a P port; the
oil tank pipelineis connected with an
electromagnetic valve through a T port; the electromagnetic switching valve is connected with a loading multi-way valve through a B port; and the
electromagnetic valve is connected with an unloading supporting leg
control system through an A port. The loading and unloading switching valve for the lorry-mounted crane has the following advantages: 1, the loading and unloading switching valve for the lorry-mounted crane is simple to operate, a single switching valve is not needed, loading and unloading switching depends on
electric control, and error operation possibility isavoided; 2, each oil
path system is provided with an independent overflowing protecting valve, pressure setting is conducted according to respective needed pressure, and high-pressure
impact generatedby the supporting leg
system is effectively avoided; and 3, the supporting leg
control system adopts a load sensitive
proportional control mode, the flow is distributed according to requirements, theoperation micromotion property is high, and the
system is efficient in throttling.