Issue
In a WebVisualization interface, how do we configure a Textbox 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 a 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:
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
If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.
If you are not located in North America, please contact your local Customer Care Center for assistance:
Đã phát hành cho: Schneider Electric Việt Nam








Bạn cần trợ giúp?
Công cụ chọn sản phẩm
Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.
Nhận báo giá
Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.
Nơi mua hàng?
Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.
Trung tâm Hỗ trợ
Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.