Skip to content

drbitboy/plc_rng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Random Number Generator (RNG) programs for Rockwell-Automation PLCs

This is an attempt, with much help from my brother and the plctalk.net website, to implement random number generator programs in RA/AB PLCs.

The code uses the Linear Congruential Generators (LCG) for uniform-distribution RNGs, and the Box-Muller Transform for gaussian-distribution RNGs.

The plc_programs/ sub-directory contains PLC programs implementing the algorithms.

The verify/ sub-directory contains programs, written in C, Python, or Fortran, to verify that the various algorithms used can be expected to produce, or have produced, correct results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published