Bridge crane PLC control design