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 May 25th, 2010, 05:43 AM   #1
jimcav
Member
United States

jimcav is offline
 
Join Date: Dec 2004
Location: new jersey
Posts: 148
time base control logic

S:4/1 what is this in control logic?

Thanks
  Reply With Quote
Old May 25th, 2010, 06:25 AM   #2
bernie_carlton
Lifetime Supporting Member + Moderator
United States

bernie_carlton is online now
 
bernie_carlton's Avatar
 
Join Date: Apr 2002
Location: Yakima, Washington
Posts: 4,597
Specify the system you are referring to. I suppose you are referring to a free running clock bit but different AB systems have a different time base.
__________________
Controlling outputs is the PLC's way of getting its inputs to change.

www.thePLCguy.com
  Reply With Quote
Old May 25th, 2010, 07:01 AM   #3
Ron Beaufort
Lifetime Supporting Member
United States

Ron Beaufort is offline
 
Ron Beaufort's Avatar
 
Join Date: Jul 2002
Location: Charleston, SC
Posts: 4,227
Bernie,

I think when he said "control logic" he meant to say "ControlLogix" ... if so, the picture below might give some basic ideas ...

note that since the ControlLogix "CurrentValue" increments in micro-seconds you'll have to play around to select a useful bit number ... (the bit "1" mentioned in the original question is probably going to be toggling WAY too fast) ...

secret handshake: the S:4 "Free Running Clock" available in RSLogix500 isn't built-in with RSLogix5000 ... you have to use a GSV instruction to retrieve the data - store the data in an appropriate set of tags - and then you can use the data in your program ...

if this "CurrentValue" data location doesn't meet your needs, give us more details about what you're trying to accomplish ... the GSV can access other data too ... and to be honest, if you just want to toggle a bit on and off, a "home brew" free running timer rung might be easier to set up in the long run ...
Attached Images
File Type: jpg GSV_flasher.JPG (36.2 KB, 131 views)
__________________

2-B ?
Best regards, ----+----] [----+------------( )----
Ron | |
PLC Training Boot Camp | 2-B |
+----]/[----+

I once was lost, but now am found, was blind, but now I see.


Last edited by Ron Beaufort; May 25th, 2010 at 07:29 AM.
  Reply With Quote
Old May 25th, 2010, 11:34 AM   #4
TConnolly
Lifetime Supporting Member
United States

TConnolly is offline
 
TConnolly's Avatar
 
Join Date: Apr 2005
Location: Salt Lake City
Posts: 5,415
In addition to using WALLCLOCK time as Ron mentioned, you can also create your own free running timer in RSLogix5000 by just creating an unconditional timer and using the .ACC bits of the timer. Never reset this timer, it will never reach its preset.


Free_Running_Clock.30
--------(OTU)-----------------+-TON---------------------+-(EN)
|Timer Free_Running_Clock +-(DN)
|PRE 2000000000|
|ACC 0|
+-------------------------+




Unconditionally unlatch Free_Running_Clock.ACC.30 so that the timer will never time out. It will count to 1073741.824 seconds and then start over.

Now you can access each bit in the ACC word, with each bit behaving similar to the S:4, except now you have 29 bits available for use instead of 16.

The bit on time is 2Y milliseconds where Y is the bit number 0-29. The duty cycle is 2 times the bit on time, just like in S:4.

Free_Running_Timer.ACC.0 = 1mS (2mS duty cycle)
Free_Running_Timer.ACC.1 = 2mS
Free_Running_Timer.ACC.2 = 4ms
etc.
__________________
True craftsmanship is only one more power tool away.

That's the beauty of processors, they don't have emotions they just run code - The PLC Kid.
  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
Duty Standby Logic and controls for Chillers and Pumps. abdulsattarmd LIVE PLC Questions And Answers 7 September 12th, 2009 03:21 AM
Control Logix Controller Scan time ss4884 LIVE PLC Questions And Answers 5 April 9th, 2009 12:25 PM
AB Control Logic Motion Time Cam MATC Time Units Peter Laing LIVE PLC Questions And Answers 3 April 21st, 2007 05:31 AM
Error Control Logic through Indirect Addressing JonSaundersTechEE LIVE PLC Questions And Answers 10 January 4th, 2005 09:52 AM
frequency output LIVE PLC Questions And Answers 17 August 13th, 2002 07:05 AM


All times are GMT -5. The time now is 04:14 PM.


.