Electrical Code…
Where this Code (NEC) specifies that one equipment shall be “in sight from”, “within sight from”, or “within sight of”, and so forth, another equipment, the specified equipment is to be visible and not more than 15 m (50 ft) distant from the other.
(National Electrical Code® 100-1)