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,627
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
61
Hi folks, I'm not as accustom with Siemens & WinCC, however I've been asked to increase the amount of data an existing application is logging...
Replies
2
Views
61
I have created a project in TIA Portal v16 Upd6 with S7-1200 (6ES7214-1AG40-0XB0) and WinCC Unified (PC station). The communication between the...
Replies
4
Views
142
I am creating a project with WinCC Unified v16 Upd6 (PC runtime) with an S7-1200. The communication is good between the PC and the PLC as I can...
Replies
6
Views
189
Back
Top Bottom