Broadly speaking your description sounds like a purlin and rafter roof, the middle beam you refer to being the purlin.
There are some diagrams included in the enclosed url, if your roof design is similar to the diags then refer to the associated specs.
Otherwise, as masona suggests, could you...