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, 2004, 01:53 AM   #1
Rocky Cortis

Rocky Cortis is offline
Join Date: Nov 2002
Posts: 3
AB Micro High Speed Counter Trouble

Hi, I need help using an AB Micro 1000 and its high speed counter. Iím trying to use the up count feature to count pulses from a unidirectional conveyor. At specific times I must lower a circular saw to cut a notch at both ends of the board. Problem: I cant quite get the thing to work right. In order to get accuracy I have tried to initialize the counter at the start of the cut. Once this cut high preset is reached Iím assuming that the counter C5:0 calls a subroutine to file 4. I placed a regular counter in the file 4 sub and a C5:0/IH bit to see if the file is continually scanned as the counter reaches its preset. It seems to only scan the file about 3 times. Am I creating an overflow or some other fault that stops the file 4 sub from being scanned? Once there Iím trying to latch some work bits to be used in file 2 of the program and then clear the C5:0 accumulator before the file is no longer scanned. I raise the saw, start the counter again and continue to where I drop the saw again. I have tried to use some compares to tell me when its time to lower the saw or raise it and travel to spot 2 for the second cutting.Thatís the theory but I havenít got it to work yet. Do I have to call the file 4 (high speed counter interrupt subroutine? Does the C5:0 counter automatically cause an interrupt at file 4? Do I have to provide labels or a return to the regular program? Whatís the secret about using this counter. Oh yes I did adjust the input filters to 0.07. Thanks
  Reply With Quote
Old September 19th, 2004, 04:30 AM   #2
New Zealand

PhilipW is offline
PhilipW's Avatar
Join Date: Dec 2002
Location: Wellington, New Zealand. Islands on the edge of the world.
Posts: 923
The Micro 100 uses explicit ladder instructions to configure its High Speed Counter.

HSC configures the counter inputs.

HSL configures low and high presets and mask bit patterns.

RES writes a zero to the hardware and image accumulator.

RAC writes a specific value to the hardware and image accumulators.

HSE, HSD enable and disable the File 4 HSC subroutine when high/low preset or under/overflow is reached. The interupt routine is only called ONCE. It won't be scanned again until the next counter event triggers it.

If you require fast scan independent action use the above instructions to setup the counter, then on the counter event that triggers the action you want use a simple rung to latch on the required output in File 4. If necessary the output can be turned off in the main ladder file, or on the next call of the File 4.
  Reply With Quote
Old September 19th, 2004, 01:09 PM   #3
Rocky Cortis

Rocky Cortis is offline
Join Date: Nov 2002
Posts: 3
Micro Counter Trouble

I'm able to get the interrupt to happen once, i.e. the first time the counter reaches its high preset. I'm clearing the counter, loading a new high preset, but once this preset is hit, the counter just rolls over without causing another interrupt. I've tried using HSE instruction but it doesn't seem to work.
  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
mitsubishi high speed counter M Batty LIVE PLC Questions And Answers 4 April 21st, 2011 03:10 AM
High Speed Counter on FX0S sara LIVE PLC Questions And Answers 2 November 11th, 2004 09:15 AM
AB High Speed Counter Card Problems Lamplighter LIVE PLC Questions And Answers 4 July 19th, 2004 01:07 AM
Need help with AB 1746-HSCE2 High Speed Counter module. SilverLoop LIVE PLC Questions And Answers 4 December 23rd, 2003 08:37 AM
high speed counter confusion schick LIVE PLC Questions And Answers 6 July 24th, 2002 06:00 PM

All times are GMT -5. The time now is 04:56 AM.