Double check that. That varies by brand.15 40 is a lot different than 5 30.
I agree with Chris, if you NEED to it would be better than running out of oil. Running the correct oil is important. Not to mention that 15 40 is a "C" designation for compression ignition and your 5 30 is a "S" designation for spark ignition. One is for diesels and one is for gas engines.