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 - Interactive Q & A > - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Thread Tools Display Modes
Old September 19th, 2007, 08:28 AM   #1
United States

hawkeyen2001 is offline
Join Date: Sep 2007
Location: Asheville
Posts: 1
s7-200 High Speed Pulse Output / Counter

Experimenting with an s7-200 to use for a high speed application, I downloaded a tip from the S7-200 Documentation CD (Tip 04 - Using High Speed Counters). In this example, a high speed pulse output (20kHz) is tide back into a high speed input. Using interrupts, the program goes through a series of counts. The example was originally written for a 216, but changed it for a 224XP. It ran well. And I experimented with changing the pulse output, etc...

I ran into an interesting problem when I added a normal counter in OB1 tied to the same high speed input. With the pulse output set for milliseconds, I could vary the high speed pulse output to 1 ms (2 ms - 50% duty cycle pulse) without losing any counts. I thought I might lose some counts at this speed (the scan time for the PLC was between 1 - 2 ms), but didn't. Changing the pulse output to microseconds, and testing it at 1000 microseconds (1 ms), I started losing counts, which was puzzling since I expected the output to be the same.

Does anybody know why this would be? I haven't put the output to an oscilliscope, but theoritically, the pulse should be the same length, and shape whether my setting is 1 ms or 1000 microseconds. I also experimented with the input settings, and latched the input for each scan and still had the same results. Out of 30,000 counts, lost between 100 and 200 counts each time.

Last edited by hawkeyen2001; September 19th, 2007 at 08:34 AM.
  Reply With Quote
Jump to Live PLC Question and Answer Forum


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
Shaft speed counting with Micrologix 1100 high speed counter. tribologist LIVE PLC Questions And Answers 5 October 23rd, 2006 03:12 PM
GE Fanuc High Speed Counter and Hercules Encoder RolandoM LIVE PLC Questions And Answers 3 April 26th, 2006 08:43 PM
High Speed Counter Example For ML1100 sprintboy LIVE PLC Questions And Answers 6 December 8th, 2005 04:23 PM
S7 200 PLC, sensor output... NewPLCuser LIVE PLC Questions And Answers 3 February 14th, 2005 12:01 PM
high speed counter confusion schick LIVE PLC Questions And Answers 6 July 24th, 2002 07:00 PM

All times are GMT -5. The time now is 05:33 AM.