WinCC shifting decimal point

Jeebs

Member
Join Date
Feb 2007
Location
Leuven
Posts
1,059
Hi,

Been trying to do this for half a day now and can't get my head around it.
I'm using WinCC (the big one) to read out some data from an OPC server.
Data on this server is 3rd party and cannot be changed.
Data on this server is configured as 32 bit integers.
However, some of those need to be represented as reals.
For example: 9225 should be represented as 92,25.

In WinCC Flex it would be simple. Just shift the decimal place on the output field and done. In WinCC it ain't that simple it seems.

Anyone know how to accomplish this with no scripting? Ain't a PLC connected to it so can't be done in the PLC either.

Brain just doesn't wanna work on mondays it seems....

Thnx

Jeebs
 
Hi
Dont know about WinCC but in other scada type packages for numeric displays I have had to use 'YOURPOINT / 100.00'
to achieve this, and display as a real.

Maybe a WinCC person will be along soon.
 
Yes, that's a classic one in WinCC...

The best way I know is a dynamic dialog on the input/output, tag/100.0 and Direct data type..

That should do it..
 
Last edited:
I was so close, yet so far......

I tried tag/100,0 but it needed to be tag/100.0

Some software needs , others need .
Heck even in WinCC itself it uses both. On output format it shows 999,99. While the formula requires 100.00

So confusing. But glad it's working now.

Thanks.
 
Last edited:

Similar Topics

Dear Respected Engineers: I have a power consumption trend in wincc The x axis is one day the value axis is the old hour SO if now is 2p.m. the...
Replies
0
Views
1,630
is there any free trial version available for step7 professional and wincc comfort v17. i searched and downloaded TRIAL Download STEP 7...
Replies
1
Views
61
Hello. I have a db which is 1000 INT, and this db is represented in WinCC as a raw data type set of 5x 400 Bytes. This set is read with a script...
Replies
1
Views
80
Hello Experts I am working on a project with WinCC Unified v16 PC system and want to create an option on the screen to export logs to the...
Replies
0
Views
70
Does anyone happen to know how to install the graphic picture in HMI when I go into blower selection there are no graphics shown not only blower...
Replies
1
Views
100
Back
Top Bottom