Random Numbers

HowStuffWorks has an article that explains this very well.
The numbers you get from a machine are not truly random.
They are called pseudo-random numbers.
Alaric posted some code written for an Allen Bradley Micrologix PLC.
It generates a random output based on the free running clock. Here's the PDF Version.(17.5 KB)