micrologix 1200 HSC question

randyfish

Member
Join Date
Mar 2007
Location
St. Joseph MI
Posts
3
This seems like an easy one but I haven't found the answer yet.

I have a micrologix 1200 and a program which uses a STI and IOM to control some outputs based on the value of the HSC.ACC. My question is wether the value contained in the accumulator is updated and available during the scan, or is it only updated once per scan? I would think it would update continuously, but I don't see this stated anywhere. I have seen some mention of a UA (update accumulator) bit for ML1000, but nothing like this in the ML1200 documentation.

Can anybody enlighten me on this?

Thanks
 
Value in the accumulator is ALWAYS updated continuously, whether counting is enabled or not.
I will find this out in the manual and post it.....
I was wondering the same thing for an app I was working on and it states it in the PV1100 manual programming reference I believe....
 
Maybe I'm splitting hairs here. I know the accumulator updates continuously, but is the value in the accumulator always up to date as the program scans. Put another way, assumuing I am counting up and we look at any given single scan, will the value of HSC.ACC be higher on the last rung of logic than it was on the first rung?

My guess is the answer is yes?
 
I will take a stab at this,.
The HSC routine is working OUTSIDE of the ladder softwware, thus the ACC value is NOT AFFECTED by Scan Time.
If the unit that is providing pulses to the counter (Input 0)on ML1200, than the accumulator is updated continuously. If the example (encoder) is stopped, then the accumulator is stopped.
The only difference is HOW you use your accumulated values to complete a task in your user defined subroutines. This is where the scan time will play a factor.
If this is what you are worried about, use the HSC PLS routines. They are completely set aside from your ladder logic, and will occur as fast as needed in your application.....
 
All right, thanks for the information. I have been reading up on the PLS function and it sounds interesting. I think I will give it a shot.

Thanks again
 

Similar Topics

I am doing a PF correction and am using a micrologix 1200. I am trying to find the difference between 2 counts from my high speed counter. Is...
Replies
0
Views
1,155
Question about HSC in Micrologix 1200. I am trying to program a HSC in a Micrologix 1200. I can set it up in the function file and see the...
Replies
3
Views
3,474
I am faced with a situation that will require using the HSC instruction with a PID instruction both of which I have never used. The HSC will read...
Replies
1
Views
3,704
Anyone have experience with the Micrologix 1200 HSC and linear encoders? I have 2 questions... 1. I have output signals A, B, Z... coming off...
Replies
1
Views
4,433
Hello All, I'm having my first experience with the ML line and their HSC function. It took a bit of head banging but I finally figured out how to...
Replies
1
Views
3,546
Back
Top Bottom