You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old December 10th, 2005, 06:52 PM   #1
seat14
Lifetime Supporting Member
United States

seat14 is offline
 
Join Date: Dec 2005
Location: Seattle
Posts: 6
PLC 5/04 random number generator

Does anyone know how to program a random number generator in a plc 5/04?

I need to randomly pick 65 packages out of 195.

Then out of each 65 packages; I need to randomly pick 5 of the 75 in each of the packages.

Can anyone help?
  Reply With Quote
Old December 10th, 2005, 07:12 PM   #2
BobB
Lifetime Supporting Member
Australia

BobB is offline
 
BobB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 4,350
Here is a link to a preety flash one for an Omron CJ or CS series PLC. You may be able to port it.

If you require something simpler, I can help but it would also be for Omron but you could port it across.

http://forum.mrplc.com/index.php?act...CODE=02&id=161
__________________
The Old Pfhaart

  Reply With Quote
Old December 11th, 2005, 12:29 AM   #3
TConnolly
Lifetime Supporting Member
United States

TConnolly is offline
 
TConnolly's Avatar
 
Join Date: Apr 2005
Location: Salt Lake City
Posts: 6,151
Do a search on the word random on this site. This has been addressed before. There are several ways to do it.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
S7 Random Number Generator RRobbins LIVE PLC Questions And Answers 14 July 8th, 2016 08:36 AM
PC to PLC Protocol TheRixta LIVE PLC Questions And Answers 13 December 17th, 2008 01:56 PM
PLC pulse generator tibko79 LIVE PLC Questions And Answers 4 June 2nd, 2005 10:01 AM
PLC to Excel communications AJZ LIVE PLC Questions And Answers 3 April 28th, 2005 11:32 AM
Not PLC Related, but Programming Related Andrew Evenson LIVE PLC Questions And Answers 2 June 25th, 2002 10:13 AM


All times are GMT -5. The time now is 05:55 PM.


.