Wow you have a super sized mixer! Post a picture of that bad boy! 40 qt yea you should be able to do 3 gallons or more. I stop severy times and wipe the under side of the head off to limit the moisture dripping back into the sugar.
Keep boiling!
Regards,
Chris