question

Ryosuke S avatar image
0 Likes"
Ryosuke S asked Ryosuke S commented

Can Read but not Write in Emulation OPC UA Connection

One of our customer is evaluating Emulation in 2023 with OPC UA connection.

There is a problem. Value can be sent (written) from FlexSim to OPC UA, but cannot read from OPC UA. In other word, OPC UA Sensor variable works, but OPC UA Control variable does not work. What could be the problem?

I sent the customer both OPC UA server project file and FlexSim file which works on my PC, but still same situation persists. There is no error message from FlexSim. I'm quite puzzled.

Customer and I are using Takebishi OPC. Flexsim and OPC UA Server is installed on same PC. I'm attaching the files which is working on my PC.

EmulationTest_2023.fsm

TestPrj.zip

The difference between customer test environment and my pc is:

Windows OS: customer --> win10 pro, mine --> win11 pro

Takebishi OPC version: customer --> 7.2, mine --> 6.8

I consulted Takebishi, and mentioned that there shouldn't be any functional difference between the two version.

FlexSim 23.0.9
emulationopc ua
testprj.zip (1.2 KiB)
· 4
5 |100000

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

Kavika F avatar image Kavika F ♦ commented ·

Hi @Ryosuke S,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Ryosuke S avatar image Ryosuke S Kavika F ♦ commented ·
@Kavika F We haven't heard from our customer that the problem have been solved. Please keep opened. Thank you.
1 Like 1 ·
Jeanette F avatar image Jeanette F ♦♦ Ryosuke S commented ·
Hello @Ryosuke S,

Have you heard back from your customer?

0 Likes 0 ·
Show more comments

1 Answer

·
Luciano Cavallero avatar image
1 Like"
Luciano Cavallero answered Ryosuke S commented

@Ryosuke S , I tried you configuration on my side with Win 11pro + Takebishi OPC 7.

How you can see in the video below when I (manually) set to False the 'Control' tag this trigger the process flow and this stop the conveyor.

flexsim2023-DeviceXPlorer OPC UA.mp4

Are you able to perfrom these steps on your sistem?




· 3
5 |100000

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

Ryosuke S avatar image Ryosuke S commented ·
@Luciano Cavallero Thank you for testing with Takebishi OPC 7. Yes, I have been able to perform the same with my system.


However, on the customer side, the control signal is not been sent to FlexSim. So, the conveyor doesn't stop. Sensor is OK. If sensor detects flowitem, you can see "ON" on Takebishi OPC 7. I am puzzled. What can be the possbible issue? Firewall?
0 Likes 0 ·
Luciano Cavallero avatar image Luciano Cavallero Ryosuke S commented ·

Firewall? I would say no because otherwise also the "Sensor" it should't work.
At this point I suppose that is the protocol configuration between Takebishi OPC 7 and the Mitsubishi PLC ( if I correctly understand from the project you sent )

0 Likes 0 ·
Ryosuke S avatar image Ryosuke S Luciano Cavallero commented ·
@Luciano Cavallero Thank you for your reply. I see. Mitsubishi PLC is not connected at this time. Takebishi OPC7 is working on simulation mode (PLC not needed).
0 Likes 0 ·

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.