As nossas marcas

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

Bem-vindo ao website da Schneider Electric

Bem-vindo ao nosso site.
		
Como o podemos ajudar hoje?
Why does my WebVisualization for a Text Display not display values when I try to display Binary for a Byte variable using the %b notation??
Issue
Why does my WebVisualization for a Text Display not display values when I try to display Binary for a Byte variable using the %b notation?

Example:
When a Text Field is configured to display Binary of my BYTE variable "SR_Main.a"
in EcoStruxure Machine Expert with the Text = %b like the image below,
Text field %b - Binary value display for BYTE variable

When the project is run, the result is that a static "%b" is shown and not the binary representation of the Variable:
Text field shows static "%b" instead of a dynamic binary value


Product Line
EcoStruxure Machine Expert

Environment
Codesys Web Visualization engine for Modicon M241/M251/M262 PLCs

Cause
The use of %b requires a Visualization Task and the addition of a WebVisualization node under the Visualization Manager.

Resolution
Here are the steps to add a Visualization:

1) In the Applications Tree tab, Right-click on the Task Configuration node, hover your mouse over "Add Object >" and click on "Task..."
Add Object > Task...
2) In the Add Task dialog, rename the Task to "VISU_TASK"
Rename the task to VISU_TASK
3) Click the Add button. As a result, you should see the new VISU_TASK created under the Task Configuration node:
VISU_Task appears in the Application Tree under Task Configuration node

4) Navigate to the Tools Tree, and right-click on "Visualization Manager"
5) Hover your mouse over "Add Object >" and click on "WebVisu...". Use the default name "WebVisualization" and click Add.
Add WebVisualization object under Visualization Manager
As a result, you should see two new nodes appear.
a) Under the Task Configuration -> VISU_TASK, you should see a new "VisuElems.Visu_Prg" POU call automatically created.
b) Under the Visualization Manager node, you should see the new "WebVisualization" node.
Newly created VisuElems.Visu_Prg and WebVisualization nodes appear
6) Download and Run your project

The result will be that the Text object will now show the Binary representation of the BYTE variable:
Result - Dynamic binary value now appears instead of the static %b


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:
Support | Schneider Electric Global (se.com)

Schneider Electric Portugal

Explorar mais
Gama:
Explorar mais
Gama:

Precisa de ajuda?

  • Ferramenta de seleção de produtos

    Encontre rápida e facilmente os produtos e acessórios certos para as suas aplicações.

  • Obter um Orçamento

    Inicie o seu pedido de contacto online e um especialista irá contactá-lo.

  • Onde adquirir?

    Encontre facilmente o distribuidor mais próximo da Schneider Electric perto de si.

  • Centro de ajuda

    Encontre recursos de apoio para todas as suas necessidades, num único local.

  • Documentação dos Produtos
  • Transferências de Software
  • Ferramenta de Seleção de Produtos
  • Substituição e Troca do Produto
  • Centro de Ajuda e de Contacto
  • Encontre os nossos escritórios
  • Obter um orçamento
  • Onde adquirir
  • Comunidade Schneider Electric
  • Carreiras
  • Perfil da empresa
  • Comunicar uma má conduta
  • Acessibilidade
  • Newsroom
  • Investidores
  • EcoStruxure
  • Pesquisa de emprego
  • Blogue
  • Política de privacidade
  • Aviso sobre Cookies
  • Termos de utilização
  • Alterar suas configurações de cookie