BartPeters88
Member
I have an issue with a counter in the Tia portal software.
When I hover over the CV, it says you can insert Int, DInt, SInt UInt, USint, UDint.
I want to insert a Dint value because the number can be bigger than 32767.
But when I do this, it still stops at 32767.
How is this possible?
I got the following code
"V2_BatchProductCounter".CTU(CU:="IN_V2_SensorCountProducts",
R:="V2".B_ResetBatchProduction,
PV:=1,
CV=>"V2".DI_BatchProduction);
V2.DI_BatchProduction is a DInt.
So why does it stops at 32767?
When I hover over the CV, it says you can insert Int, DInt, SInt UInt, USint, UDint.
I want to insert a Dint value because the number can be bigger than 32767.
But when I do this, it still stops at 32767.
How is this possible?
I got the following code
"V2_BatchProductCounter".CTU(CU:="IN_V2_SensorCountProducts",
R:="V2".B_ResetBatchProduction,
PV:=1,
CV=>"V2".DI_BatchProduction);
V2.DI_BatchProduction is a DInt.
So why does it stops at 32767?