Applies To: |
|
Summary: |
How can I get my trend tags to be polled
from the PLC only when the Trend Page is displayed
( Because the Trend Expression is read even if the Trend is "Gated", there seems to be no way to stop the trend from polling ) |
Solution: |
The solution to the problem is to Trend a
DiskPLC tag that you set to the Real PLC value on a periodic basis
(ie : every X seconds when the page is displayed update the Disk
PLC tag via an Event)
The use of a "Trigger" is also recommended as it will "Gate" (Hide) the values that would be trended even though the Real PLC is not being read from. The use of a Disk PLC rather than a Memory PLC means that the system will work across a Citect Network. You also only need to setup the "I/O Server" to Run Event "Trend" VARIABLE TAGS (Add 1 Disk tag per PLC Tag + 1 Disk tag per TrendPage) RealTag1 - Actual I/O Tag TrendTag1 - Disk PLC Tag (Real) TrendShow1 - Disk PLC Tag (Digital) TREND TAGS (Change Expression to the Disk tag & add the Trigger of the existing tags) Trend1 -
"Expression" : TrendTag1 TREND PAGE (Add the "Page Entry/Exit functions to the existing pages) TrendPage1 - "Page Entry" Function :
TrendShow1 = TRUE SYSTEM EVENT (Add one Event for each Trend Tag, but give them all the same Event Name) Trend -
"Trigger" : TrendShow1 |
Keywords: |
Related Links
Attachments