What you need in the Sony KDL-52W40xx user guide, from setup to troubleshooting.
The Manual Box lists the Sony KDL-52W40xx as a flat panel TV, in the video equipment section. This page has four manuals for the KDL-52W40xx.
The usual flat panel TV manual walks through use, troubleshooting, setup and maintenance. Need another Sony model? The Manual Box lists 91 other models of the same type, with some of them further down.