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.

New Here? Please read this important info!!!


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

Reply
 
Thread Tools Display Modes
Old July 30th, 2020, 12:19 PM   #61
padees
Member
United States

padees is offline
 
padees's Avatar
 
Join Date: Aug 2011
Location: Michigan
Posts: 653
My random number generator has been writing numbers on a small piece of paper, then tossing into a hat that gets shook up a bit.


Seems to work. LOL
  Reply With Quote
Old July 30th, 2020, 12:39 PM   #62
drbitboy
Lifetime Supporting Member
United States

drbitboy is offline
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 1,257
Quote:
Originally Posted by padees View Post
My random number generator has been writing numbers on a small piece of paper, then tossing into a hat that gets shook up a bit.


Seems to work. LOL



For a PLC you could do that once for say 32 numbers, and put them in a circular FIFO, and I'll bet no one would care.
  Reply With Quote
Old July 30th, 2020, 01:51 PM   #63
I_Automation
Member
United States

I_Automation is offline
 
I_Automation's Avatar
 
Join Date: Jun 2020
Location: Detroit, Michigan USA
Posts: 165
Quote:
Originally Posted by drbitboy View Post
For a PLC you could do that once for say 32 numbers, and put them in a circular FIFO, and I'll bet no one would care.
I do that for my house security lights on a 5/05.

An array of numbers for the minute, I put only numbers ending in 3 for one light and 7 for another light. (E.G. - 3, 13, 23, 33, 43, 53) I followed 2 rules - no number can be less than 20 from the day earlier, and no number can have been used for the last 2 days.

The lights don't turn on or off at :00, :15, :30 or :45, and don't turn at the same time daily, so they don't look like they are controlled.

I do change the ON hour throughout the year based on the average sunset time in Detroit.

I also have a security light in my bathroom that comes on randomly through the night for random lengths of time using the same array format. (I would rather have the neighbors think I have to get up every couple hours than think the house is empty)
  Reply With Quote
Old July 30th, 2020, 04:42 PM   #64
rQx
Member
Sweden

rQx is offline
 
Join Date: Oct 2010
Location: Trelleborg
Posts: 827
The siemens LOGO have a random generator, we could just ask them
  Reply With Quote
Old July 31st, 2020, 02:11 PM   #65
Elcan
Lifetime Supporting Member
United States

Elcan is offline
 
Join Date: Apr 2008
Location: NC
Posts: 873
Quote:
Originally Posted by I_Automation View Post
I do that for my house security lights on a 5/05.

An array of numbers for the minute, I put only numbers ending in 3 for one light and 7 for another light. (E.G. - 3, 13, 23, 33, 43, 53) I followed 2 rules - no number can be less than 20 from the day earlier, and no number can have been used for the last 2 days.

The lights don't turn on or off at :00, :15, :30 or :45, and don't turn at the same time daily, so they don't look like they are controlled.

I do change the ON hour throughout the year based on the average sunset time in Detroit.

I also have a security light in my bathroom that comes on randomly through the night for random lengths of time using the same array format. (I would rather have the neighbors think I have to get up every couple hours than think the house is empty)
I hope the bad guys in your area are not reading this. LOL
  Reply With Quote
Old July 31st, 2020, 02:19 PM   #66
drbitboy
Lifetime Supporting Member
United States

drbitboy is offline
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 1,257
Quote:
Originally Posted by Elcan View Post
I hope the bad guys in your area are not reading this. LOL

Yeah, more generally I always cringe when posts here start with "My boss said ..."
  Reply With Quote
Old July 31st, 2020, 02:29 PM   #67
I_Automation
Member
United States

I_Automation is offline
 
I_Automation's Avatar
 
Join Date: Jun 2020
Location: Detroit, Michigan USA
Posts: 165
Quote:
Originally Posted by Elcan View Post
I hope the bad guys in your area are not reading this. LOL
The people in my neighborhood mostly don't fall into the category of being classified as able to be 'reading', let alone even know how to spell PLC.

But, the lights are just for the looks - I have my own very complete security system being run by that 5/05 and 2 other 5/03's

Plus, my 'little puppy' weight 130 pounds and could take me down if I let him know he could.
  Reply With Quote
Old July 31st, 2020, 02:50 PM   #68
geniusintraining
Lifetime Supporting Member + Moderator
United States

geniusintraining is offline
 
geniusintraining's Avatar
 
Join Date: Jun 2005
Location: SC
Posts: 7,010
Quote:
Originally Posted by I_Automation View Post
The people in my neighborhood mostly don't fall into the category of being classified as able to be 'reading', let alone even know how to spell PLC.
Now thats funny....

From your signature "Location: Detroit, Michigan" I cant say much, thats where I was born
__________________
www.PLCCable.com PLC Communication Cables, PLC Trainers, MicroLogix, ControlLogix, Siemens, Allen Bradley and more...OEM and aftermarket supplies... Aftermarket 1784-U2DHP Allen Bradley USB to DH+, new USB to 485 modbus
  Reply With Quote
Old August 1st, 2020, 09:37 PM   #69
Contr_Conn
Member
United States

Contr_Conn is offline
 
Contr_Conn's Avatar
 
Join Date: Sep 2003
Location: Ohio
Posts: 2,177
I was ignoring this 16+ year old thread but somehow I opened it today to realize that I have started it Don’t even remember why I needed it that time... I can only say that it was posted during my second week with my current employer.
Funny - I did no touch PLC5s for many years, but last two weeks was actually writing some Logix AOIs to talk to these.
  Reply With Quote
Old August 2nd, 2020, 04:08 AM   #70
drbitboy
Lifetime Supporting Member
United States

drbitboy is offline
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 1,257
Night of the Living Thread
  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
Allen Bradley 1761-NET-ENI Jezz LIVE PLC Questions And Answers 11 August 17th, 2007 08:56 PM
S7-416-2 DP Fault - SFB20 sparky64 LIVE PLC Questions And Answers 8 July 30th, 2004 03:48 AM
Philosophical Illusion? Terry Woods LIVE PLC Questions And Answers 71 June 28th, 2004 08:41 AM
"Random" number generation ajbachhuber LIVE PLC Questions And Answers 9 September 10th, 2003 09:41 PM


All times are GMT -4. The time now is 03:33 PM.


.