simple 5w is cold weight. The flow will be much better at start up with a 5 weight oil. 40 is the weight of the oil at operating temp. the 5w-40 is better for start up flow and still protects like a 15-40 at warm temps. Really 5-40 is an all climate oil for diesels
Hope this helps