{}

브랜드

Impact-Company-Logo-English Black-01-177x54

슈나이더 일렉트릭 코리아 웹사이트에 방문해 주셔서 감사합니다.

슈나이더 일렉트릭 코리아 웹사이트 방문자 분들 모두 환영합니다.

FAQ 검색

How do we display values in a Textbox or Rectangle in a WebVisualization in EcoStruxure Machine Expert?

Issue
In a WebVisualization interface, how do we configure a Texbox or Rectangle to display String or Numeric values?

Product Line
EcoStruxure Machine Expert
Modicon M241, M251, and M262 PLCs

Environment
PLC Logic Builder - WebVisualization in CoDeSys engine

Resolution
In order to display Strings or Numeric values in either a Rectangle or Text box in the Visualization,
you need to enter a Placeholder Wildcard in the "Texts-> Text" field:
"%s" for Strings
"%d" for Numeric Values

Then in the "Text variables->Text variable" property, choose a Symbol from your PLC project to display in the object.
See this example of a Text field object element:
image.png

More information can be seen in the CoDeSys documentation page:
CoDeSys Visualization (3.5.17.0) ->Reference, Programming -> Placeholders with Format Definition in the Output Text

image.png
image.png

슈나이더 일렉트릭 Korea

자세히 알아보기
제품군
Modicon M262Modicon M251Modicon M241EcoStruxure Machine Expert (SoMachine)
자세히 알아보기
제품군
Modicon M262Modicon M251Modicon M241EcoStruxure Machine Expert (SoMachine)