Preseting HSC 1769

manmeetvirdi

Member
Join Date
Oct 2004
Location
India.
Posts
750
Hi there
Well am using HSC 1769 counter and software is RSLogix5000 while PLC is L43.
My issue is that Iam unable to preset it to predefined values.
I have two events, one when limit switch is hit I want to preset it to 1000 counts and another one when PLC is switched ON the counter should be preset to value it had during last power OFF.

So am mainly transferring the values to Local:5:C.Ctr1Preset using MOVE command and then setting the bit Local:5:O.Ctr1SoftPreset for some time. But the counter is not getting preset to the desired value !!
Is this a right method? or there is some other method to do so.

Local:5:C.Ctr1Preset is a DINT and Iam moving DINT variable to this place. Also manual says that you can preset the counter even if counter is enabled.

Do shed some light over here !

Regards
Manmeet
 
How to Change the Counter Preset Value with a 1769-HSC via Ladder

Well here is the method to preset the counter to a given value at any given moment.
In my case there are two counters. Counter 0 and Counter 1, with counter card at 5th slot.

So to change the counts I have to send the required counts to
Local:5:O.Range12To15[0].HiLimOrDirWr and then set the bit Local:5:O.Range12To15[0].LoadDirectWrite bit for some time.
And the job is done.

Now if the same thing has to be done for the counter1, then again the required counts has to be moved to
Local:5:O.Range12To15[1].HiLimOrDirWr but now I need to set the following two bits for the some time.
Local:5:O.Range12To15[1].LoadDirectWrite and Local:5:O.Range12To15[1].ToThisCounter_0
**********

Also reason for setting the bit Local:5:O.Range12To15[1].ToThisCounter_0 in case of counter 1 is
apparent from attached figure.
**********

Since this is 4 channel counter card, had there been third counter then
Local:5:O.Range12To15[2].ToThisCounter_1 needs to be set.
**********

ToThisCounter_0 is Bit 00
ToThisCounter_1 is Bit 01

5C1.jpg
 

Similar Topics

Hey Everyone, After reading a lot on this forum and elsewhere I see not many are fond of the 1794-VHSC module. I can see to a degree as I was...
Replies
2
Views
32
Hi everyone, this is my first time trying to setup encoder counts and track the traveled distance and speed i am using L27ERM QBFC1B processor...
Replies
12
Views
328
Good day, I have a micro 850 with a 2080-MOT-HSC that is being fed by two flowmeters, Schneider Electric using IMT31's as converters. They are...
Replies
6
Views
419
I'm trying to set up a ring counter - one that transitions from 3599 to 0 (and 0 to 3599 in the reverse direction). My counter insists on...
Replies
2
Views
328
I have am trying to determine if I can use a 1756-IB16I (or some dc input equivalent) to handle a 24vdc input pulse frequency of 80 pulses per...
Replies
15
Views
884
Back
Top Bottom