[?]: IO field reading problem (WinCC Flexible)

ProTool, WinCC flexible, WinCC, PP/OP/TP/TD/MP
vojvoda82
Posts: 9
Joined: Sat Nov 20, 2010 10:10 pm

[?]: IO field reading problem (WinCC Flexible)

Post by vojvoda82 »

Dear friends,

I have a problem with IO Field reading in WinCC Flexible 2005 Advanced!
This IO field is point to the internal tag current_float, which is REAL type.
This tag contain scaled value from external tag current_plc (his address is PIW268, type WORD).

Code: Select all

tag: current_plc > events > Change value > Linearscaling:
              y = current_float
              a = 0.01
              x = current_plc
IO Field mode is set to Output! Problem is when a runtime is started, IO field can't display scaled value from PLC address PIW268! It's display 0.00! I can't understand way?!!
It seems to me everything is fine! In PLC, value of PIW268 is changing! Why this change isn't displayed on my WinCC Flexible application in IO field?

Other tags I've created, slider control, switch on/off (for writing on PLC) works fine!
dsekulic
Posts: 186
Joined: Sun Feb 12, 2006 5:47 pm
Location: Europe

Re: IO field reading problem (WinCC Flexible)

Post by dsekulic »

Hi,
It could be Your format pattern. You have to know which value You expect. Try for example to put s9999.9. Or maybe dimension of IO field is not sufficient. In Properties->Layout of IO field put check on Auto-Sizing.
regards