(0)| 5/11/2017 2:25 PM | |
|
Posts: 236 Rating:
|
Hello guys, I have the following: I have input field and for input value property I use script which divide value and get float (see attach), for the output field value I just a tag. The problem is that the script is working in a one time. After having put a value for example "111,111" I see at first "111" and if I put the second time "111,111" I can see the real calculated value "111,111"... What can be a problem of working script in one time ? Thank you in advance. AttachmentI_field_11.05.17_15-26-45.zip (175 Downloads) |
Last edited by: KCD at: 5/11/2017 2:27:08 PM |
|
| 5/11/2017 11:46 PM | |
|
Joined: 9/19/2009 Last visit: 5/10/2025 Posts: 460 Rating:
|
Hi KCD Sorry for the question, but what it is the objective? If you don´t show decimal values ( 0,000 ) you can change output format to 999. You are using the same tag for your script and for show your value, it is right? |
|
If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
| 5/12/2017 7:43 AM | |
|
Posts: 236 Rating:
|
HiJM76 The objective is using 1 tag unsigned int 32 bit , to show input value as float, with the point, but output value must be integer without point, for example, I type in "125,575", and then I can see it in the field in the same form "125,575" (appearance), but I want that output value to the tag would be "125575". |
| 5/15/2017 2:44 PM | |
|
Joined: 9/19/2009 Last visit: 5/10/2025 Posts: 460 Rating:
|
HI KCD You can use this Insert I/O field ->Properties:
You will see 222.345 and your tag have 222345 or you can use internal tag and the same procedure if you want see always your value. |
|
If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
This contribution was helpful to
|
|
| 4/12/2021 6:17 AM | |
|
Joined: 12/11/2019 Last visit: 8/22/2022 Posts: 10 Rating:
|
can you share the screenshoots of this how to configure in WinCC v7.4 RC |
| 4/12/2021 8:19 AM | |
|
Posts: 7298 Rating:
|
Hello ajeesashi95, there is no need for such calculations. see manual https://support.industry.siemens.com/cs/ww/en/view/109772961/112770111755 Regards Georg Berghof |
Follow us on