2080-MOT-HSC HSCE ring counter

technolog

Lifetime Supporting Member
Join Date
May 2015
Location
Ohio
Posts
320
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 continuing to count up beyond 3599 instead of rolling over. It's working perfectly as a linear counter, counting up and down depending on direction. I've attached various screenshots showing the config and variable values. Can anyone spot what I'm doing wrong?

I know it's showing an error at the moment - it's the result of my latest attempt to alter the HSCE_CFG variables to get it working.

The module is in slot 2 of a 2080-LC50-48QWB.

Config3.png HSCE_CFG.png HSCE.png HSCE_CFG var.png HSCE var.png
 
Yeah, good luck. The Micro800 line is a hot mess, primarily because the documentation is even worse.

I think I did get ring counting to work once, but I was only counting up.

In your case, the first thing I would do is leave the quadrature can o' worms for later, and instead focus on getting ring counting working on minimal count-up-only and count-down-only applications.
 
I seem to have got it working. I think my main problems were that the HSCE_CFG.InitAccumulator setting cannot be the same as HSCE_CFG.OFSetting or HSCE_CFG.UFSetting and it needs to be inbetween them and also inbetween the HSCE_CFG.HPSetting and HSCE_CFG.LPSetting.

To be able to reset the accumulator to 0, I had to change the .OFSetting to 1800 and the .UFSetting to -1799. I'm not using the counter output but I set the .HPSetting & .LPSetting to nominal positive and negative values respectively.

Actually, having the counter rollover from 1800 (180.0 deg) to -1799 (-179.9 deg) (forward direction) and from -1799 to 1800 (reverse direction) is probably a more elegant solution for my application. So thanks to Rockwell for the terrible information :)
 

Similar Topics

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
459
Hello everyone. I'm having some error on the pulses read by the HSC card. I'm using the 2080_MOT-HSC as a pulse counter; in the CCW in using...
Replies
1
Views
629
Hello, So I have a Micro850 PLC with a 2080-MOT-HSC Plug-In module, and i'll be using this for an encoder. I think it was version 11 in CCW...
Replies
2
Views
1,990
MICRO 820 PLC - 2080 MOT HSC - Jencoder J-15S-SL Above plc, add on module and encoder are using to configure one paper cutting machine...The...
Replies
4
Views
3,861
I was looking at the HSC function block in connected components and was stumped by the documentation on how to address the input for the HscID in...
Replies
3
Views
3,915
Back
Top Bottom