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 January 21st, 2009, 10:36 AM   #1
tacm
Member
United States

tacm is offline
 
tacm's Avatar
 
Join Date: Jan 2008
Location: usa
Posts: 105
Momentary output energize rs 500

I have a problem with a line of code I am trying. I have an output i need to energize for two seconds and then drop out, although the input that is associated with the output will remain true. I was able to acive this with the code I wrote, however on the next scan the output went high again. I am sure there is a simple way to do this, however everything I have come up with is complcated. I am using RSlogix 500 with a micrologix 1000. Any ideas would be great. I am sorry, I cannot post the code I have written so far as I am not at the office.

Thanx
__________________
"The sole end for which mankind are warranted, individually or collectively, in interfering with the liberty of action of any of their number, is self-protection. That the only purpose for which power can be rightfully exercised over any member of a civilized community, against his will, is to prevent harm to others. His own good, either physical or moral, is not a sufficient warrant." John Stuart Mill
  Reply With Quote
Old January 21st, 2009, 10:43 AM   #2
bernie_carlton
Lifetime Supporting Member + Moderator
United States

bernie_carlton is offline
 
bernie_carlton's Avatar
 
Join Date: Apr 2002
Location: Yakima, Washington
Posts: 6,253
In RSLogix, double click on the rung number for this rung. The line of mnemonics will pop up. Please cut and paste this line into a post so that we can look at the code.
__________________
Controlling outputs is the PLC's way of getting its inputs to change.

www.thePLCguy.com
  Reply With Quote
Old January 21st, 2009, 10:53 AM   #3
tacm
Member
United States

tacm is offline
 
tacm's Avatar
 
Join Date: Jan 2008
Location: usa
Posts: 105
Quote:
Originally Posted by tacm View Post
I am sorry, I cannot post the code I have written so far as I am not at the office.

Thanx
Thank you but I cannot right now, hovever this has been bothering me since yesterday afternoon.
__________________
"The sole end for which mankind are warranted, individually or collectively, in interfering with the liberty of action of any of their number, is self-protection. That the only purpose for which power can be rightfully exercised over any member of a civilized community, against his will, is to prevent harm to others. His own good, either physical or moral, is not a sufficient warrant." John Stuart Mill
  Reply With Quote
Old January 21st, 2009, 11:21 AM   #4
OkiePC
Lifetime Supporting Member
United States

OkiePC is online now
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 9,982
In my example, no matter how long B10/11 is true, B10/10 will only be energized for 2.5 seconds.



Hope this helps,
Paul
Attached Images
File Type: jpg TimerTiming.jpg (57.0 KB, 115 views)
__________________
It's not all the variables I am most concerned with, it's the undiscovered constants.
  Reply With Quote
Old January 21st, 2009, 11:43 AM   #5
tacm
Member
United States

tacm is offline
 
tacm's Avatar
 
Join Date: Jan 2008
Location: usa
Posts: 105
Quote:
Originally Posted by OkiePC View Post
In my example, no matter how long B10/11 is true, B10/10 will only be energized for 2.5 seconds.



Hope this helps,
Paul
Paul, you are not using a (res) you are relying on the true false rung transision of B10/11 to reset the TON?
__________________
"The sole end for which mankind are warranted, individually or collectively, in interfering with the liberty of action of any of their number, is self-protection. That the only purpose for which power can be rightfully exercised over any member of a civilized community, against his will, is to prevent harm to others. His own good, either physical or moral, is not a sufficient warrant." John Stuart Mill
  Reply With Quote
Old January 21st, 2009, 11:50 AM   #6
OkiePC
Lifetime Supporting Member
United States

OkiePC is online now
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 9,982
Quote:
Originally Posted by tacm View Post
Paul, you are not using a (res) you are relying on the true false rung transision of B10/11 to reset the TON?
Yes.

If you RESet the timer, and the timer rung is still true, then the TT bit will again go true for 2.5 seconds.
__________________
It's not all the variables I am most concerned with, it's the undiscovered constants.
  Reply With Quote
Old January 21st, 2009, 12:11 PM   #7
tacm
Member
United States

tacm is offline
 
tacm's Avatar
 
Join Date: Jan 2008
Location: usa
Posts: 105
rung 1 XIC I:0.0/1 XIO I:0.0/2 TON T4:1 1.0 1 0

rung 2 XIC T4:1/TT OTE O:0.0/0

If XIC I:0.0/1 stays true and XIO I:0.0/2 toggles the timer will reset. yes?
__________________
"The sole end for which mankind are warranted, individually or collectively, in interfering with the liberty of action of any of their number, is self-protection. That the only purpose for which power can be rightfully exercised over any member of a civilized community, against his will, is to prevent harm to others. His own good, either physical or moral, is not a sufficient warrant." John Stuart Mill
  Reply With Quote
Old January 21st, 2009, 12:13 PM   #8
tacm
Member
United States

tacm is offline
 
tacm's Avatar
 
Join Date: Jan 2008
Location: usa
Posts: 105
I feel like my avatar today.........my house was broken into last night, and I only got a 1/2 hour of sleep
__________________
"The sole end for which mankind are warranted, individually or collectively, in interfering with the liberty of action of any of their number, is self-protection. That the only purpose for which power can be rightfully exercised over any member of a civilized community, against his will, is to prevent harm to others. His own good, either physical or moral, is not a sufficient warrant." John Stuart Mill
  Reply With Quote
Old January 21st, 2009, 12:51 PM   #9
OZEE
Member
United States

OZEE is offline
 
Join Date: Mar 2006
Location: Kansas
Posts: 1,695
Quote:
Originally Posted by tacm View Post
rung 1 XIC I:0.0/1 XIO I:0.0/2 TON T4:1 1.0 1 0

rung 2 XIC T4:1/TT OTE O:0.0/0

If XIC I:0.0/1 stays true and XIO I:0.0/2 toggles the timer will reset. yes?

Yes -- if EITHER I:0/1 or I:0/2 toggles, the timer will reset.
  Reply With Quote
Old August 17th, 2016, 12:53 PM   #10
Flower8
Member
Andorra

Flower8 is offline
 
Join Date: Aug 2016
Location: New York
Posts: 1
xoxo

Hello! If you want an exceptional essay able to impress everyone, I believe you should visit this source where you can get any essay you'd like on any topic, follow http://bigpaperwriter.com/blog/john-...say-on-liberty
  Reply With Quote
Old August 17th, 2016, 04:01 PM   #11
James Mcquade
Member
United States

James Mcquade is offline
 
Join Date: Oct 2007
Location: Tennessee
Posts: 2,253
why not use 2 rungs.
rung 1 input turns on, then a one shot and then a tof timer set for your required time.
rung 2 timer dn bit turns on output

as long as the input stays on, the timer will only work once.

regards,
james
  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
Rockwell Allen Bradley Programming Software, RSLogix 5, RSLogix 500, RS Linx, RSLogix vvcd LIVE PLC Questions And Answers 21 September 24th, 2009 11:04 PM
Programming in RS Logix 500 AB2005 LIVE PLC Questions And Answers 9 September 25th, 2008 10:05 AM
linux and rs logix 500 mdavis33513 LIVE PLC Questions And Answers 5 September 22nd, 2008 02:11 AM
RS Logix 500 randy LIVE PLC Questions And Answers 14 January 23rd, 2003 08:12 PM
Please help RS logix 500 Activation Key Problem labingtone LIVE PLC Questions And Answers 9 November 26th, 2002 09:27 PM


All times are GMT -5. The time now is 11:09 PM.


.