Author Topic: how to read Counter value in dcusF  (Read 12307 times)

Aki Sigurdsson

  • Newbie
  • Posts: 4
  • I'm a llama!
    • View Profile
how to read Counter value in dcusF
« on: July 20, 2007, 08:24:09 AM »
I need to read value of counter and put it in to DM[1]

I have try to use DM[1]= getctrsv(1)

The I read the setpoint value.

But I need to read the value when the counter are working.

Regards Aki

richard2511

  • Newbie
  • Posts: 7
  • Good things come in small packages !
    • View Profile
    • Ricardo Schelp & Asociados
Re:how to read Counter value in dcusF
« Reply #1 on: July 20, 2007, 01:39:55 PM »
you are reading set value  ::) Use ctrPV[]


support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:how to read Counter value in dcusF
« Reply #2 on: July 21, 2007, 12:37:54 AM »
That's right. To read counter present value:

   DM[1] = CTRPV[1]

Email: support@triplc.com
Tel: 1-877-TRI-PLCS