Being exhaustive with the 3940, introduced in 1985, is almost impossible because of the 3 different series (1985, 1987, 1995): for a comprehensive approach, check, for example,
Collecting the 3940 on Twain Time.
The 5140 was introduced in 2006 as a modern update to the 3940.
I decided to put the Roman numerals variants of the 3940 at the end, together with the 5038G.
Enjoy!
3940

3940J (Credit: windvintage.com)

3940J with doré dial (credit: hairspring.com)
Beyer 3940J (credit: hairspring.com)

3940R (Credit: windvintage.com)
3940R Piece Unique ‘Michael Steven Ovitz’ (credit: hairspring.com)

3940G (credit: acollectedman.com)

3940G-029 (credit: hairspring.com)

3940P (credit: windvintage.com)

3940P-027 (credit: hairspring.com)
5140 
5140J (credit: Amsterdam Vintage Watches)

5140R-011 (credit: Wind Vintage)

5140R-001 (credit: Amsterdam Vintage Watches)
5140G-001 (credit: WeWatches)

5140P-001 (credit: Mr Watchley)

5140P-017 (credit: The Keystone Watches)

5140P-013 (credit: The Keystone Watches)

5140G-011 (credit: europeanwatchco sur IG)
3940 Roman numerals 
3940J with Roman numerals (credit: The Keystone Watches)

Caliber 240 Q (credit: The Keystone Watches)

3940R with Roman numerals (credit: Sotheby's)

3940G-025 (credit: everywatch)

3940P-015 (credit: Michael Ashton)
5038G

5038G (credit: collectability)