AdvancedHMI Software

General Category => Open Discussion => Topic started by: paaaaal on July 29, 2021, 06:24:35 AM

Title: AB PLC timer
Post by: paaaaal on July 29, 2021, 06:24:35 AM
Helo Guys!

How can I add to Advanced HMI controls Analog value an timer.acc value I tried to Program:Timer[19].ACC but I got the same error: Path Segment Error (Invalid Tag Name)

Thanks in Advance
Title: Re: AB PLC timer
Post by: Archie on July 29, 2021, 08:49:24 AM
is the tag a program scope tag or a controller scope?
Title: Re: AB PLC timer
Post by: dmroeder on July 29, 2021, 02:46:15 PM
What Archie is getting at is your syntax is wrong.

If you timer is declared in the controller scope, your syntax would be: Timer[19].ACC
If declared in program scope, you have to include the name of your program in the syntax: Program:<ProgramName>.Timer[19].ACC

So if it were in a program called "Filler":  Program:Filler.Timer[19].ACC
Title: Re: AB PLC timer
Post by: paaaaal on July 30, 2021, 07:28:36 AM
Thanks all, I found the corret tag name: Program:UN01.Timer[19].ACC