Why are buttons gray in Mappview

Hello everyone, I’m an engineer from China. This is my first time using BR for a project. After binding the OPCUA variables with the button controls in the Mappview interface, all the buttons are gray and unoperable. I haven’t set the permissions. How can this be solved? Thank you!

Hello and welcome to the Community,

Can you share a screenshot of the Visualizat.vis file? Have you typed in your bindings into this file?

感谢Thank you for Pavel Vavra’s reply. My configuration is shown in the screenshot.

Hello

Grey buttons means they are disabled (1 and 2 seems not the case based on screenshots).

  1. You can disable them in the properties
  2. You use bindable property “enable” to dynamically during runtime enable / disable them
  3. You have a binding to a not reachable e.g. OPC UA variable, were you have e.g. not rights to access => check logger

Lg Michael

Michael Pfister: Michael, thank you for your reply. I don’t quite understand what you said. Could you elaborate on it? This issue has been bothering me for a long time.

Checking the logger is a good idea, especially the Visualization one.

Logger → visualization and Connectivity is important. I think either OPCUA communication is not established or user who is logged in has not proper rights.

Thank you for Jaroslav Kovar’s reply. I reviewed the record sheet and found three ERRORS, but I couldn’t figure out the solutions.

I use UAExpert to connect to the OPC UA variables, and it can function properly for reading and writing the variables.

Hello

Can you show the OPC UA Server configuration in the mapp View folder / Configuration view?
According to the logger you cannot access the OPC UA Server from mapp View.

Lg Michael

Hello

Can you please remove the hostname “CP1586” in the OPC UA server configuration and test again?

According to help:
OPC UA server configuration
“If a hostname is specified, it will take priority over the IP address.”

As you are connecting to local OPC UA Server (mapp View + OPC UA Server running on same PLC) this is not necessary.

If you want to connect to any other OPC UA Server via hostname, you would need to ensure that this hostname can be resolved (DNS server).

Lg Michael

Michael, thank you for your help. The problem was indeed in the OPCUA Server configuration name. After I deleted the name, the button displayed normally. Thank you very much for your and your friends’ help!

In a discussion titled “Why are buttons gray in Mappview,” user JUN ZHANG, a new BR Automation user from China, reported that buttons in MappView appeared gray and unresponsive after binding OPC UA variables. He had not set permissions and sought help. Pavel Vavra suggested checking the Visualizat.vis file and bindings. Michael Pfister explained that gray buttons typically indicate they are disabled — either via properties, dynamic binding to an “enable” property, or due to unreachable OPC UA variables (e.g., access rights or connectivity issues). JUN ZHANG requested clarification. Pavel Vavra and Jaroslav Kovar advised checking the Visualization and Connectivity logs, suspecting OPC UA communication or permission issues. Although JUN ZHANG confirmed OPC UA variables worked in UAExpert, logs showed errors. Michael Pfister asked to review the OPC UA Server configuration in MappView. JUN ZHANG shared screenshots. Michael Pfister identified the issue: the hostname “CP1586” was unnecessarily specified in the OPC UA server config, which overrode the IP and caused resolution failure. Removing the hostname resolved the problem. JUN ZHANG confirmed the fix and thanked the community. The root cause was improper OPC UA server configuration in MappView, not permissions or variable binding.

1 Like

Thank you for your summary and @Michael for the good tip. For others, do not underestimate logger; it can help a lot :slight_smile: