The main frame of a pre-engineered building (PEB) is made up of columns and rafters, which are the primary load-bearing members of the building.