(Siemens) Reset specific HSC within FC

quadPLC

Member
Join Date
Feb 2010
Location
Milwuakee
Posts
51
Hi guys,

Kinda stumped on this one: I have a FC that does a bunch of generic manipulation of input and output. I can pass in the data from 3 different sources. however, each source also has a high-speed counter associated with it that, in certain situations, I would like to reset.

I'd like to use the CTRL_HSC block within this FC to clear out the counter but I don't know how to pass in a reference to the particular data block. Is this even possible?

As an alternative, I was thinking of putting the CTRL_HSC in series with my FC and using the output of the FC to control whether it should be reset or not,but it would be much cleaner to have it all within the FC.

Thanks a million, guys.



Note: Using TIA 11 SP2 for this development. Hardware is an S7-1214C
 

Similar Topics

Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
351
Hello great friends. Please help me....what is the easiest way I can RESET a Siemens TP700 COMFORT HMI Touch panel, to its Default...
Replies
1
Views
1,272
This code is working as expected, but it looks a bit clumsy w.r.t. setting of "Laser1 PASS". Is there a neater way (different instruction) I...
Replies
28
Views
2,815
Hi there I'm guessing this is a straightforward one but after much experimenting I've been unable to find an answer. The software is TIA V16...
Replies
5
Views
2,368
Hey everyone, Recently installed a Siemens BW500 belt scale on a conveyor, and everything is nearly wrapped up except that we can't seem to get...
Replies
4
Views
2,564
Back
Top Bottom