Why was slavery never brought into the factory floor?

by CivilCupcake45

Slavery in western culture largely came to the end at the start of the industrial revolution, but slaves were mainly used in agriculture. Why were there not factories worked by slaves instead of freemen at this time? Especially in places like the Southern United States, but I'm also curious about colonies and South America.

Randvek

Short answer: they were! See a similar question, and links to several good answers, here