From your payslip add all your pension related deductions (whatever way it is set out) - main superann scheme, survivor pension, USC. Calculate what percentage this is of your gross pensionable pay on your payslip for the same period. Subtract this percentage figure from your age related percentage limit.
As I understood it, the ASC is treated exactly like the PRD in that it is not included in the age-related tax relief limits for pension contributions