Mainframes are terminals within the complexes that control the building's energy. You need the specific access card for each complex to be able to access every Mainframe.