S7 1200 HSC Store Value

Join Date
Nov 2011
Location
Ireland
Posts
182
Hello,

dose anyone know how I could store a value from a HSC for a short period of time e.g 60sec and then use this value for a calculation

Also could someone explain to me what exactly an interrupt is on a HSC?

thanks
 
Hello,

dose anyone know how I could store a value from a HSC for a short period of time e.g 60sec and then use this value for a calculation

Also could someone explain to me what exactly an interrupt is on a HSC?

thanks

The HSC is counting continiusly?

Use a timer to generate a pulse every 60sec.
If pulse, move the HSC IW/ID to a MW/MD or evt. a DBx.DWy/DDy.


Not knowing the 1200, I recon the interrupt from the HSC triggers an OB. In this OB you could read the HSC contents and do an action with the least possible time delay.

Kalle
 
Last edited:
I have the general idea of what i require to do but am having trouble implimenting it.

I will require the HSC to reset to zero and have the value sent to a memory location. this will have to repeat continuously.

I am not sure about the "interrupt" what exactly it means. dose it just reset the counter to zero?

I think i will need the HSC Ctrl block but am not sure exactly
 

Similar Topics

Hello, I use S7_1200. I Will measure frequency 5-100Hz. Any disadvantages or problems to consider if I use a Hardware HSC set to frequency and 1s?
Replies
5
Views
1,799
Hello all, I have a strange problem with a high speed counter with a s7-1200. I have set up the hack input - it is a 2 channel a/b type which...
Replies
2
Views
2,312
Hi I am designing a small system at work which will deposit liquid through a valve at a specific position. I have purchased a s7-1200 and will be...
Replies
9
Views
1,903
I am working with a 1214 siemens plc and I have connected the pulse output of a flowmeter into the digital input of the cpu with the HSC enabled...
Replies
2
Views
4,133
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,154
Back
Top Bottom