2560 total current draw

I'm planning on using a 2560mega to manage a control panel for a machine tool, which will have multiple
indicators. I want to use high-intensity LEDs, which draw 30-50 ma each. The spec sheet says 40 ma max per output pin, but I've seen nothing about total current draw allowable for the chip - essentially, how many simultaneous LEDs can I light up at one time, assuming 30 ma each?

Relatedly, I will need a small amount of 5V power for other peripherals; how much current can the 2560 on-board regulator supply?

Thanks

ldw

the best to do is to use anotoher external source of power (like computer psu) and use it to draw the current.

At this point arduino will juste be used to drive your components.

but I've seen nothing about total current draw allowable for the chip

Well it's in the data sheet.
The answer is 200mA.

The regulator is only good for 500-800mA.

how much current can the 2560 on-board regulator supply?

There is also a heat issue so it depends on the input voltage:-
http://www.thebox.myzen.co.uk/Tutorial/Power_Examples.html