I see, Sir what about this . What is the purpose of the 2ft. minimum distance of ground rod to foundation wall? i have a situation below and I don't know what to consider when measuring the 2ft. distance. Is it from the foundation or from the footing. kindly see below image for your reference. hope you can help me out Sir. thank you.Since that is covered by a different set of codes from the NEC, you may or may not find someone here to answer that.