What is the maximum distance from which I can measurement temperature with an infrared thermometer?

This is a function of the optics in your thermometer. Use the distance-to-sight ratio and the diameter of your target to determine the maximum distance you can be from the target. Most IR thermometers have a maximum measuring distance of approximately 100 feet (30 meters), depending on environmental conditions.