question

Sebastian Hemmann avatar image
0 Likes"
Sebastian Hemmann asked Phil BoBo commented

Reasons for no Connection to the OPC servers?

Hey, attached

you see a screenshot in which the System console Shows an

exception: getAvailableServers() error. Could not browse OPC Servers. Service may not be installed or could not connect to remote ip.

As you can see, it´s a test with an Express Version of FlexSim. The Client tryed this out some weeks ago on one machine and everything worked fine. Now it seems to be the only Computer in the company this works on.

So what could we have done wrong? What could be a reasons for this "Exception"?

What could be settings that we´ve set right on the working Computer?

FlexSim 18.1.1
emulationconnectionopc
opc-error.png (112.7 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Matt Long avatar image
3 Likes"
Matt Long answered Phil BoBo commented

Did you install 64-bit FlexSim? We've found an issue with trying to browse for available servers (at least locally) when using 64-bit FlexSim. It only seems to be an issue with browsing, not connecting to servers or browsing their tags. We're currently working with Softing OPC who developed the OPC toolkit that FlexSim uses to try and solve this issue. For now, the solution is either to use 32-bit FlexSim (uninstall and reinstall FlexSim), or to get the path/name of the OPC server from a 32-bit FlexSim and copy it into the Server field in the 64-bit version.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matt Long avatar image Matt Long commented ·

We've just discovered what the issue is and have pushed a fix to the latest bug fix of the 2018 Update 1 release. Not sure when that will be released..

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Matt Long commented ·

The issue is with some dependencies that are installed with OPC.

The next bugfix release (18.1.2) should install those dependencies correctly.

In the meantime, you should be able to fix it right now with 18.1.1 if you follow these steps to fix it:

  1. Download both OPC_Core_Components_Redistributable_x86.msi and OPC_Core_Components_Redistributable_x64.msi from https://cloud.flexsim.com/index.php/s/UGDCrYLSohWRNu3
  2. Uninstall any versions of FlexSim 18.1 that are installed.
  3. Install OPC_Core_Components_Redistributable_x86.msi first.
  4. Then install OPC_Core_Components_Redistributable_x64.msi.
  5. Finally, reinstall FlexSim 18.1.1.

That should fix this error. Let us know whether or not you are still having troubles with it.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.