The city's speed camera program will be up and running in time for the beginning of the school year.

The Department of Transportation says it has reached its goal of installing speed cameras at 140 school zones throughout the city as students return to school.

The agency says 100 fixed cameras and 40 mobile cameras will be activated.

Only 20 had been installed at the start of the last school year.

City officials insist the main purpose of the cameras is to deter speeding - not to raise revenue. 

"Speed cameras located near schools around the five boroughs will deter speeding and protect children as they travel to and from school every day. There's also a citywide deterent effect. Speed cameras encourage drivers to slow down all over the city and so there's a benefit for all of us," said city DOT Commissioner Polly Trottenberg.

"Our officers will be looking for individuals who are not paying attention and who are speeding, and we'll be talking to those individuals as our children go back to school," said NYPD Transportation Chief Thomas Chan.

The citywide speed limit is 25 miles per hour, unless otherwise posted.

In some schools zones, that speed limit is reduced.

The DOT says the city has issued more than 500,000 speed camera violations so far this year.