Internet PLC Forum

General => Technical support => Topic started by: Aki Sigurdsson on July 20, 2007, 08:24:09 AM

Title: how to read Counter value in dcusF
Post by: Aki Sigurdsson 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
Title: Re:how to read Counter value in dcusF
Post by: richard2511 on July 20, 2007, 01:39:55 PM
you are reading set value  ::) Use ctrPV[]

Title: Re:how to read Counter value in dcusF
Post by: support on July 21, 2007, 12:37:54 AM
That's right. To read counter present value:

   DM[1] = CTRPV[1]