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 5th, 2018, 05:36 PM   #31
ndzied1
Lifetime Supporting Member
United States

ndzied1 is offline
 
ndzied1's Avatar
 
Join Date: Aug 2002
Location: Chicago, Illinois
Posts: 2,381
What looks a little strange is that the IN to the timer is true and the it looks like Q is true as well but the elapsed time is 0. Could you be using the Tag
Timer
somewhere else in your program?

Or, what are you using to turn on S2? did you load my simulation program? Are you forcing values? Could S2 be chattering on and off very fast?
__________________
nOrM
======================
nOrM=Norman Dziedzic Jr.
"I decry the current tendency to seek patents on algorithms. There are better ways to earn a living than to prevent other people from making use of one's contributions to computer science." Donald Knuth
  Reply With Quote
Old December 6th, 2018, 10:31 AM   #32
Mara
Member
Finland

Mara is offline
 
Join Date: Jan 2017
Location: Finland
Posts: 58
I would use TON timer on this and RS1 output Q1 as input on it. Also i recommend to detect only rising edge of start command S2. This is just one possible way to do it:


  Reply With Quote
Old December 6th, 2018, 03:04 PM   #33
ndzied1
Lifetime Supporting Member
United States

ndzied1 is offline
 
ndzied1's Avatar
 
Join Date: Aug 2002
Location: Chicago, Illinois
Posts: 2,381
That's pretty much what my code looks like.
__________________
nOrM
======================
nOrM=Norman Dziedzic Jr.
"I decry the current tendency to seek patents on algorithms. There are better ways to earn a living than to prevent other people from making use of one's contributions to computer science." Donald Knuth
  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
PLC and HMI Programming using PackML and PackTags allenreyes LIVE PLC Questions And Answers 1 August 31st, 2016 06:53 AM
Programming Omron PLC, some basic help is needed arbj LIVE PLC Questions And Answers 3 June 14th, 2015 03:00 PM
Remote programming of a Click PLC bluffit LIVE PLC Questions And Answers 0 October 29th, 2014 07:25 PM
MPI comunication Manuel Raposo LIVE PLC Questions And Answers 22 July 16th, 2007 07:24 AM
PLC programming software workarounds jdbrandt LIVE PLC Questions And Answers 17 April 12th, 2003 10:51 AM


All times are GMT -5. The time now is 01:02 PM.


.