Author Topic: AB PLC timer  (Read 2043 times)

paaaaal

  • Newbie
  • *
  • Posts: 4
    • View Profile
AB PLC timer
« 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

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: AB PLC timer
« Reply #1 on: July 29, 2021, 08:49:24 AM »
is the tag a program scope tag or a controller scope?
« Last Edit: July 29, 2021, 03:17:32 PM by Archie »

dmroeder

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: AB PLC timer
« Reply #2 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

paaaaal

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: AB PLC timer
« Reply #3 on: July 30, 2021, 07:28:36 AM »
Thanks all, I found the corret tag name: Program:UN01.Timer[19].ACC