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 May 2nd, 2003, 10:56 AM   #1
csides
Member
United States

csides is offline
 
Join Date: May 2003
Posts: 2
programming help needed

I am writing my very first ladder program and learning as I go. I am using a Keyence KV-16AR. I need a way to begin a timer when a certain relay turns on and stop the timer when the relay turns off. The elapsed time needs to be stored in memory and the timer then reset. Any help would be appreciated.
  Reply With Quote
Old May 2nd, 2003, 12:24 PM   #2
TimothyMoulder
Member
United States

TimothyMoulder is offline
 
TimothyMoulder's Avatar
 
Join Date: Apr 2002
Location: Just a bit northeast of nowhere
Posts: 1,110
Actually, you've described the rung pretty well.

Open your software and do a search on Timers. Then look for a memory storage command, like Move, Store, Copy, etc.

Thos tid-bits should give you some direction.

TM

EDIT : One more hint - Retentive
__________________
"Making no mistakes is what establishes the certainty of victory, for it means conquering an enemy that is already defeated." -- Sun Tzu
  Reply With Quote
Old May 2nd, 2003, 01:12 PM   #3
sparky64
Member
England

sparky64 is offline
 
Join Date: May 2003
Location: Newcastle upon Tyne
Posts: 127
This might help



CR Input
------| |-----------------------(RTO)



CR Input
------|/|----(OSR)--------------(MOV) timer acc to storage file
|
|
|________(RES) timer acc




Cheers
Sparky

Last edited by sparky64; May 2nd, 2003 at 01:17 PM.
  Reply With Quote
Old May 2nd, 2003, 01:18 PM   #4
sparky64
Member
England

sparky64 is offline
 
Join Date: May 2003
Location: Newcastle upon Tyne
Posts: 127
The RES instruction is branched around the MOV instruction.


Cheers
Sparky
  Reply With Quote
Old May 2nd, 2003, 01:32 PM   #5
rsdoran
Lifetime Supporting Member
United States

rsdoran is offline
 
rsdoran's Avatar
 
Join Date: Apr 2002
Location: Birmingham, AL
Posts: 7,372
Like this?

Code:
CR Input 
------| |-----------------------(RTO)



CR Input
------|/|----(OSR)--------------(MOV) timer acc to storage file
                        |
                        |
                        |_______(RES) timer acc
__________________
http://www.patchn.com Industrial Electrical & Maintenance @ www.patchn.com "Tell me and I forget, show me and I remember, involve me and I understand."
  Reply With Quote
Old May 2nd, 2003, 03:40 PM   #6
sparky64
Member
England

sparky64 is offline
 
Join Date: May 2003
Location: Newcastle upon Tyne
Posts: 127
Exactly like that.......and thanks for the info regarding the Modbus question.


Cheers
Sparky
  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
FB programming simulator 100 MOhm LIVE PLC Questions And Answers 3 December 1st, 2004 06:45 AM
SIEMENS S5 - Programming port damaged !! ayman metwally LIVE PLC Questions And Answers 2 August 19th, 2004 12:08 PM
Automation Direct DL05 problem david bron LIVE PLC Questions And Answers 16 February 2nd, 2004 09:52 PM
Siemens Programming The_Wanderer LIVE PLC Questions And Answers 18 July 10th, 2003 07:49 AM
Programming Methods randy LIVE PLC Questions And Answers 2 February 4th, 2003 06:39 PM


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


.